NATS For Networks Track and Strack

From TMMwiki
Jump to: navigation, search
NATS For Networks
Reporting Admin
The Reporting Admin
Track and Strack
Creatives Admin
The Creatives Admin
Add New Creatives
Add New Creative Type
Tracking Code
Code Builder
Track and Strack
Setting Rules

What is Track?

NATS For Networks uses the track feature in order to handle primary tracking for in-bound affiliate traffic. This can usually be found in affiliate linkcodes, such as the following example:


In the above landing page, NATS For Networks will replace <tracking_domain> with the actual link domain for your offer and replace xxxxxxx with the proper affiliate Tracking code. This can be seen in the following image:

Figure 1.1  An Example linkcode using the standard track feature

As visitors hit the track link, NATS For Networks will perform its tracking, cookie, and session procedures before redirecting the visitor to their original destination landing page URL from the offers admin. The Tracking code itself, or the link domain (if no Tracking code is present) will be used by NATS For Networks to match a Tracking domain or offer id to the correct landing page URL.

What is Strack?

In contrast to track, strack replaces one offer ID another offer ID. If you need to provide links from one NATS For Networks offer to another, for example, you can use /strack/ to replace the default offer ID in the Tracking code with a new offer ID for the other offer. This also serves the purpose of preserving relevant affiliate information, as well as ensuring that affiliates get credit for any offers that have been completed.

Strack Formatting

  • <trackingdomain> is the tracking domain of the offer in NATS For Networks, which will usually be something like, where is the domain of your main landing page.
  • <trackingcode> is the tracking code from your affiliate or the default tracking code for the offer. Normally this is available to you on a PHP-enabled offer through the usage of the following in-line PHP if statement -- <?=(!empty($_REQUEST['nats']) && !preg_match('/[\'\"<>()\\\+\[\]]/', $_REQUEST['nats']))?$_REQUEST['nats']:xxxxxx?> -- which translates to "If there is a value for NATS For Networks set in either GET, POST, or Cookie, use that value. Otherwise, use the default value provided (which is different for every offer)."
  • offerid_or_shortname is the ID number or shortname of your desired offer. This variable represents the target offer and may be different than the offer currently being viewed. If you wish to indicate that you do not want to override the offer ID number with a new one, you can use the value of 0 as the offer ID.
  • landing_pageid_or_shortname is the ID number or shortname of your desired landing page. This is the target landing page and may be different than the offer currently being viewed. You will need to have the offer ID set to the offer that your landing page is available on to use this variable.
  • commission_id_or_shortname is the ID number or shortname of the desired commission. You can use this variable to switch from one commission to another in your NATS For Networks. Switching commissions can be useful for things such as special offer links. If you do not wish to change the commission, set this value to 0.
  • track_flag is going to count as a new hit and reset the tracking cookie if it wasn't set to 0. If track_flag wasn't set then it will track the hit. If you don't want to track the hit then set the track_flag to 0.
  • optional_subdirectory_path specifies a path to a specific script, document, or subdirectory that is added onto the end of the URL after the tracking redirect. For example, if your offer's main landing page URL in the Offers Admin is and you pass in /landingpage1/preview, it will add /landingpage1/preview to end of the URL after redirecting the visitor.