Difference between revisions of "Tour Setup"
From TMM Wiki
Jump to navigationJump to searchm |
|||
(One intermediate revision by one other user not shown) | |||
Line 7: | Line 7: | ||
<pre> | <pre> | ||
− | ?<?=$ | + | ?<?=(!empty($_REQUEST['nats']) && !preg_match('/[\'\"<>()\\\+\[\]]/', $_REQUEST['nats']))?'&nats='.$_REQUEST['nats']:''?> |
</pre> | </pre> | ||
Latest revision as of 17:21, 23 May 2017
NATS works with any tour: just at the following PHP code to the end of every hyperlink URL on the tour:
?<?=(!empty($_REQUEST['nats']) && !preg_match('/[\'\"<>()\\\+\[\]]/', $_REQUEST['nats']))?'&nats='.$_REQUEST['nats']:''?>
This code sends the affiliate's linkcode from the tour page to the join page. You also need to ensure that the your tour ends with the NATS pre-join page.