Search Images Maps Play YouTube News Gmail Drive More »
Sign in

Help home

Click macro

A click macro is a code string that DFP Small Business offers to help you track clicks on your custom and third-party ads.

You must add a click macro to your third-party creative code in order for them to track clicks.

You can use click macros in any of the following ways:

  • For HTML creatives, insert the macro before the clickthrough URL of the creative, and at the beginning of all action and HREF attributes.

  • For rich media creatives, most creative vendors will offer a placeholder in their tag to insert click macros. For more information about placing click macros properly in your third-party ads, please contact the vendor that created your ads.

See the custom creative macro troubleshooting article for more information.