setSiteId
The setSiteId() method sets a site or app ID used by the tracker. A site or app is where you collect data in Piwik PRO.
Syntax
setSiteId(siteId)
Not available
Not available
Not available
Not available
Not available
Not available
Parameters
siteID (string, required)
The site ID that will be used to send all requests from the tracker.
Examples
To set site or app ID in the tracker:
_paq.push(["setSiteId", "45e07cbf-c8b3-42f3-a6d6-a5a176f623ef"]);
Not available
Not available
Not available
Not available
Not available
Not available
Related methods
Updated 6 days ago