Skip to main content

Piwik PRO

Source code Package Browser ES5

Piwik PRO is a web analytics and marketing platform that helps businesses track website traffic, user behavior, and conversion rates. It offers advanced analytics features, audience segmentation, and targeted marketing tools. Piwik PRO prioritizes data privacy and security, complying with GDPR and other data protection regulations. Businesses can use Piwik PRO to improve their website's user experience and drive conversions while keeping customer data safe.

Configuration

Start by setting up the config for the destination. Destinations can be used via node or directly in the browser.

const config = {
custom: {
appId: 'XXX-XXX-XXX-XXX-XXX', // Id of the site
// linkTracking: false, // Disable download and outlink tracking
// pageview: false, // Disable default pageview events
url: 'https://your_account_name.piwik.pro/', // Same address as the login
},
mapping: {
entity: {
action: {
custom: {
// CustomEventConfig
goalId: 'xxx-xxx-...', // Count the event as a goal
goalValue: '', // Property to be used as goal value
name: '', // Renaming the event
value: '', // Property to be used for the value
},
},
},
},
};

CustomConfig

PropertyTypeDescription
appId*stringID of the Piwik PRO site
url*stringThe URL of your Piwik PRO account
linkTrackingbooleanEnables/Disables download and outlink tracking
pageviewbooleanEnables/Disables default pageview events

Properties with a * are required.

CustomEventConfig

For custom event mapping (mapping.entity.action.custom):

PropertyTypeDescription
goalIdstringID to count the event as a goal
goalValuestringProperty to be used as the goal value
namestringCustom name for the event
valuestringProperty to be used for the event value

How to use

Define the config for your Piwik PRO destination:

const config = {
custom: {
appId: 'XXX-XXX-XXX-XXX-XXX',
url: 'https://your_account_name.piwik.pro/',
},
};

Choose one of the following installation options to use the destination:

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);