0

I have installed Google Analytics Reports module latest version, enabled the GA reports data API and created a service account credentials on developer console. Then I have downloaded the json file of service account and uploaded in the GA reports module configs and also added the property id. But now when I am importing the fields I am getting this error. enter image description here

I have checked the logs also and it says "Integrity constraint violation: 1062 Duplicate entry 'conversions:click' for key 'PRIMARY': INSERT INTO "google_analytics_reports_fields".

Can anyone guide me to solve this issue?

0

1 Answer 1

0

The reason why this error was coming because I have created multiple conversions on my google analytics that's why it was throwing 'Duplicate entry 'conversions:click' error. So I deleted one conversion:click from GA and then successfully imported the fields.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.