Installing the AnyTrack Tag

Learn how to quickly install the AnyTrack tag on your website to start tracking conversions and optimizing ROAS.

AnyTrack is a light weight tracking tag that you add to your website's head section. it should load across your entire website and doesn't need to be customized to track standard events.

The AnyTrack Tag

! function(e, t, n, s, a) {
	(a = t.createElement(n))
	.async = !0, a.src = "",
		(t = t.getElementsByTagName(n)[0])
		.parentNode.insertBefore(a, t),
		e[s] = e[s] || function() {
			(e[s].q = e[s].q || [])
}(window, document, "script", "AnyTrack");

There are 4 methods to add the Tag to your website:

  • Add the Tag directly in the head section of your website.
  • If you are using WordPress, you can use one of the AnyTrack Plugin - for Affiliate Link manager or Woocommerce.. Watch setup video.
  • Using Google Tag Manager.
  • Use the Tag management system provided by your website builder (ClickFunnels, GohighLevel etc.).

How to insert the AnyTrack Tag and validate the setup

  1. First copy AnyTrack Tag located in Property settingsTracking script
  2. Open your website head section and paste the code as high as possible.
  3. Validate the installation by visiting your website.

How to add AnyTrack Tag in WordPress using the AnyTrack Plugin

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:

  1. In Google Tag Manager, click Tags in the navigation.
  2. Click New to create a new tag.
  3. Name your Tag (example: AnyTrack TAG).
  4. Click Tag Configuration.
  5. Select Custom HTML for the tag type.
  6. Copy the tag code on the property settings and paste it into the HTML field and Click Save.
  7. Click Add Trigger.
  8. Select All Pages - PageView.
  9. Click Save
  10. Click Submit and Publish the container.

From now on, AnyTrack will automatically capture meaningful events such as OutboundClick, FormSubmit, add to cart, and initiate checkout events.

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.

How to setup your AnyTrack TAG with Google Tag Manager with screenshots

  1. Create a new Property

Step 1 screenshot
  1. Click on the code to copy it in your Clipboard

Step 2 screenshot
  1. Open your Google Tag Manager Container

Step 3 screenshot
  1. Add a New Tag

Step 4 screenshot
  1. Click on Tag Configurations

Step 5 screenshot
  1. Select Custom HTML

Step 6 screenshot
  1. Paste the AnyTrack Tag

Step 7 screenshot

  1. Click on Triggering Options

Step 8 screenshot

  1. Select All Pages

With AnyTrack AutoTrack & AutoTag features tracking outbound clicks, lead generation funnels is done for you automatically. So you don't need to trigger any other types of events or parameters.
Step 9 screenshot

  1. Save the Tag and Name it

Step 10 screenshot

  1. Submit the new GTM Container

Step 11 screenshot
  1. Publish the Container

Step 12 screenshot

  1. Return to the property settings

Step 13 screenshot

  1. Refresh your website, and check the tracking status

Validation happens in near real time.
Step 14 screenshot

  1. Navigate to the Conversion Event Tab

You will see the current events that have been recorded.
Step 15 screenshot

  1. Click on one of the Events to see the payload

The Payload shows the data that has been captured by the AnyTrack Tag, and the AnyTrack Tracking API.
Step 16 screenshot


AutoTrack is a function provided in the AnyTrack tracking TAG which automatically sends engagement events such as outbound clicks and form submissions to your analytics and pixels.

What are engagement events:

Engagement events are events that occur on your site, such as outbound clicks and form submissions. They are considered as "micro-conversions" since they give an indication of how your audience engages with your website content.

Outbound Clicks

Outbound clicks are usually links that point to external URLs such as affiliate links. By default, AnyTrack will track and send these events to your analytics and pixels.
In addition, links with the attribute rel="nofollow" or rel="sponsored"will trigger an OutboundClick event which will be sent to your pixels and analytics.

Affiliate Link Tracking

Form submissions

Any standard form submission occurring on your site will generate a formSubmit event in AnyTrack, which will be forwarded to your analytics and pixels.

Form submission tracking