Piwik PRO
Piwik PRO is a European, privacy-focused web analytics and marketing platform that helps businesses track website traffic and user behavior.
Installation
- TypeScript
- Script
- Code
Install the destination via npm
npm i @elbwalker/destination-web-piwikpro
import { elb } from '@elbwalker/walker.js';
import destinationPiwikPro from '@elbwalker/destination-web-piwikpro';
elb('walker destination', destinationPiwikPro, config);
Load the destination via dynamic import
<script>
// Upload the dist/index.mjs on your own server
const destination = (
await import(
'https://cdn.jsdelivr.net/npm/@elbwalker/destination-web-piwikpro/dist/index.mjs'
)
).default;
elb('walker destination', destination, config);
</script>
Copy the code from the index.browser.js file
(function () {
'use strict';
var Destination = (() => {})(); // This is the copied code
elb('walker destination', Destination.default, config);
})();
Configuration
Configure your PiwikPro destination with your App ID and URL.
Custom
Property | Type | Description |
---|---|---|
appId* | string | ID of the Piwik PRO site |
url* | string | URL of your Piwik PRO account |
linkTracking | boolean | Enables/Disables download and outlink tracking |
pageview | boolean | Enables/Disables default pageview events |
Properties with a *
are required.
CustomEvent
For custom event mapping (mapping.entity.action.custom
):
Property | Type | Description |
---|---|---|
goalId | string | ID to count the event as a goal |
goalValue | string | Property to be used as the goal value |
name | string | Custom name for the event |
value | string | Property to be used for the event value |
If you need professional support with your walkerOS implementation, check out our services.
Mapping
You are able to map your walkerOS events to match the respective requirements of
each vendor. The mapping
examples are using a
live configuration.
The code examples are interactive. You can edit the code to generate your individual event mapping.
ProductDetailView
Map your walkerOS event to get an ecommerceProductDetailView event.
AddToCart
Map your walkerOS event to get an ecommerceAddToCart event.
CartUpdate
Map your walkerOS event to get an ecommerceCartUpdate event.
Order
Map your walkerOS event to get an ecommerceOrder event.