Matomo: Importing data from Google Analytics

This documentation is part of the Getting started guide. View the full guide here: Discover how to efficiently set up and utilize Matomo for your analytics requirements..

👋 Welcome to the Stackhero documentation!

Stackhero provides a Matomo cloud solution that streamlines web analytics:

  • Unlimited websites, members, segments, goals, and data retention: track everything you need, for as long as you need it.
  • Effortless updates: keep your analytics platform current with a single click.
  • Custom domain name with HTTPS: run Matomo at a secure, branded URL, such as https://analytics.your-company.com.
  • High performance and strong security: your data runs on private, dedicated infrastructure for reliability and privacy.

With Stackhero, you can launch Matomo analytics in minutes and manage all your sites from one place. Try our Matomo cloud hosting to simplify analytics and focus on what matters.

Are you transitioning from Google Analytics to Matomo? You can transfer your historical data using Matomo's Google Analytics Importer plugin, making the shift seamless and preserving your valuable insights.

To begin, access your Matomo dashboard and navigate to Administration > Platform > Marketplace. Locate the "Google Analytics Importer" plugin and click Install. Once installed, it will be available under Administration > System > Google Analytics Import.

Next, link Matomo to your Google Analytics account. Detailed instructions are available here: Matomo's Google Analytics Importer Documentation.

Importing data creates a new website in Matomo. If you have already started collecting data, you will have two separate websites that cannot be merged. For more details, see this GitHub issue.

To avoid data duplication, consider following these steps:

  1. Begin the Google Analytics import to create a new website.
  2. Add the Matomo tracking code from the newly created website to your site.
  3. Simultaneously, remove the Google Analytics tracking code to prevent data duplication.
  4. Once the import is complete (which may take several days), remove the Google Analytics Importer plugin from Matomo.