AliDropship GA Enhanced eCommerce for woo

chris37

Well-Known Member
Hello @Dimitriy Strekalov .

This plugin AliDropship GA Enhanced eCommerce for woo is give me this visual error in the front page when i add my analytic tracking code in the setting .

aS6C0b.jpg


1) Is also not conflict with other plugins.

2) The same google analytic is set up in the head of my theme

3) I am using a custom theme but i don't think is that the issue !!! I have try also the default wordpress 2022 and the issue is still there.

Any idea how i can fix that ?

Thank in Advance
Chris
 

Dimitriy Strekalov

Administrator
Staff member
Hello!

According to the issue you describe, the reason is in wrong value put into the GA Tracking ID field:

Screenshot - 2022-02-09T093517.678.png

It seems, that you have put there this code:

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-123456789-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-123456789-1');
</script>

In case it is so, you should fix it by putting only this part of code: UA-123456789-1, as mentioned here:

Also in case Traffic Report is not yet configured on your website, you should configure it first before using GA Enhanced add-on as shown here:
 
Top