Difference between revisions of "Linkcode"
Line 9: | Line 9: | ||
== Redirecting to the Correct Page == | == Redirecting to the Correct Page == | ||
− | When NATS turns a linkcode into a tour URL, it automatically appends a slash (/) to the end of barewords. | + | When NATS turns a linkcode into a tour URL, it automatically appends a slash (/) to the end of barewords. You can prevent this by appending a question mark to the end of the URL. For example: |
{| class="tmplfunc" border="1" | {| class="tmplfunc" border="1" |
Revision as of 09:46, 8 August 2011
NATS 3
|
---|
A linkcode is a referral URL tracked by NATS.
Redirecting to the Correct Page
When NATS turns a linkcode into a tour URL, it automatically appends a slash (/) to the end of barewords. You can prevent this by appending a question mark to the end of the URL. For example:
Tour URL | Where Linkcodes Go |
---|---|
http://example.com/tour | http://example.com/tour/?nats=natscode |
http://example.com/tour? | http://example.com/tour?nats=natscode |
Qualified Link Codes
If there's a extra "t" in your linkcode, you probably grabbed the wrong link code from the top of the Sites edit page.
http://join.site.com/ttrack/<?=$_REQUEST['nats']?$_REQUEST['nats']:'MDowOjE'?>/page.html
The ttrack is used for qualified clicks; track is used for normal hits.
Composition of the NATS Code
NATS 3
Unencoded linkcodes have the following format:
Affiliate;campaignid:Program:Site,Tourid,Subid1,Subid2,Adtoolid
(Subid 1 - 2 are not used).
Affiliate is the username of the affiliate, program and site are shortnames, and the rest of the fields are IDs
NATS 4
Unencoded linkcodes have the following format:
Affiliate.Program.Site.Tour.Campaign.Adtoolid.Subid1.Subid2.Subid3
(Subid 1 - 3 are not currently used).
For Un-Encoded Links, Affiliate is the username of the affiliate, and the rest of the fields are IDs.
For Shortname Links, Affiliate is the username of the affiliate, program, site, and tour are shortnames, and the rest of the fields are IDs.