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 ready-to-use Matomo cloud solution that provides a host of benefits, including:

  • Unlimited websites, members, segments, goals, and data retention time.
  • Effortless updates with just a click.
  • Customizable domain name secured with HTTPS (for example, https://analytics.your-company.com).
  • Optimal performance and robust security powered by a private and dedicated VM.

Save time and simplify your life: it only takes 5 minutes to try Stackhero's Matomo cloud hosting solution!

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.