matomo-org / matomo-org/plugin-GoogleAnalyticsImporter

Error during archiving GA imported site

Open
#75 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
29
Forks
16
Avg merge
15h 12m
Merged PRs (30d)
14

Description

Not totally sure, but this might be an issue for the GA importer:
During the cron archiving sites in our instance, it throws an error (in short):

`Got invalid response from API request: ?module=API&method=API.get&idSite=9&period=week&date=last18&format=php&trigger=archivephp. Response was 'a:2:{s:6:"result";s:5:"error";s:7:"message";s:12021:"Label column not found in the table to add in addDataTable() - in plugin Referrers #0 /home/webstat/core/ArchiveProcessor/Loader.php(133)`

Site 9 is an imported GA.

[cron.log](https://github.com/matomo-org/plugin-GoogleAnalyticsImporter/files/4362542/cron.log)

Difficult to see where to start tracing..

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached cron.log and the reported API response for Site 9, then trace the GA importer path involved in cron archiving. Done means identifying and resolving the cause so the imported site archives without the reported invalid-response error, with a regression check for this case.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
analytics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.