Configure Redirects

From TMM Wiki
Revision as of 15:23, 16 January 2013 by TMMMegan (talk | contribs)
Jump to navigationJump to search
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
NATS 3
Sites Admin
Sites
Site Setup
Configure Redirects
ID Numbers
Automail
Site User Management
Username Checking
Join Form Errors
Free Pre-Initial Checkbox
Payouts Based on Program and Join Options
Payouts Based on Join Option and Per Option
Adding Extra Site Tours
Site Partner
Join Options
Multisite Access
Removing Join Options
Tour Setup
Site Undelete
Join Option Box vs Button
Redirecting Traffic to a Sponsor
Qualified Join Page Hits
Type-In Traffic
Allowed languages
Linkcode Decoding


Tour/Site Redirects

This feature allows you to split test your sites or tours, as you can now setup a site redirect with a specified weight. For example, you can split test your tours by setting up your default tour and a second tour (tour B) with identical weights in NATS. If implemented correctly, the tour weights will cause surfers to be redirected to tour B 50% of the time.

Adding a Redirect

To set up a redirect, go to the sites admin, find the site or tour you would like to edit, and click the Configure Redirects icon under the Actions column. From here you can choose what tour and program you would like to redirect to, as well as the new URL and tracking options. Click "Add This Redirect" once you are done filling out the required fields.

Configure Redirects

Once you have configured your new redirect, you will be able to go back and add rules for this redirect. From here, you can configure if the redirect is active, as well as what tours, programs, affiliates, countries, and languages are affected by this redirect.

You can also hide your second site or tour (in this case, tour B) from affiliates so they can only grab link codes for the default tour. To do so, go to the sites admin and edit the tour you wish to hide link codes for. Under the "Tour Details" section, check the Hide Tour checkbox to hide that tour's link codes from affiliates.

Hide Tour From Link Codes

Once you have done this, you will be left with one affiliate link code that randomly redirects surfers to either your default tour or tour B.

When you have your weighted tours or site redirects set up, you will be able to see the individual stats for each tour or site in the reporting admin. This can help with seeing which of your tours is better at converting referred surfers into members, as well as seeing what surfer/member behaviors are associated more with each tour or site.


Program Redirect

You have site A with two tours: A1 and A2. You have two programs: P1 and P2. You want to redirect all traffic from P1 to P2 for the all tours in site A.

This is what you would set in the Add New Redirect table:

  • New(Site) Tour: No change.
  • New Program: P2.
  • Redirect: Click Use New (Site) Tour checkbox.
  • Active for: 100% of traffic.
  • Track redirect: Check this box if you want to count the traffic going through this redirect.
  • Enable by default: Check this box if you want the redirect to begin immediately after you add it (and add rules).

You can now click Add This Redirect and NATS will add one entry for each tour and program. In this example, it will add two entries:

  • Redirect1 has A1 as Redirect Location and P2 as the New Program.
  • Redirect2 has A2 as Redirect Location and P2 as the New Program.

The next step is to add an enable rule for each redirect, added using the rules icon. Rules govern which tour, program, affiliate, country, and language to which this redirect applies. Following our example:

  • Redirect1 should have an enable rule with A1 as the tour, and P1 as the program.
  • Redirect2 should have an enable rule with A2 as the tour, and P1 as the program.

So now, all traffic from all tours in site A in P1 will be redirected to P2.


Index Page Redirection

To redirect surfers from your index page to the correct tour, add the following PHP code to the top of your index page. Replace shortname and tour-URL with the shortname and URL of your tour.

<?php
if (isset($_GET['tour'])) {
 if ($_GET['tour'] == "short name") {
  header("Location: tour url?" . $_SERVER['QUERY_STRING']);
  exit;
 } elseif  ($_GET['tour'] == "short name") {
  header("Location: tour url?" . $_SERVER['QUERY_STRING']);
  exit;
 }
}
?>

You can add additional elseif statements for additional tours.