Guide to Installing Piwik Pro

Dec 10, 2024

Lecture on Installing Piwik Pro

Introduction

  • Video focuses on installing Piwik Pro on a website.
  • Includes guest Anton, an implementation specialist.
  • Covers pre-installation checks, installation via WordPress plugin, manual installation, and Google Tag Manager (GTM).
  • Discussion on integrating Piwik Pro with frameworks like Angular, React, Next.js, etc.

Pre-Installation Checks

  • Consult privacy settings with Data Protection Officer (DPO) or legal team.
  • Understand the Piwik Pro container structure: includes tag manager, consent manager, CDP, and data collection.
  • Customize or hide consent forms initially until ready to publish.
  • Consent settings impact data anonymization.

Installation Methods

WordPress Plugin Installation

  • Recommended to use official Piwik Pro plugin for ease and automatic updates.
  • Steps:
    1. Go to WordPress dashboard.
    2. Go to Plugins > Add New.
    3. Search for Piwik Pro, install, and activate it.
    4. Configure settings: container address and site ID.
    5. Save changes and verify through Piwik Pro analytics module.

Joomla Manual Installation

  • No dedicated Piwik Pro plugin for Joomla.
  • Steps:
    1. Go to Joomla dashboard > System > Site Templates.
    2. Edit the index.php to insert Piwik Pro container code after <body> tag.
    3. Save and verify the consent banner appears on your site.

Google Tag Manager (GTM) Installation

  • Possible to install Piwik Pro via GTM.
  • Steps:
    1. Go to Piwik Pro account and copy container code.
    2. In GTM, create a new tag with custom HTML, paste the container code.
    3. Set trigger to 'All Pages'.
    4. Preview and check tag firing.
  • Considerations:
    • Nested tag managers can double the code, potentially affecting load times.
    • Risk if GTM fails, Piwik Pro may not load.
    • Using the same data layer for both can be complex.

Framework Integrations

  • Frameworks like Angular, React, Next.js, etc., are supported.
  • Use SDKs for easier installation and tracking.
  • SDKs provide proper container initialization and services for custom events and lifecycle hooks.
  • Typescript integration available for developers.

Conclusion

  • Covered installation on different platforms and integration methodologies.
  • Offered insights into privacy settings and technical considerations.

  • Ensure to check the descriptions for useful links and tutorials on Piwik Pro.