addTracker
The addTracker() method creates a new tracker’s instance with a new tracking endpoint.
Syntax
addTracker(trackerUrl, siteId)
Not available
Not available
Not available
Not available
Not available
Not available
Parameters
trackerURL (string, required)
A tracker URL (tracking endpoint).
siteID (string, required)
A site or app ID in Piwik PRO where you want to send data. (Where to find it?)
Returns
A tracker’s instance.
Format: Example:
Type: object
Examples
To create a new tracker’s instance:
_paq.push(["addTracker", "https://example.piwik.pro/ppms.php", "45e07cbf-c8b3-42f3-a6d6-a5a176f623ef"]);
Not available
Not available
Not available
Not available
Not available
Not available
Related methods
- setTrackerUrl()
- getTrackerUrl()
Updated 6 days ago