In addition to our general instructions for installing the advanced tag, this page contains a detailed explanation of how to integrate the advanced tag into the Google Tag Manager (GTM).
Custom HTML Code for Google Tag Manager:
โ
<script type="text/javascript" charset="utf-8" src="https://ad4m.at/[your_advanced_tag_id].js"></script>
<script type="text/javascript" charset="utf-8">
ADVANCEDSTORE_MAGICTAG.config({
pageUrl: {{Page URL}}
});
</script>
Choose the Custom HTML tag type and insert the Code from above into the HTML field. Ensure you tick on "Support document.write".
The trigger should be "All pages".
GDPR
To comply with the GDPR please check our article about the consent mechanism at https://support.advanced-store.com/en/articles/4510008-advanced-tag-gdpr-consent-mechanism.