摘要 |
The present disclosure is directed to a system and method for embedding macros in Web pages with advertisements. In some implementations, a method includes receiving a snippet 110 embedded in a remote Web page 108. Rules for embedding one or more macros in the snippet 110 are identified. The one or more macros are associated with archiving user actions associated with an advertisement presented in the Web page 108. A format of the snippet 110 is determined from a plurality of identifiable formats based, at least in part, on the rules. The one or more macros are automatically embedded in the snippet 110 in accordance with rules associated with the snippet format. |