Difference between revisions of "Linkcode"

From TMM Wiki
Jump to navigationJump to search
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.  Your can prevent this by appending a question mark to the end of the URL. For example:
+
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 4
For Affiliates
Affiliate Adtools
Automatic Campaigns
Affiliate Payment Information
Affiliate Defaults
Linkcodes
Affiliate Stats Dumps
ASP Query String
Deep Linking
Main Program Page
NATSCode
Members Admin
The Members Admin
View Member Details
Add Member
MySQL Auth
Mod Authn DB
Multisite Access
Member Logging
Member Password Retrieval
OpenID Connect
Mod Auth OpenIDC
ID Numbers
NATS 3
For Affiliates
Affiliate Link Codes
Affiliate Adtools
Affiliate Rewards
Affiliate Referral Stats
Automatic Campaigns
Affiliate Billing Info
Deep Linking
Affiliate Defaults
Linkcode
ASP Query String
NATS3 Main Program Page
TubeStudio Adtools

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.