Difference between revisions of "Getting The NATSCode"

From TMM Wiki
Jump to navigationJump to search
Line 6: Line 6:
  
 
The following is all of the information stored in the NATSCode:
 
The following is all of the information stored in the NATSCode:
*'''Affiliate Username''' - The username of the affiliate who referred this surfer
+
*'''Affiliate Username''' - The username of the affiliate who referred this surfer.
*'''Programid''' - The numeric id of the program that the surfer's transaction will be paid out under (See [[#Things to Remember|Things to Remember]])
+
*'''Programid''' - The numeric id of the program that the surfer's transaction will be paid out under.
*'''Siteid''' - The numeric id of the NATS site your surfer is trying to visit
+
*'''Siteid''' - The numeric id of the NATS site your surfer is trying to visit.
*'''Tourid''' - The numeric id of the site's tour that your surfer will be redirected to (See [[NATS4 Sites Admin|Sites Admin]] for details)
+
*'''Tourid''' - The numeric id of the site's tour that your surfer will be redirected to (See [[NATS4 Sites Admin|Sites Admin]] for details).
*'''Affiliate Campaignid''' - The numeric id of the campaign associated with the affiliate (0 = the default campaign for that affiliate)
+
*'''Affiliate Campaignid''' - The numeric id of the campaign associated with the affiliate.
*'''Adtoolid''' - If the surfer followed a link code associated with an [[ct#Adtool|adtool]], this will represent the numeric id of the adtool the surfer saw. If no adtool was used, this will default to 0
+
*'''Adtoolid''' - If the surfer followed a link code associated with an [[ct#Adtool|adtool]], this will represent the numeric id of the adtool the surfer saw.
 
*'''Subid1 & Subid2'''  
 
*'''Subid1 & Subid2'''  
  

Revision as of 17:27, 3 January 2013

NATS 3
Skins & Templates Admin
Smarty Plugins
Skins
Editing Skins
Creating Skins
Switching Skins
Templates
nats_code
Affiliate Stats Template
Affiliate Support Template
Affiliate Login Template
custom errors.php
Template Array Variable
Detailed Stats
NATS Variables
Dialer Statistics
Affiliate Signup
Post URL Variables
Member Usernames & Passwords
Output An Affiliate's Last Paid Date
Custom Program and Campaign Selection Pages
CAPTCHA Removal
Username Recommendations
Password Retrieval
Post-Biller Templates
Geo-Target Join Options
Template Caching
Random Usernames and Passwords
Base Templates
Protecting Template Data
Mail Reseller Signup Template Variable Names
Smarty
Smarty print array
News Section Templating
Affiliate Signup Email
Getting The NATSCode
Checking for Usernames on All Sites
Adding Stats to Affiliate Pages
Affiliate Join Page Linkcodes

The NATSCode is the special part of a URL that NATS uses to credit an affiliate and record statistics. The NATSCode is different for each affiliate, program, site, and adtool.

The following is all of the information stored in the NATSCode:

  • Affiliate Username - The username of the affiliate who referred this surfer.
  • Programid - The numeric id of the program that the surfer's transaction will be paid out under.
  • Siteid - The numeric id of the NATS site your surfer is trying to visit.
  • Tourid - The numeric id of the site's tour that your surfer will be redirected to (See Sites Admin for details).
  • Affiliate Campaignid - The numeric id of the campaign associated with the affiliate.
  • Adtoolid - If the surfer followed a link code associated with an adtool, this will represent the numeric id of the adtool the surfer saw.
  • Subid1 & Subid2


To get the NATSCode, start with an affiliate's linkcode. For example:

http://example.com/track/MS4yLjEuNS4wLjAuMC4w

The NATSCode is the arbitrary string that follows track/ -- MS4yLjEuNS4wLjAuMC4w in this case. The NATSCode won't always be at the end of a URL. For example:

http://example.com/track/MS4yLjEuNS4wLjAuMC4w/join

The NATSCode doesn't include /join. The NATSCode also doesn't always follow track. For example:

http://example.com/signup/signup.php?nats=MS4yLjEuMS4wLjAuMC4w

In most NATS URLs, the NATSCode is easy to identify because it's the only word that doesn't resemble English.