The Effinity Tag for Google Tag Manager Server-Side enables you to send conversion data directly to the Effinity affiliate marketing platform from your server. This server-to-server integration provides a more reliable and secure method for tracking sales and leads from your affiliate campaigns.
The tag supports two main actions:
- Page View: Captures Effinity tracking parameters from the URL and stores them in a cookie for later use.
- Conversion: Sends sale or lead data to Effinity, attributing it to the correct affiliate campaign.
How to Use the Effinity Tag
Page View Tracking
This tag should be set up to fire on all page views to capture affiliate tracking IDs from the URL.
- Add the Effinity Tag
template.tplfile to your server container. - Set the Action Type to
Page View. - (Optional) Configure the Cookie Settings (
Domain,SameSite,Expiration) as needed. - Set up a trigger to fire the tag on every page view (e.g., when your
page_viewevent fires).
Conversion Tracking
This tag should fire when a conversion (a sale or lead) occurs.
- Add the Effinity Tag
template.tplfile to your server container. - Set the Action Type to
Conversion. - Select the Conversion Type (
SaleorLead). - Enter your Effinity ID.
- Specify the Consent field.
- Provide the Order or Lead ID.
- For
Saleconversions, specify the Value and Currency Code. - (Optional) Configure other parameters like
Voucher Code,Payment Type,Cart Details,Attribution TypeorCustom Fields. - Set up a trigger to fire the tag when a conversion event occurs (e.g., on a
purchaseorgenerate_leadevent).
Useful Resources:
Open Source
The Effinity Tag for GTM Server-Side is developed and maintained by the Stape Team under the Apache 2.0 license.