Linkcode

From TMM Wiki
Revision as of 18:23, 3 January 2013 by TMMMegan (talk | contribs)
Jump to navigationJump to search
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.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.