Difference between revisions of "Linkcode"

From TMM Wiki
Jump to navigationJump to search
(Redirected page to NATS4 LinkCode)
Line 1: Line 1:
{{NATS3 Manual
+
#REDIRECT [[NATS4 LinkCode]]
| show_for_affiliates_section = true
 
}}
 
 
 
A [[Common Terms#Link Code|linkcode]] is a referral [http://en.wikipedia.org/wiki/Uniform_Resource_Locator URL] tracked by [[Common Terms#NATS|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:
 
 
 
{| class="tmplfunc" border="1"
 
! Tour URL
 
! Where Linkcodes Go
 
|-
 
| <nowiki>http://example.com/tour</nowiki>
 
| <nowiki>http://example.com/tour/?nats=</nowiki>''natscode''
 
|-
 
| <nowiki>http://example.com/tour?</nowiki>
 
| <nowiki>http://example.com/tour?nats=</nowiki>''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.
 
 
 
<pre>
 
http://join.site.com/ttrack/<?=$_REQUEST['nats']?$_REQUEST['nats']:'MDowOjE'?>/page.html
 
</pre>
 
 
 
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).<br/>
 
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.<br/>
 
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]].
 
 
 
 
 
 
 
[[Category:Also NATS4 Article]]
 

Revision as of 18:09, 3 January 2013

Redirect to: