Hi guys,
This is completely unacceptable. I just discovered this issue with my setup. This means the last 2 months of my GA data is unreliable.
@jamescollins I installed your patch, but it seems to not be working for me. I’m still getting the “duplicate tracking” error. I’m not a developer by any stretch of the imagination, so maybe I didn’t do it properly. Would you be able to sanity check my actions? Here’s what I did:
In includes/class-wc-google-analytics-js.php I deleted:
wc_enqueue_js( “” . self::tracker_var() . “( ‘send’, ‘pageview’ ); “);
and added:
if ( ‘yes’ === self::get( ‘ga_standard_tracking_enabled’ ) ) {
wc_enqueue_js( “” . self::tracker_var() . “( ‘send’, ‘pageview’ ); ” );
}
This is the website:
https://exceptionalresumes.com.au/
Thanks in advance.
Steven