setAPIUrl
DeprecatedThis method is no longer recommended. Use the setTrackerUrl() method instead.
The setAPIUrl() method overrides the default tracker URL (tracking endpoint).
Syntax
setAPIUrl(url)Not availableNot availableNot availableNot availableNot availableNot availableParameters
url (string, required)
The tracker URL (tracking endpoint). Example: https://example.piwik.pro/ppms.php.
Examples
To change the default tracker URL to https://example.piwik.pro/example.php:
_paq.push(["setAPIUrl", "https://example.piwik.pro/example.php"]);Not availableNot availableNot availableNot availableNot availableNot availableUpdated about 2 months ago