
Very much like with any other analytics or tracking pixel, the AnyTrack TAG should be added in the head
section of your website.
The AnyTrack Tag is a lightweight JavaScript Tag that looks like this:
<!-- AnyTrack Tracking Code --> <script>!function(e,t,n,s,a){(a=t.createElement(n)).async=!0,a.src="https://assets.anytrack.io/XXXXX.js",(t=t.getElementsByTagName(n)[0]).parentNode.insertBefore(a,t),e[s]=e[s]||function(){(e[s].q=e[s].q||[]).push(arguments)}}(window,document,"script","AnyTrack");</script> <!-- End AnyTrack Tracking Code -->
* Don't copy the code above, this is an example - every user has an individual code located in the Property settings → tracking script.
There are currently 4 methods to add the Tag to your website:
- Copy / Paste the Tag in your html
- Adding one of the AnyTrack Plugin - for Wordpress or Woocommerce
- Adding the Tag via Google Tag Manager
- Using the Tag management system provided by your website builder (Instapage, ClickFunnels etc...)
1. Tutorial video - Copy/ paste the tag in your html
How to insert the AnyTrack Tag and validate the installation
- First copy AnyTrack Tag located in Property settings → tracking script
- Open your website head section and paste the code there.
- Validate the installation by visiting your website.
How to add AnyTrack TAG via Google Tag Manager (GTM)?
The Custom HTML Tag type allows you to deploy a custom HTML tag such as AnyTrack TAG.
To create a new Custom HTML tag:
- Click New to create a new tag.
- Name your tag (example: AnyTrack TAG).
- Click Tag Configuration.
- Select Custom HTML for the tag type.
- Copy the tag code on the property settings and paste it into the HTML field.
Note: Always place JavaScript inside<script></script>
HTML tags. - Click Save.
- Click Add Trigger.
- Select All Pages so that the Script Manager code appears on all pages of your site.
- Click Save to save your new tag.
- Click Submit.
- Name your version (example: Adding AnyTrack) and add a description.
- Click Publish to make your new tag live.
From now on, AnyTrack will capture meaningful events such as OutboundClick, FormSubmit, add to cart, and begin checkout events automatically.
In order to track conversions such as purchases, leads, and eCommerce journeys, you will need to add a conversion source available in the integration catalog.
Comments
0 comments
Please sign in to leave a comment.