Syntax
| stats_trackingID_send(trackingID, CALLBACK) |
Parameters
| STRING | trackingID | ID to identify the hit to send to the server. 32 char max, A to Z, 0 to 9 and _ supported.
| | STRING | CALLBACK | Name of a function to be called when tracking ID was processed. The callback function is called with the status as first argument: true if the tracking ID was sent to the server, false if an error has occured. |
Return value
No value is returned.
Description
Tracking IDs can virtually track any action of the user, for example read a RSS feed, an alert, click on a button or a link, etc.
Tracking IDs can be defined in various areas of the Admin Panel when statistics are enabled.
Call this function one time to send a hit on the server.
The function will send a maximum of one hit per month to limit the use of bandwidth.
The URL to submit the data is defined in the XML configuration file.
For more information: xmlSettings.js
Important: If you have several tracking IDs to send, you must use the callback function in order to wait for the process to be competed before starting a new one. |
|