Difference between revisions of "Linkcode"
(→NATS 3) |
|||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
{{NATS3 Manual | {{NATS3 Manual | ||
| show_for_affiliates_section = true | | show_for_affiliates_section = true |
Revision as of 17:26, 3 January 2013
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.
Please see NATS3 Affiliate Link Codes.
NATS 4
Unencoded linkcodes have the following format:
Affiliate.Program.Site.Tour.Campaign.Adtoolid.Subid1.Subid2.PromotionalID
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.
Please see NATS4 LinkCodes.