getSiteId
The getSiteId() method returns the site or app ID.
Syntax
getSiteId()
Not available
Not available
Not available
Not available
Not available
Not available
Returns
The site or app ID in Piwik PRO.
Format: Example: 45e07cbf-c8b3-42f3-a6d6-a5a176f623ef
Type: string
Examples
To get the site or app ID:
_paq.push([function () {
console.log(this.getSiteId());
}]);
Not available
Not available
Not available
Not available
Not available
Not available
A sample of the response statement:
45e07cbf-c8b3-42f3-a6d6-a5a176f623ef
Related methods
- setSiteId()
Updated 6 days ago