getPiwikUrl

❗️

Deprecated

This method is no longer recommended. Use the getTrackerUrl() method instead.

The getPiwikUrl() method returns the current tracker URL.

Syntax

getPiwikUrl()
Not available
Not available
Not available
Not available
Not available
Not available

Returns

The current tracker URL (tracking endpoint).

Format: Example: https://example.piwik.pro/ppms.php

Type: string

Examples

To check the current tracker URL:

_paq.push([function () {  
    console.log(this.getPiwikUrl());  
}]);
Not available
Not available
Not available
Not available
Not available
Not available

A sample of the return statement:

https://example.piwik.pro/ppms.php