Google Analytics import issue

Hello! I am running an instance of Matomo 4.2.1, with PHP 7.4.3 and MariaDB 10.3.25 on an Ubuntu 20.04 server. I have installed and configured the Google Analytics importer plugin (v4.1.1) following the guide on your website, as I’m trying to move an existing dataset from Google to Matomo. However, I’m having an issue. The importer has started and has been importing everything from 2018, and it’s currently at 2019 (been running a few days, data limit reached). However, if I open the page related to that particular website, and set the view to day/month/year, it’s completely empty. I’m completely sure that the Property ID, Account ID and View are correct.
It looks like it’s correctly running, but no data is actually imported.

Any idea on how to troubleshoot this? Thanks!

Up! No one can help?

Hi @mind.overflow, sorry you’re experiencing this, this has been reported before (https://github.com/matomo-org/plugin-GoogleAnalyticsImporter/issues/169) and was actually an issue in Matomo core. The fix was here: https://github.com/matomo-org/matomo/pull/17304 . Can you try applying it to your Matomo then running core:invalidate-report-data on the data that is missing (eg, ./console core:invalidate-report-data --sites={idSite} --periods=week --dates=2018-01-01,2019-01-01) then running (./console core:archive)?

2 Likes

Thank you, this worked flawlessly! Unfortunately, a previous web search did not return any result, and that’s why I opened this thread. Sorry for double posting, and thank you for pointing me in the right direction!
Have a wonderful day :slight_smile: