getSiteId
The getSiteId() method returns the site or app ID.
Syntax
getSiteId()Not availableNot availableNot availableNot availableNot availableNot availableReturns
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 availableNot availableNot availableNot availableNot availableNot availableA sample of the response statement:
45e07cbf-c8b3-42f3-a6d6-a5a176f623ef
Related methods
- setSiteId()
Updated about 2 months ago