Piwik PRO Integration Guide ​
This guide covers how to send Videobot events to Piwik PRO using Piwik PRO Tag Manager. Piwik PRO Tag Manager uses the same window.dataLayer interface as Google Tag Manager, so the Videobot integration is configured with the shared Google Tag Manager / Piwik PRO option.
Prerequisites ​
- Piwik PRO Tag Manager is installed on your site
- You have access to your Piwik PRO Tag Manager container to create triggers, variables, and tags
Already using GTM?
If you have an existing GTM setup for Videobot, your triggers and variables work identically in Piwik PRO — both platforms read from window.dataLayer. You can adapt the same configuration described in the GTM guide.
Step 1: Configure Videobot ​
- Open the Videobot you wish to track from the Videobots page
- Navigate to the Settings tab and then the Tracking & analytics section
- Set the integration type to: Google Tag Manager / Piwik PRO
- Save and Publish the changes
- Repeat for each Videobot instance in use
Step 2: Create Data Layer Variables in Piwik PRO TM ​
In your Piwik PRO Tag Manager container, create Data Layer variables for the event fields you want to capture:
| Variable name | Data layer key |
|---|---|
videobot_id | videobot_id |
videobot_language | videobot_language |
videobot_referrer | videobot_referrer |
videobot_video_id | videobot_video_id |
videobot_video_name | videobot_video_name |
videobot_video_time | videobot_video_time |
videobot_current_slide_id | videobot_current_slide_id |
videobot_current_slide_name | videobot_current_slide_name |
videobot_next_slide_id | videobot_next_slide_id |
videobot_next_slide_name | videobot_next_slide_name |
videobot_click_url | videobot_click_url |
videobot_click_text | videobot_click_text |
videobot_form_id | videobot_form_id |
videobot_form_name | videobot_form_name |
To create each variable:
- Go to Variables in your container
- Click Add variable
- Choose type Data layer
- Set the variable name and the matching data layer key from the table above
Step 3: Create a Trigger ​
- Go to Triggers and click Add trigger
- Choose trigger type: Custom event
- Set the Event name to:
^videobot_.*and enable Use regular expression - Name the trigger:
Videobot Events - Save the trigger
Step 4: Create a Tag ​
Create a tag to send Videobot events to your Piwik PRO analytics:
- Go to Tags and click Add tag
- Choose tag type: Piwik PRO (to fire a custom event) or Custom code for full control
- For a Piwik PRO tag:
- Track type: Custom event
- Category:
Videobot - Action:
{% raw %}{% endraw %}(the built-in event name variable) - Name: Optionally map
or other variables
- Set the Trigger to:
Videobot Events - Save and publish the container
Step 5: Verify ​
- Open your site and interact with a Videobot
- Open the browser console and run:jsYou should see push objects with
window.dataLayereventkeys likevideobot_open,videobot_play, etc. - Use Piwik PRO Tag Manager → Preview mode to confirm the trigger fires and the tag executes
- Check Piwik PRO Analytics → Reports → Events to confirm events are being recorded
Further Reading ​
- Supported Events — full list of Videobot event names and fields
- Google Tag Manager guide — detailed variable and trigger reference (same dataLayer format)
- Configuring Integrations — overview of all integration options