Available macros for tracking URLs
You can include any of the following macros in your third-party creatives, in third-party tracking URLs for your experiences, and in landing page URLs for your own use.
Some of the available macros, or their equivalents, are automatically included in experience tags.
Macro
Description
Automatically in experience tags for Advertising DSP?
${TM_CAMPAIGN_ID_NUM}
Tracks and reports the campaign ID from the DSP
Yes
${TM_SITE_ID_NUM}
Tracks and reports the site ID from the DSP
Yes
${TM_PLACEMENT_ID_NUM}
Tracks and reports the placement ID from the DSP
Yes
${TM_AD_ID_NUM}
Tracks and reports the ad ID from the DSP
Yes
${TM_CREATIVE_ID_NUM}
Tracks and reports the creative ID from the DSP
N/A
${TM_SESSION_ID}
Tracks and reports the impression ID from the DSP. If a value isn’t returned, Advertising Creative generates one.
Yes
${TM_ACC_EXPERIENCE_ID}
Tracks and reports the Advertising Creative experience ID
—
${TM_ACC_CREATIVE_ID}
Tracks and reports the Advertising Creative creative ID
—
${TM_RANDOM}
A random number between 1 and 1000000
—
${TM_TIMESTAMP}
The UNIX® Timestamp (in seconds)
—
${TM_CLICK_URL_URLENC}
(For third-party ads from vendors who require URL encoding) The encoded click redirect URL, which enables ad servers to track and count ad clicks. When the user clicks the ad, the macro is activated, and the click is recorded and counted for reporting purposes.
Yes
recommendation-more-help
81c37de9-89dd-4749-9a04-e9f8c86dd51a