Piwik PRO
Piwik PRO is a European, privacy-focused web analytics and
marketing platform that helps businesses track website traffic and user
behavior. The destination automatically sends events to Piwik Pro via push
function. All you need to do is install the destination, and optionally map
events to Piwik Pro's format. walkerOS takes care of loading the script and the
function calls.
Installation
npm install @walkeros/web-destination-piwikpro
Setup
import { startFlow } from '@walkeros/collector';
import { destinationPiwikPro } from '@walkeros/web-destination-piwikpro';
const { elb } = await startFlow();
elb('walker destination', destinationPiwikPro, {
settings: {
appId: 'XXX-XXX-XXX-XXX-XXX', // Required
url: 'https://your_account_name.piwik.pro/', // Required
},
});
Configuration reference
Property | Type | Description | More |
---|---|---|---|
appId* | string | ID of the Piwik PRO site | |
url* | string | URL of your Piwik PRO account | |
linkTracking | boolean | Enables/Disables download and outlink tracking |
Event Mapping
For custom event mapping (mapping.entity.action.settings
):
Property | Type | Description | More |
---|---|---|---|
goalId | string | ID to count the event as a goal | |
goalValue | string | Property to be used as the goal value |
Mapping examples
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.