Difference between revisions of "NATS4 Post URLs Usage"
TMMStephenY2 (talk | contribs) |
TMMStephenY2 (talk | contribs) |
||
Line 4: | Line 4: | ||
+ | [[NATS4]] gives you the option of posting to a URL of your choosing when different biller events occur. This allows you to track and keep logs of [[ct#Surfer|surfers]] when they perform a specific action on your site, such as choosing a username, joining, and rebilling. | ||
− | + | [[File:postback_urls.png| 450px]]<br/> | |
− | [[ | + | For example, with the '''Rebill Post URL''' field you can have NATS post information to your specified URL on each [[ct#Member|member]] rebill. |
− | + | Continuing with the '''Rebill Post URL''' example, [[NATS]] allows you to use [[Smarty]] scripts at the URL page to further organize transaction information. The [[Smarty]] script here allows you to put your information into a log file: | |
− | |||
<pre> | <pre> | ||
<? | <? | ||
Line 20: | Line 20: | ||
</pre> | </pre> | ||
− | + | With each post back you have access to several fields, allowing a great deal of customization in recording user transactions and information. | |
− | With each post back you have access to several fields. | ||
For a list of the fields in the post please see the wiki page [[Nats4 Post URL Variables]].<br/> | For a list of the fields in the post please see the wiki page [[Nats4 Post URL Variables]].<br/> | ||
For an example of these fields please see the wiki page [[NATS4 Post URLs]]. | For an example of these fields please see the wiki page [[NATS4 Post URLs]]. |
Revision as of 10:49, 14 June 2010
NATS4 gives you the option of posting to a URL of your choosing when different biller events occur. This allows you to track and keep logs of surfers when they perform a specific action on your site, such as choosing a username, joining, and rebilling.
For example, with the Rebill Post URL field you can have NATS post information to your specified URL on each member rebill.
Continuing with the Rebill Post URL example, NATS allows you to use Smarty scripts at the URL page to further organize transaction information. The Smarty script here allows you to put your information into a log file:
<? $file = fopen("log.txt", "a"); fwrite($file, print_r($_REQUEST, true)); fclose($file); ?>
With each post back you have access to several fields, allowing a great deal of customization in recording user transactions and information.
For a list of the fields in the post please see the wiki page Nats4 Post URL Variables.
For an example of these fields please see the wiki page NATS4 Post URLs.