NATS4 SexGoesMobile (SGM)

From TMM Wiki
Jump to navigationJump to search
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
Third Party Admin
Third Parties
Supported Third Parties
SexGoesMobile (SGM)

Note: Third-parties do not notify NATS about new sales and sign-ups immediately -- there may be up to a 24-hour delay before NATS records third-party transactions.

NATS4 offers SGM integration through the Third Party Admin. Third Parties are sites that provide additional content to your members for an additional fee. With SGM, you can create a mobile tour for each of your sites, or for each of your regular tours.

Third Party Admin

To add SGM to your NATS install, you must first configure it through the Third Party Admin. Go to the Third Party Admin, scroll down to the "Setup New Third Party Partner" drop-down menu, select "SexGoesMobile", and click Add. After you have added SGM to your list of third parties, click the "Edit Account Info" action icon. Fill in the Username, Password, and Link ID that you received from SGM, and fill in your Default NATS Code (optional).

When you are done configuring these options, click Save.

Next, click on the "Set Third Party Fees" action icon to set your SGM transaction charges and deduction fees, as well as when/where you want those fees to be deducted. You can choose to deduct fees after affiliate payouts, from affiliate payouts, and before affiliate payouts. Once you have configured these options, click Add.

Sites Admin

The next step to configuring SGM is to add it to the Sites Admin. To do so, go to the sites admin and click the "Add a Site" tab at the top of the page.

On the next page, set your site type to "3rd Party", and give it a site name, a shortname, and set your site's launch date. Once you have done this, click the Save Changes button and navigate back to your Site List.

Next, find your new (SGM) site and click the Edit button to configure a tour for your new site. Under "3rd Party," select SGM from the provided drop-down menu. Enter your new site's linkdomain and enter your "SGM URL" under the "Third Party Partner Details" section of the page.

When you have completed the above steps, you will be free to configure the other available settings for your site and tour. Once you are done configuring your required fields, click Save Changes.

Programs Admin

To continue configuring SGM, go to the Programs Admin and create a new disabled program.

Note: You can also create a new enabled program, but we recommend you create a disabled program, as new affiliates will not be automatically enrolled in this program. When you're ready for your affiliates to send traffic through this program, you can enable it to automatically enroll all affiliates in the program.

Fill in the necessary information and choose the Standard Program option under the "Program Type" drop-down menu, then click Add Program.

On the next page select your SGM site from the drop-down list of Site Tours, or choose your SGM tour from your list of tours, and click Add. Once you have set up your tour, click the pencil icon under Program Default Payouts to edit your payout options for this program. Enter your desired payout amounts or percentages, then click the Save button to save your program.

Type-in Traffic

After you have finished configuring your site and program, you will be able to get an affiliate link code for your type-in/in-house affiliate account. Once you have gotten the NATS code from that link code, go back to the Third Party Admin, edit SGM, and paste the affiliate's NATS code into the default NATS code field. This affiliate will then receive credit for all type-in traffic sent to SGM. Please see our Getting The NATSCode article for help obtaining your NATSCode.

Note: If you don't complete these steps, NATS will not be able to track SGM type-in traffic.

Additional Setup

Adding Tours

SGM requires some additional setup in order to add SGM functionality to your NATS install.

In order to use SGM to create mobile tours for your sites, you must create a new third party site in NATS to be used with SGM, so that NATS can accurately track your third party referrals.

For example, if you have 5 membership sites set in NATS, you can create a new third party site for SGM that contains 5 separate tours -- each third party tour here represents a mobile tour created by SGM for each of your membership sites

Instead of creating new tours for each site you want to use SGM with, you can also add a new third party site in NATS for each site you want to use SGM with. So using the previous example, you would have to create 5 new third party sites with SGM compatibility -- one for each of your membership sites that you want to add a mobile tour to.


In order to enable SGM functionality with your NATS install, you must also alter the weiche.php script provided to you by SGM to update the URL included in the script.

Locate the weiche.php script on your server, and find the URL contained in that script. This must be replaced with a NATS Strack link, which allows you to change the program, site, and tour used in that redirect. This ensures that your surfers will be redirected to your SGM tour correctly.

To do so, use the following sample URL:


Replace <linkdomain> in the above link with your site's linkdomain, <nats_code> with the site's default NATS code, <site_id> with the ID number of the site you wish to redirect to, <tour_id> with the ID number of the tour you wish to redirect to, and <program_id> with the ID number of the program you wish to redirect to.

Note: Program ID, Site ID, and Tour ID must be defined in the above strack link, otherwise SGM will not function properly with your NATS installation.

For more information on the strack feature in NATS, please see our NATS4 track and strack wiki article.