Matomo: Importing Data from Google Analytics

This documentation is part of the Getting Started guide. You can view the complete guide here: Learn how to efficiently set up and use Matomo for your analytics needs..

👋 Welcome to the Stackhero documentation!

Stackhero offers a Matomo cloud solution that simplifies web analytics:

  • Unlimited websites, members, segments, goals, and data retention: analyze everything you need, for as long as you need it.
  • Effortless updates: keep your analytics platform up to date with just one click.
  • Custom domain name with HTTPS: run Matomo on a secure, branded URL, for example https://analytics.your-company.com.
  • High performance and enhanced security: your data is hosted on private, dedicated infrastructure to ensure reliability and confidentiality.

With Stackhero, you can deploy Matomo analytics in just a few minutes and manage all your sites from a single location. Try our Matomo cloud hosting to simplify your analytics and focus on what matters most.

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.