getTrackingSource

The getTrackingSource() method returns the name and version of your tracking source.

Syntax

getTrackingSource()
Not available
Not available
Not available
Not available
Not available
Not available

Returns

The name and version of your tracking source.

Format: Example: ["jstc_tm", "2.7.2"]

Type: string []

Examples

To get the name and version of your tracking source:

_paq.push(\[function() {  
    var nameAndVersion = this.getTrackingSource();  
    console.log("name: " + nameAndVersion[0]);  
    console.log("version: " + nameAndVersion[1]);  
}]);
Not available
Not available
Not available
Not available
Not available
Not available

A sample of the return statement:

["jstc_tm", "2.7.2"]

Related methods