In order for tracking and attribution to take place, AnyTrack (or any other tracking system for that matter) must append a dynamic string to the affiliate link, along with a query string.
When AnyTrack is on your site, the dynamic string is auto-generated by AnyTrack when the visitor loads your website and is appended to the affiliate link.
Since each affiliate software uses different URL formats and query strings, AnyTrack must be able to identify affiliate links so it can append the correct Query String and parameter.
CJ Affiliate links
Many Affiliate Networks and software providers have been integrated in AnyTrack, so requirements are minimal in order to track your outbound traffic.
When you publish your affiliate links on your site as provided by the affiliate program, AnyTrack will automatically identify the affiliate link and append the
subid=xU4VVnJyCbFWIloIPdYap1 to the link.
Affiliate networks that are integrated in AnyTrack have a distinct attribute called data-tracking-group which will allow AnyTrack to identify and associate the link with the affiliate network or technology on which the network runs.
In the example below, you can see the
data-tracking-group="hasoffers". When your page loads, AnyTrack will identify the data tracking group and append the query string according to the hasoffers requirements.
<a href="https://mysite.foo/goto/offer" data-tracking-group="hasoffers" ></a>
3. Query string in the offer link URL
If you prefer to add the query string directly to the offer link or if the affiliate network is not integrated in AnyTrack, you can manually add it to the link.
<a href="https://mysite.foo/goto/888" rel="888" ></a><a href="https://mysite.foo/goto/leadpages" rel="impact" ></a><a href="https://mysite.foo/goto/wpengine" rel="shareasale" ></a><a href="https://mysite.foo/goto/wpengine" rel="noreferrer shareasale" ></a>
--> You can check on our site where we have a "demo page" showing links implemented using those methods.
In the example below, you can see that the link
href is surrounded by several attributes. Those attributes are set to give more context to the link.
<a class="aff links" data-table="top10" data-action="cta" data-page="Top 10 Brands"data-brand="888.com" data-position="1" href="https://888.com" target="_blank"></a>
When you add the
data-tracking-group attribute to your links, Anytrack will automatically append the required
Query String and
Click ID to the link when a visitor clicks on the link.
Data Tracking Group:
Code as it should appear on your site:
<a href="https://mysitedomain.foo/goto/888" data-tracking-group="888" target="_blank"></a>A
URL after the redirect
Affiliate program / software
Data Tracking Group
<a href="https://anytrack.io/goto/leadpages" data-payout="1" data-tracking-group="impact"rel="nofollow sponsored impact" data-brand="leadpages" linkId="blog-content"data-at-href="https://anytrack.io/goto/leadpages">Try LeadPages free</a>