The AutoTrack function automatically finds and triggers OutboundClick and FormSubmit events on your website. In most cases this is the desirable behaviour but you may want to disable the AutoTrack in some sections of your website while leaving it active on the rest of the page.
You can add the class
class="at-do-not-track" on specific elements, or on a container, which will disable tracking for all elements within this class.
In the following example we add an
at-do-not-track class on the member area of the website. This will make sure everything within the member area such as login form and other components will remain untracked while the rest of the website continues to be tracked as usual.
<!-- AnyTrack TAG snippet -->
<h1>Best VPN in Germany</h1>
<!-- Offer links will continue to work -->
<a href="/go/germany-vpn" rel="nofollow">Buy Now</a>
<section id="members" class="at-do-not-track">
<!-- Everything within this section will NOT be tracked -->
<form action="/login" method="post">
<input name="email" placeholder="Email">
<input name="pass" type="password" placeholder="Password">
<!-- Do not track specific links as well -->
<a href="/go/terms" rel="nofollow" class="at-do-not-track">Terms</a>