Type-In Traffic
Article Topics: Sites, Reporting, Track, Tour
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.
Please Note: The following Examples use NATS code "MC4wLjEuMS4wLjAuMC4wLjA", which is ONLY for siteid 1 & tourid 1. Please retrieve your corresponding NATS code via your tour's linkcode section.
Default Join Form Link:
<linkdomain>/signup/signup.php?nats=<?=(!empty($_REQUEST['nats']) && !preg_match('/[\'\"<>()\\\+\[\]]/', $_REQUEST['nats']))?$_REQUEST['nats']:'MC4wLjEuMS4wLjAuMC4wLjA'?>&step=2NATS Admin
NATS 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.
Tracking Type-In Traffic's Raw and Unique Hits
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 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=2You will want to take out signup/signup and replace it 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/MC4wLjEuMS4wLjAuMC4wLjAYou will need to repeat this for additional sites you want this redirect.
Related Articles
How to Configure RedirectsLast updated
Was this helpful?