- Issue created by @vlyalko
- 🇺🇸United States vlyalko
The issues is partially resolved.
I just had to uninstall and install back the module.
Update broken/missing fields in our custom GA report views and most of the reports are working and functioning as expected.The only remaining issue is that Top source view, which is using following fields, which did not have broken/missing handler issues:
Attribution: Source (Source)
Attribution: Medium
Session: Sessions (Sessions)This report still saying that
Data from Google Analytics cannot be retrieved. You must authenticate your Google Analytics account to see these reports. Click here to configure Google Analytics authentication to your site.You must have administrator permissions on your Google Analytics and your Varbase site to do this. If you don't have permission, please contact your site administrator.
This is strange, becasue when I am clicking on the link to to configure Google Analytics authentication to your site, it is obviously already configured. Otherwise, the rest of the view displays would not work and woulfd not be able to retrieve data fromGA reports API.
Any recommendations?
- 🇳🇱Netherlands jurriaanroelofs
I had the same problem and the root cause was a bug with field imports, you can ensure you import all fields and keep your views working correctly by reinstalling after applying my patch:
https://www.drupal.org/project/google_analytics_reports/issues/3483408 🐛 Drupal\Core\Database\IntegrityConstraintViolationException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'keyEvents:viewed_pricing_page' for key 'PRIMARY': INSERT INTO "google_analytics_reports_fields" RTBC