setAPIUrl
Deprecated
This method is no longer recommended. Use the setTrackerUrl() method instead.
The setAPIUrl() method overrides the default tracker URL (tracking endpoint).
Syntax
setAPIUrl(url)
Not available
Not available
Not available
Not available
Not available
Not available
Parameters
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 available
Not available
Not available
Not available
Not available
Not available
Updated 6 days ago