setTrackingSource
The setTrackingSource() method overrides the default tracking source. It’s a value used for debugging. It identifies which integration has sent a request. Default value used by JS tracker is:
- Name: jstc
- Version: 1.0.0
Syntax
setTrackingSource(name, version)
Not available
Not available
Not available
Not available
Not available
Not available
Parameters
name (string, required)
The name of your tracking source. Example: custom-source.
version (string, optional)
The version of your tracking source in semantic versioning. Example: 1.0.0.
Examples
To change the source name to custom-source and version to 1.0.0:
_paq.push(["setTrackingSource", "custom-source", "1.0.0"]);
Not available
Not available
Not available
Not available
Not available
Not available
Related methods
Updated 6 days ago