How can I migrate from Matomo to Piwik PRO?

We don’t offer migrating your data from Matomo to Piwik PRO. But it’s very easy to set up a new Piwik PRO account (Core or Enterprise) and start collecting web or app data from scratch.

We recommend installing our container because then you’ll be able to use the entire stack: Analytics, Tag Manager and Consent Manager. All our modules work seamlessly, and you’ll benefit from the switch in a long run.

But if you want to do a quick transition and use only Analytics in Piwik PRO, you can modify your Matomo’s tracking code. Here’s how.

To send data to Piwik PRO using the Matomo’s tracking code, follow these steps:

  1. Find the Matomo’s tracking code in your Matomo account. (Where to find it?)

    Example:

    <!-- Matomo -->
    <script type="text/javascript">
        var _paq = window._paq = window._paq || [];
        _paq.push(['trackPageView']);
        _paq.push(['enableLinkTracking']);
        (function() {
            var u = "//{$MATOMO_URL}/";
            _paq.push(['setTrackerUrl', u + 'matomo.php']);
            _paq.push(['setSiteId', {
                $IDSITE
            }]);
            var d = document,
                g = d.createElement('script'),
                s = d.getElementsByTagName('script')[0];
            g.type = 'text/javascript';
            g.async = true;
            g.src = u + 'matomo.js';
            s.parentNode.insertBefore(g, s);
        })();
    </script>
    <!-- End Matomo Code -->
  2. Change the following elements:
    • var u="//{$MATOMO_URL}/"; change to var u="//yourname.piwik.pro/";
    • _paq.push(['setTrackerUrl', u+'matomo.php']); change to _paq.push(['setTrackerUrl', u+'ppms.php']);
    • _paq.push(['setSiteId', {$IDSITE}]); change the site ID to your Piwik PRO site or app ID (Where to find it?)
    • g.src=u+'matomo.js'; change to g.src=u+'ppms.js';

Differences between Matomo and Piwik PRO

If you consider the switch, here’s a list of main differences between those two products:

Feature Matomo (Piwik) Piwik PRO
Analytics
Advanced custom reports in Analytics
Segments for historical data
Page-to-page and event funnels
Compare date ranges
Compare segments
Advanced Tag Manager
Audience Manager
Consent Manager
White label
UI in English, German, Finish
Meta sites with permissions
User groups with permissions
Enterprise technical support
Google Search Console integration
Google Ads integration
Advanced SharePoint integration

Note: For more, contact our sales team. We can give you a tour, run a trial, or start the migration process.

Was this article helpful?

Technical support

If you still have some questions, visit our community.
There’s always someone ready to help!

Back to help center