Difference between revisions of "NATS4 Linking to Join and Tour Pages"
m |
|||
Line 15: | Line 15: | ||
<pre> | <pre> | ||
− | http://nats.example.com/track/<?=($_GET['nats']?$_GET['nats']:'MDowOjE')?>/ | + | http://nats.example.com/track/<?=(!empty($_GET['nats']) && !preg_match('/[\'\"<>()\\\+\[\]]/', $_GET['nats']))?$_GET['nats']:'MDowOjE')?>/ |
</pre> | </pre> | ||
Revision as of 15:06, 19 May 2017
In the NATS admin, you'll find an Adtools Admin page. This page lets you import and create adtools for your affiliates to promotion your content. One type of Adtool is a Free Hosted Gallery (FHG); a FHG is a tour page that gives some sample content to surfers. Sometimes these galleries reside on a completely different server from your tour pages and members' area because they receive a lot of traffic.
You can link your FHGs to your tour or join pages by copy and pasting the URLs below with the special in-line PHP statement to correctly insert the NATS code into the URL. Here's an example:
http://nats.example.com/track/<?=(!empty($_GET['nats']) && !preg_match('/[\'\"<>()\\\+\[\]]/', $_GET['nats']))?$_GET['nats']:'MDowOjE')?>/
Each hosted adtool has a default tour link for linking your Free Hosted Galleries to the main tour pages. The default link will be different for each site, so be sure to use the correct site for the default link.
Go to Adtools Admin, select the Hosted Adtools, select the site, and click the Go! button.
You can insert this code anywhere on your Free Hosted Gallery page. If you want to give direct links to the join form, use a deep link.
This code must be manually inserted by you, your programming staff, or development team. Typically this will appear in text or graphical form as Join Here! or Main Site links to the tour pages.