Introduction
To identify and recognize the user, as well as to incorporate additional dynamic code, the eatms container can be used. For this purpose, the corresponding JavaScript code must be integrated on each page. When the eatms container is used, the tracking tag script code does not need to be implemented.
The eatms.js script should be placed at the end of the "<body>" element, not within the "<head>" element, to ensure smooth website functionality.
If the eatms container is also intended to deliver tags, it is important to enrich it with the necessary additional information. Examples of this would be the campaign ID, the product, the landing page, or the user's consent confirmation.
Campaign -> "&campaign_id="
Product -> "&product="
Page -> "&pagetype="
Category -> "&category="
Consent -> "&disable_tags=false"
No consent given -> "&disable_tags=true"
JavaScript Code
<script src="//SUBDOMAIN*/trck/etms/eatms.js"></script>
*The placeholder "SUBDOMAIN" must be replaced with the correct domain of the affiliate program.
Example
An integrated eatms container with additional information:
JavaScript Code
<script src="//SUBDOMAIN/trck/etms/eatms.js?campaign_id=1&product=product123&pagetype=landingpage"></script>