Google Analytics同一网站属性ID重复跟踪问题排查求助
Fixing Duplicate GA Tracking & Abnormally Low Bounce Rate on Your Avada Site
Hey there, let's tackle this issue head-on—duplicate Google Analytics tracking is almost certainly the culprit behind your weirdly low bounce rate (0% to under 10%). I’ve helped dozens of Avada users work through this exact problem, so here are the most likely places to find that duplicate code:
Common Sources of Duplicate GA Tracking
- Avada Theme Settings + GA Plugins: If you’ve installed a plugin like MonsterInsights, GA4 WP, or any other analytics tool that auto-injects GA code, it’s probably conflicting with the script you added in Avada’s theme settings. Go to your WordPress plugin list, disable any GA-related plugins, or toggle off their tracking functionality if you want to keep the plugin for other features.
- Hidden Scripts in Avada’s Advanced Options: Avada lets you add custom code in multiple places beyond the main GA setup. Check
Avada > Options > Advanced > Code Fields—look in both the Header Scripts and Footer Scripts sections for any duplicate gtag.js or analytics.js code that matches your property ID. - Cached/CDN Old Code: If you previously added GA code manually (before using Avada’s built-in setting) and didn’t clear your cache, your site might still be serving the old version alongside the new one. Clear your site’s caching plugin (like WP Rocket, W3 Total Cache) and refresh your CDN cache (if you use one) to make sure only the current Avada-set script loads.
- Hardcoded Code in Child Theme/Templates: If you’re using a child theme or modified any core theme files (like
header.phporfooter.php), someone might have hardcoded the GA script directly into the template. Open these files in your WordPress editor and search for your GA property ID (e.g.,G-XXXXXXXXXXor the oldUA-XXXXXXX-X) to spot duplicates. - GA4/UA Conflict: If you migrated to GA4 but left an old Universal Analytics (UA) script active, or accidentally pasted the GA4 code twice in Avada’s settings, this can trigger the duplicate tracking warning. Double-check the script in Avada’s GA setup to ensure it’s only the correct, single instance of your GA4 code.
How to Verify the Duplicate
To confirm you’ve found all instances:
- Open your site in Chrome, right-click, and select Inspect to open DevTools.
- Go to the Elements tab, press
Ctrl+F(orCmd+Fon Mac), and search for your GA property ID. If it appears more than once, you’ve found the duplicates. - Alternatively, go to the Console tab and type
dataLayer—look for duplicateconfigevents targeting your property ID.
Once you remove the duplicate tracking code, your bounce rate data should return to normal within 24 hours as GA starts collecting accurate user interaction data.
内容的提问来源于stack exchange,提问作者Schaeffer Warnock
相关产品推荐
相关产品推荐

