Skip to main content

Supported Macros

Contimo supports the use of macros in the following places:

  • Landing page URLs
  • Read pixels
  • Impression pixels

Macros allow you to dynamically insert values into URLs or pixel tags. The following macros are available:

MacroDescription
[[site.id]]The unique ID of the site where the activity occurred.
[[site.name]]The name of the site where the activity occurred.
[[contimoClickId]]The unique click identifier generated by Contimo for each click. See conversion tracking for details.
${GDPR}Returns 1 if GDPR applies (based on CMP configuration), otherwise 0.
${GDPR_CONSENT_XXX}The TCF consent string for a specific vendor or purpose. Replace XXX with the relevant TCF vendor or purpose ID.
${RANDOM}Random-number acts as a cache-buster
[timestamp]Client unixtimestamp in milliseconds of impression

Example usage in a URL:

Landing page with UTM tags:

https://example.com/?utm_source=contimo&utm_medium=[[site.name]]

Google Campaign Manager Impression Tag (image):

https://ad.doubleclick.net/ddm/trackimp/N000000.1111111XXXX/BXXXX.333333;dc_trk_aid=00000;dc_trk_cid=111111;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755};ltd=;dc_tdv=1?