There are two configuration types that Adform tag includes: PageView and TrackEvent.
- Pageview event stores the
adfcookieidandadfcdURL parameters inside theadfuidand_adfcdcookies, respectively. - TrackEvent event sends a request with the specified conversion event data to Adform API.
How to use the Adform tag:
Pageview - Fire this event when the user reaches your landing page in order to capture and store Adform URL identifiers. These identifiers will then later be used on further events for attribution and user context purposes.
- Input your Adform Cookie ID parameter that was used in Adform campaign settings (macro
__ADFUID__). - Input your Adform click ID parameter that was used in Adform campaign settings (macro
__ADFCD__) - Update
adfuidand_adfcdcookie lifetime is needed.
Track events - Make a POST request to Adform Server Side Tracking API.
- Tracking Domain - is the tracking domain set on the advertiser level.
- Tracking Setup ID - is the advertiser’s tracking ID, which can be found under Site Tracking in Adform UI.
- Event Name - event-based conversion name that was setup in Adform, case-sensitive.
- Variables - a table map of event variables that are sent to Adform API.
- Compliance - pass information about the user’s consent to the Adform API.
Useful links:
Open Source
Adform Tag for GTM Server Side is developed and maintained by Stape Team under the Apache 2.0 license.