Difference between revisions of "NATS3 Link Codes"

From TMM Wiki
Jump to navigationJump to search
 
(2 intermediate revisions by one other user not shown)
Line 16: Line 16:
 
the affiliate, [[ct#Campaign|campaign]], program, and site information cannot be altered
 
the affiliate, [[ct#Campaign|campaign]], program, and site information cannot be altered
 
in the query string.
 
in the query string.
 +
 +
== 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/<?=(!empty($_REQUEST['nats']) && !preg_match('/[\'\"<>()\\\+\[\]]/', $_REQUEST['nats']))?$_REQUEST['nats']:'MDowOjE'?>/page.html
 +
</pre>
 +
 +
The ''ttrack'' is used for qualified clicks; ''track'' is used for normal hits.
  
 
[[Category:Needs NATS4 Article]]
 
[[Category:Needs NATS4 Article]]

Latest revision as of 15:00, 19 May 2017

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

Affiliates get their linkcodes on the Affiliate Link Code page. There are two types of link codes: encoded and unencoded. The difference is depicted in Figures 1.1, 1.1a, and 1.1b:

Figure 1.1 - Link Codes Explained
Figure 1.1a - Unencoded Link Codes Explained
Figure 1.1b - Unencoded Link Codes Explained - Default Campaign

As you can see, encoded linkcodes provide the most affiliate protection: the affiliate, campaign, program, and site information cannot be altered in the query string.

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/<?=(!empty($_REQUEST['nats']) && !preg_match('/[\'\"<>()\\\+\[\]]/', $_REQUEST['nats']))?$_REQUEST['nats']:'MDowOjE'?>/page.html

The ttrack is used for qualified clicks; track is used for normal hits.