Before you begin
The integration with Google Tag Manager (GTM) allows you to track conversions by adding a pixel code to a container tag. There's no need to implement the code directly to the advertiser's landing page and modify the source code. Instead, you can manage it in a GTM container and place only a container code to the website.
GTM containers
A GTM container is a space that you create to hold your tags, triggers, and variables.
Tags: contain your pixels from the tracking platform and allow monitoring traffic.
Triggers: rules that make a code in a tag fire when a user does some action on the website, for example, clicks the button or views a page. So, a trigger is associated with a particular event.
Variables: data that you collect and pass via the tags. This is where the data changes happen. Variables apply to both tags and triggers:
Variables in tags: used to capture dynamic values. This is where you can add macros to collect the needed data, for example, click ID, transaction ID, etc.
Variables in triggers: used to define filters that specify when a particular tag should fire. For example, a trigger should be fired when the url variable contains ''affise.com/index.html''.
Set up a GTM tag as a postback
On Affise, set up a new offer, and use an advertiser's website as the tracking URL.
Take a pixel (iFrame, JavaScript, or Image pixel) from the offer on the Postbacks tab.
In your GTM account, set up a new container or edit an existing one, and add a new tag.
Name your tag.
Edit tag configuration and select Custom to add an Affise pixel:
Custom HTML is for JavaScript and iFrame pixels.
Custom Image is for Image pixels.
Set up triggers or rules to fire a tag.
Set up variables to pass custom values from your advertiser to Affise.
Once your container is ready, submit the changes and publish it.
🔎 Read more about Google Tag Manager here.
Pass conversions to an affiliate
Once the integration with your advertiser is ready, you can pass conversion info to an affiliate either via a pixel or postback.
Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected], or address the GTM community.