Difference between revisions of "NATS4 NATSCode"

From TMM Wiki
Jump to navigationJump to search
(Created page with "{{NATS3 Manual | show_skins_and_templates_admin_section = true }} The NATSCode is the special part of a URL that NATS uses to credit an affiliate and record statistics. The ...")
 
Line 1: Line 1:
{{NATS3 Manual
+
{{NATS4 Manual
 
| show_skins_and_templates_admin_section = true
 
| show_skins_and_templates_admin_section = true
 +
| show_for_affiliates_section = true
 
}}
 
}}
  

Revision as of 16:41, 3 January 2013

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
Skins and Templates Admin
The Skins and Templates Admin
Skins
Templates
Site Templates
Language Skins
Language Files
custom_errors.php
Join Page Variables
Skipping NATS Join Form
Post URL Variables
Member Usernames & Passwords
Form Validation
Username Recommendations
Password Retrieval
Post-Biller Templates
Geo-Target Join Options
Random Usernames and Passwords
Smarty
Smarty print array
Smarty Plugins
Available Smarty Functions
Affiliate Support Template
Adding a Verification Image
Custom Program and Campaign Selection Pages
Output An Affiliate's Last Paid Date
Affiliate Signup Email
Affiliate Join Page Linkcodes
Approval/Upgrade/Denial Variables
Approval/Upgrade/Denial Template Variables
CSS Theme Builder

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 - SubID1 is used for extra tracking needed by some special adtool type like gallery builder. SubID2 is available for any custom use you would like to use it for.


To get the NATSCode from an encoded linkcode, 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. In an unencoded linkcode, all of the information is stored as seperate numbers rather than a jumble of letters. For more information, see our NATS4 Affiliate Link Codes article.