Difference between revisions of "NATS4 Type-In Traffic"

From TMM Wiki
Jump to navigationJump to search
 
(4 intermediate revisions by one other user not shown)
Line 7: Line 7:
 
==NATS Admin==
 
==NATS Admin==
  
[[NATS4]] allows tracking of Raw and Unique hits that come from Type-In traffic. In order to view Type-In traffic, you must select Type-In for the Program when generating a report.
+
[[NATS4]] allows tracking of Raw and Unique hits that come from Type-In traffic and have gone through a Default Track Link. In order to view Type-In traffic, you must select Type-In for the Program when generating a report.
  
If you would like to default the Type-In traffic to a specific affiliate, for example and In-House account, you would take the following steps.  
+
If you would like to track all Type-In traffic's Raw and Unique hits you will need to set up a re-direct script at the beginning of your Site's Tour pages.  
  
First, you would need to override/create an In-House affiliate account and grab a Link Code from their affiliate area.
+
The following is an example of a simple redirect script you could set up to do this:
  
[[File:Nats4Linkcodes.png|450px|NATS Link Codes]]
 
 
For each site, take the link code from that affiliate:
 
 
e.g.
 
 
<pre>
 
<pre>
http://nats41.bill.brandy.toomuchmedia.com/track/MTEuMTEuOS4xOC4wLjAuMC4wLjA
+
<?php
</pre>
+
if(empty($_REQUEST['nats'])) {
  
 +
//redirect through track
  
Retrieve the NATS code from the end of their link:
+
header("Location: " . <track URL>);
  
<pre>
+
}
MTEuMTEuOS4xOC4wLjAuMC4wLjA
 
 
</pre>
 
</pre>
  
 +
The track URL for Type-In Traffic can be taken from the Site's Admin, listed under the "Default Join Form Link". However you will need to edit it, so it goes through a track link and not to your join form. For example:
  
Once you have done this, use the NATS code you retrieved from the Link Codes page to replace the code in your ''Default'' join form links in the Sites Admin, as well as any links to your tracking pages.
+
Default Join Form Link:
 
 
 
<pre>
 
<pre>
http://nats41.bill.brandy.toomuchmedia.com/signup/signup.php?nats=<?=$_REQUEST['nats']?$_REQUEST['nats']:'MC4wLjkuMTguMC4wLjAuMC4w'?>&step=2
+
<linkdomain>/signup/signup.php?nats=<?=(!empty($_REQUEST['nats']) && !preg_match('/[\'\"<>()\\\+\[\]]/', $_REQUEST['nats']))?$_REQUEST['nats']:'MC4wLjEuMS4wLjAuMC4wLjA'?>&step=2
 
</pre>
 
</pre>
 
+
Becomes:
+
You will want to take out signup/signup and replace with /track, and remove the _REQUEST['nats'](since the redirect script will do this already). Then you will want to take out the &step=2 so it does not go to your join form. Lastly, remove the rest until you are left with the following:
  
 
<pre>
 
<pre>
http://nats41.bill.brandy.toomuchmedia.com/signup/signup.php?nats=<?=$_REQUEST['nats']?$_REQUEST['nats']:'MTEuMTEuOS4xOC4wLjAuMC4wLjA'?>&step=2
+
<linkdomain>/track/MC4wLjEuMS4wLjAuMC4wLjA
 
</pre>
 
</pre>
  
 
+
You will need to repeat this for additional sites you want this redirect.
In this example, the code <b>MC4wLjkuMTguMC4wLjAuMC4w</b> (original code) has been replaced with <b>MTEuMTEuOS4xOC4wLjAuMC4wLjA</b> (code from the Link Codes page). This will now have all type-in traffic default to the NATS code grabbed from the link code.
 

Latest revision as of 15:32, 19 May 2017

NATS 4
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
Sites Admin
The Sites Admin
Sites
Site Setup
Site Templates
Tour Setup
Join Options
No Cost Registration
Special Pricing Options
Join Option Rules
Post URL Usage
Post URLs in NATS4
Approval/Upgrade/Denial Variables
Approval/Upgrade/Denial Template Variables
Mobile Tours
Token Sites
ID Numbers
Site Partner
Site User Management
Example Postbacks for Site User Management
Configure Redirects
Split A-B Testing
Username Checking
Form Validation
Post-Biller Templates
Send Information To Special Biller
Join Option Box vs Button
Qualified Join Page Hits
Allowed languages
Customize Join Form
Package Plus
Token Plus
Signup Plus
Type-In Traffic
Coupon Codes
Setting Rules
Site Groups
Options Simulator
ATVOD Verification Process

Type-In Traffic is considered to be any visitor/surfer that was not redirected through an affiliate's link, and as a result has not had their hits/activity tracked or gone through standard tour pages.

NATS Admin

NATS4 allows tracking of Raw and Unique hits that come from Type-In traffic and have gone through a Default Track Link. In order to view Type-In traffic, you must select Type-In for the Program when generating a report.

If you would like to track all Type-In traffic's Raw and Unique hits you will need to set up a re-direct script at the beginning of your Site's Tour pages.

The following is an example of a simple redirect script you could set up to do this:

<?php
	if(empty($_REQUEST['nats'])) {

		//redirect through track

		header("Location: " . <track URL>);

	}

The track URL for Type-In Traffic can be taken from the Site's Admin, listed under the "Default Join Form Link". However you will need to edit it, so it goes through a track link and not to your join form. For example:

Default Join Form Link:

<linkdomain>/signup/signup.php?nats=<?=(!empty($_REQUEST['nats']) && !preg_match('/[\'\"<>()\\\+\[\]]/', $_REQUEST['nats']))?$_REQUEST['nats']:'MC4wLjEuMS4wLjAuMC4wLjA'?>&step=2

You will want to take out signup/signup and replace with /track, and remove the _REQUEST['nats'](since the redirect script will do this already). Then you will want to take out the &step=2 so it does not go to your join form. Lastly, remove the rest until you are left with the following:

<linkdomain>/track/MC4wLjEuMS4wLjAuMC4wLjA

You will need to repeat this for additional sites you want this redirect.