No traffic collected after update
-
Since updating Site Kit we have lost all traffic connection with Google Analytics. Google Search Console is still showing performance.
How can I fix this or is it better to totally remove and install the tacking tag manually?The page I need help with: [log in to see the link]
-
Hi @wicko, thanks for opening a support topic. I have reviewed your site source code and it doesn’t look like Site Kit is placing any Analytics code on your site. Have you connected the Analytics module in Site Kit successfully?
The only tag I see when checking your site in the Google Tag Assistant is a Tag Manager tag. Do you have Analytics configured within your GTM container?
I’d be happy too check everything further if you’d be happy to share the following:
- Your?Site Health information. You can?use this form?to share privately if preferred.
- Are you looking for Site Kit to place your Analytics code on your site?
Let me know if you have any further questions at this time.
Yes Site Kit is showing connected successfully. It is connected to the correct ID.
I can see <!– Google Analytics opt-out snippet added by Site Kit –> that is added to my site. Not sure why the main tag is not displaying. Site Kit shows everything is connected
@wicko It’s possible that another active plugin or theme on your site is blocking or stripping out the Site Kit placed Analytics code. You can check this by temporarily disabling all plugins on your site leaving Site Kit active and checking your source code once more. You can also try temporarily switching theme to a default WordPress theme and checking the source code for the Site Kit placed Analytics code.
I can also run some checks from my side if you are willing to share the site health information requested above.
I have a staging site for this https://www.staging6.visiongain.com/
This has the same tracking setup. But this is not being tracked either.
I have manually added the tag to the site theme and now showing. This was originally managed via Site Kit@wicko If you choose to manually place your Analytics code then you won’t need Site Kit to place this for you. Site Kit will see that an Analytics tag is being placed on your site and won’t place any duplicate code. You can check this from your Analytics module settings at Site Kit > Settings > Connected Modules > Analytics > Edit.
As mentioned previously, if you could share the site health information then I can take a closer look at this for you to see if I can spot anything that could be causing any conflicts on your site.
This is the Site Health info
` wp-core
version: 6.7.1
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: undefined
environment_type: staging
user_count: 25180
dotorg_communication: true wp-paths-sizes
wordpress_path: /home/customer/www/visiongain.com/public_html
wordpress_size: 3.55 GB (3813305646 bytes)
uploads_path: /home/customer/www/visiongain.com/public_html/wp-content/uploads
uploads_size: 3.53 GB (3791449775 bytes)
themes_path: /home/customer/www/visiongain.com/public_html/wp-content/themes
themes_size: 85.13 MB (89267027 bytes)
plugins_path: /home/customer/www/visiongain.com/public_html/wp-content/plugins
plugins_size: 426.78 MB (447516349 bytes)
fonts_path: /home/customer/www/visiongain.com/public_html/wp-content/uploads/fonts
fonts_size: directory not found
database_size: 1.79 GB (1923284992 bytes)
total_size: 9.37 GB (10064823789 bytes) wp-active-theme
name: Believe (jl_believe)
version: 1.1.1
author: JoomLead
author_website: https://joomlead.com
parent_theme: none
theme_features: core-block-patterns, html5, title-tag, post-formats, post-thumbnails, menus, widgets, woocommerce, admin-bar, widgets-block-editor
theme_path: /home/customer/www/visiongain.com/public_html/wp-content/themes/jl_believe
auto_update: Disabled wp-themes-inactive (6)
Pro – Child Theme: version: 1.0.0, author: Themeco, Auto-updates disabled
Pro: version: 6.4.22, author: Themeco, Auto-updates disabled
Storefront: version: 4.6.0, author: Automattic, Auto-updates disabled
Twenty Twenty-Five: version: 1.0, author: the WordPress team, Auto-updates disabled
Twenty Twenty-Four: version: 1.3, author: the WordPress team, Auto-updates disabled
Twenty Twenty-Three: version: 1.6, author: the WordPress team, Auto-updates disabled wp-mu-plugins (2)
Admin Tools for WordPress: version: 1.6.7, author: Akeeba Ltd
Health Check Troubleshooting Mode: author: (undefined), version: 1.9.2 wp-plugins-active (57)
AcyChecker: version: 1.4.0, author: Acyba, Auto-updates disabled
AcyMailing: version: 9.10.5, author: AcyMailing Newsletter Team (latest version: 9.11.1), Auto-updates disabled
AddToAny Share Buttons: version: 1.8.13, author: AddToAny, Auto-updates disabled
Admin Tools Professional for WordPress: version: 1.6.7, author: Akeeba Ltd, Auto-updates disabled
Akeeba Backup Professional for WordPress: version: 8.3.0, author: Akeeba Ltd, Auto-updates disabled
Beautiful and responsive cookie consent: version: 4.3.1, author: Beautiful Cookie Banner (latest version: 4.5.0), Auto-updates disabled
Code Snippets: version: 3.6.6.1, author: Code Snippets Pro, Auto-updates disabled
Contact Form 7: version: 6.0.1, author: Takayuki Miyoshi (latest version: 6.0.2), Auto-updates disabled
Contact Form 7 - Dynamic Text Extension: version: 5.0.2, author: AuRise Creative, SevenSpark, Auto-updates disabled
Contact Form 7 Extension For Mailchimp: version: 0.5.72, author: Renzo Johnson, Auto-updates enabled
Contact Form 7 Shortcode Enabler: version: 1.1, author: Tobias Zimpel (TZ Media), Auto-updates disabled
Contact Form CFDB7: version: 1.2.10, author: Arshid, Auto-updates disabled
Custom Post Type UI: version: 1.17.2, author: WebDevStudios, Auto-updates disabled
Easy Meta Builder - DO NOT UPDATE: version: 1.0.4, author: Easy Meta Builder, Auto-updates disabled
Gantry 5 Framework: version: 5.5.19, author: RocketTheme, LLC, Auto-updates disabled
Google Analytics: version: 3.0.3, author: Themeco, Auto-updates disabled
Gravity Forms: version: 2.9.1, author: Gravity Forms, Auto-updates enabled
Gravity SMTP: version: 1.5.0, author: Gravity Forms (latest version: 1.6.0), Auto-updates disabled
GTM4WP - A Google Tag Manager (GTM) plugin for WordPress: version: 1.20.3, author: Thomas Geiger, Auto-updates disabled
Health Check & Troubleshooting: version: 1.7.1, author: The www.ads-software.com community, Auto-updates disabled
Import Export for WooCommerce Wrapper: version: 1.2.9, author: WebToffee, Auto-updates disabled
PDF Invoices & Packing Slips for WooCommerce: version: 3.9.0, author: WP Overnight (latest version: 3.9.4), Auto-updates disabled
Product Import Export for WooCommerce Add-on: version: 1.2.6, author: WebToffee, Auto-updates disabled
PublishPress Blocks Pro: version: 3.2.4, author: PublishPress, Auto-updates disabled
Rank Math SEO: version: 1.0.234, author: Rank Math SEO (latest version: 1.0.235), Auto-updates enabled
Rank Math SEO PRO: version: 3.0.77, author: Rank Math SEO (latest version: 3.0.78), Auto-updates enabled
Redirection for Contact Form 7: version: 3.1.9, author: Themeisle, Auto-updates disabled
Search By SKU - for Woocommerce: version: 0.8.0, author: Unroll Digital, Auto-updates disabled
SearchWP: version: 4.3.17, author: SearchWP, Auto-updates disabled
SearchWP Custom Results Order: version: 1.3.8, author: SearchWP (latest version: 1.3.9), Auto-updates disabled
SearchWP Live Ajax Search: version: 1.8.3, author: SearchWP, LLC, Auto-updates disabled
SearchWP Metrics: version: 1.4.6, author: SearchWP (latest version: 1.4.7), Auto-updates disabled
SearchWP Redirects: version: 1.4.3, author: SearchWP, Auto-updates disabled
SearchWP Related: version: 1.5.3, author: SearchWP (latest version: 1.5.4), Auto-updates disabled
SearchWP WooCommerce Integration: version: 1.3.12, author: SearchWP (latest version: 1.4.0), Auto-updates disabled
Secure Custom Fields: version: 6.3.10.2, author: www.ads-software.com (latest version: 6.3.11), Auto-updates disabled
Site Kit by Google: version: 1.141.0, author: Google (latest version: 1.142.0), Auto-updates disabled
Slider Revolution: version: 6.7.23, author: ThemePunch (latest version: 6.7.25), Auto-updates disabled
Speed Optimizer: version: 7.7.2, author: SiteGround, Auto-updates disabled
Tawk.to Live Chat: version: 0.8.7, author: Tawkto, Auto-updates disabled
Widget Options - Extended: version: 5.1.8, author: Widget Options Team, Auto-updates disabled
WooCommerce: version: 9.4.3, author: Automattic (latest version: 9.5.2), Auto-updates disabled
WooCommerce.com Update Manager: version: 1.0.3, author: Automattic, Auto-updates disabled
WooCommerce Cart Abandonment Recovery: version: 1.3.1, author: CartFlows Inc, Auto-updates disabled
WooCommerce Currency Switcher: version: 2.2.1, author: realmag777, Auto-updates disabled
WooCommerce EU VAT Number: version: 2.9.11, author: WooCommerce (latest version: 2.9.12), Auto-updates disabled
WooCommerce Legacy REST API: version: 1.0.4, author: WooCommerce, Auto-updates disabled
WooCommerce Stripe Gateway: version: 9.0.0, author: Stripe, Auto-updates disabled
WordPress Importer: version: 0.8.3, author: wordpressdotorg, Auto-updates disabled
WP All Export Pro: version: 1.9.1, author: Soflyy (latest version: 1.9.3), Auto-updates disabled
WPB Accordion Menu or Category PRO: version: 2.8.8, author: WPBean, Auto-updates disabled
WP Media folder: version: 5.9.13, author: Joomunited (latest version: 5.9.14), Auto-updates disabled
YITH WooCommerce Ajax Product Filter: version: 5.5.0, author: YITH (latest version: 5.6.0), Auto-updates disabled
YITH WooCommerce Ajax Search Premium: version: 2.8.1, author: YITH, Auto-updates disabled
YITH WooCommerce Color, Image & Label Variation Swatches: version: 2.14.1, author: YITH, Auto-updates disabled
YITH WooCommerce Multi-step Checkout Premium: version: 2.38.0, author: YITH, Auto-updates disabled
YITH WooCommerce Tab Manager: version: 2.0.0, author: YITH, Auto-updates disabled wp-plugins-inactive (23)
Admin Menu Editor: version: 1.12.4, author: Janis Elsts, Auto-updates disabled
Advanced Database Cleaner PRO: version: 3.1.6, author: Younes JFR., Auto-updates disabled
Advanced Editor Tools: version: 5.9.2, author: Automattic, Auto-updates disabled
Akismet Anti-spam: Spam Protection: version: 5.3.5, author: Automattic - Anti-spam Team, Auto-updates disabled
Classic Editor: version: 1.6.7, author: WordPress Contributors, Auto-updates disabled
Classic Widgets: version: 0.3, author: WordPress Contributors, Auto-updates disabled
Clear Cache For Me: version: 2.3, author: Webhead LLC, Auto-updates disabled
Debug Bar: version: 1.1.6, author: wordpressdotorg, Auto-updates disabled
Duplicate Menu: version: 0.2.2, author: Jon Christopher, Auto-updates disabled
ElasticPress: version: 5.1.4, author: 10up, Auto-updates disabled
Password Strength Settings for WooCommerce: version: 3.0.1, author: Daniel Santoro, Auto-updates disabled
SearchWP Diagnostics: version: 1.5.2, author: SearchWP, Auto-updates disabled
UnderConstructionPage PRO: version: 5.75, author: Web factory Ltd, Auto-updates disabled
UpdraftPlus - Backup/Restore: version: 1.24.12, author: TeamUpdraft, DavidAnderson, Auto-updates disabled
VWO: version: 4.5, author: VWO, Auto-updates disabled
Widget Options: version: 4.0.8, author: Widget Options Team, Auto-updates disabled
WordPress Backup & Security Plugin - BlogVault: version: 5.85, author: Backup by BlogVault (latest version: 5.88), Auto-updates disabled
WordPress Responsive Thumbnail Carousel Slider: version: 1.1.12, author: I Thirteen Web Solution, Auto-updates disabled
WP All Export - WooCommerce Export Add-On Pro: version: 1.0.9, author: Soflyy, Auto-updates disabled
WPB Accordion Menu or Category: version: 1.7.2, author: wpbean, Auto-updates disabled
WP Mail SMTP: version: 4.3.0, author: WP Mail SMTP, Auto-updates disabled
WP Offload Media: version: 3.2.9, author: Delicious Brains, Auto-updates disabled
WP Offload S3 Tweaks: version: 0.1.3, author: Delicious Brains, Auto-updates disabled code-snippets (12)
snippet-5: name: remove price on category page, scope: global, modified: 2024-10-10 14:46:17
snippet-6: name: Full Details, scope: global, modified: 2024-10-10 15:23:34
snippet-10: name: Number of related items, scope: global, modified: 2024-10-11 09:43:36
snippet-11: name: RankMath accordian, scope: global, modified: 2024-10-11 15:15:42
snippet-12: name: single product page, scope: global, modified: 2024-11-14 15:26:46
snippet-13: name: hide additional information, scope: global, modified: 2024-10-18 08:11:43
snippet-14: name: Add table of contents tab, scope: global, modified: 2024-10-18 08:44:37
snippet-15: name: Add companies list tab, scope: global, modified: 2024-10-18 08:47:21
snippet-17: name: Subcategories, scope: global, modified: 2024-10-18 14:30:09
snippet-20: name: Back to category, scope: global, modified: 2024-11-05 16:20:07
snippet-22: name: Sort SearchWP results by date, scope: global, modified: 2024-11-15 09:56:29
snippet-23: name: cart remove item, scope: global, modified: 2024-11-28 16:53:34 wp-media
image_editor: WP_Image_Editor_GD
imagick_module_version: Not available
imagemagick_version: Not available
imagick_version: Not available
file_uploads: 1
post_max_size: 256M
upload_max_filesize: 256M
max_effective_size: 256 MB
max_file_uploads: 20
gd_version: 2.3.3
gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM
ghostscript_version: 10.02.1 wp-server
server_architecture: Linux 6.6.41-MCIclouder486-c9 x86_64
httpd_software: Apache
php_version: 8.1.31 64bit
php_sapi: cgi-fcgi
max_input_variables: 3000
time_limit: 600
memory_limit: 2048M
max_input_time: 300
upload_max_filesize: 256M
php_post_max_size: 256M
curl_version: 8.2.1 OpenSSL/3.1.4
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: true
current: 2025-01-09T10:37:17+00:00
utc-time: Thursday, 09-Jan-25 10:37:17 UTC
server-time: 2025-01-09T10:37:16+00:00 wp-database
extension: mysqli
server_version: 8.0.39-30
client_version: mysqlnd 8.1.31
max_allowed_packet: 536870912
max_connections: 500 wp-constants
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/customer/www/visiongain.com/public_html/wp-content
WP_PLUGIN_DIR: /home/customer/www/visiongain.com/public_html/wp-content/plugins
WP_MEMORY_LIMIT: 128M
WP_MAX_MEMORY_LIMIT: 2048M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: staging
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: utf8_unicode_ci wp-filesystem
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
fonts: not writable
mu-plugins: writable acf
version: 6.3.10.2
plugin_type: Free
ui_field_groups: 2
php_field_groups: 0
json_field_groups: 0
rest_field_groups: 0
post_types_enabled: true
ui_post_types: 22
json_post_types: 0
ui_taxonomies: 16
json_taxonomies: 0
rest_api_format: light
admin_ui_enabled: true
field_type-modal_enabled: true
field_settings_tabs_enabled: false
shortcode_enabled: true
registered_acf_forms: 0
json_save_paths: 1
json_load_paths: 1 google-site-kit
version: 1.141.0
php_version: 8.1.31
wp_version: 6.7.1
reference_url: https://www.visiongain.com
amp_mode: no
site_status: connected-site
user_status: authenticated
verification_status: verified-non-site-kit
connected_user_count: 2
active_modules: site-verification, search-console, analytics-4, pagespeed-insights
recoverable_modules: none
required_scopes:
openid: ?
https://www.googleapis.com/auth/userinfo.profile: ?
https://www.googleapis.com/auth/userinfo.email: ?
https://www.googleapis.com/auth/siteverification: ?
https://www.googleapis.com/auth/webmasters: ?
https://www.googleapis.com/auth/analytics.readonly: ?
https://www.googleapis.com/auth/tagmanager.readonly: ?
capabilities:
googlesitekit_authenticate: ?
googlesitekit_setup: ?
googlesitekit_view_posts_insights: ?
googlesitekit_view_dashboard: ?
googlesitekit_manage_options: ?
googlesitekit_update_plugins: ?
googlesitekit_view_splash: ?
googlesitekit_view_authenticated_dashboard: ?
googlesitekit_view_wp_dashboard_widget: ?
googlesitekit_view_admin_bar_menu: ?
googlesitekit_view_shared_dashboard: ?
googlesitekit_read_shared_module_data::["search-console"]: ?
googlesitekit_read_shared_module_data::["analytics-4"]: ?
googlesitekit_read_shared_module_data::["pagespeed-insights"]: ?
googlesitekit_manage_module_sharing_options::["search-console"]: ?
googlesitekit_manage_module_sharing_options::["analytics-4"]: ?
googlesitekit_manage_module_sharing_options::["pagespeed-insights"]: ?
googlesitekit_delegate_module_sharing_management::["search-console"]: ?
googlesitekit_delegate_module_sharing_management::["analytics-4"]: ?
googlesitekit_delegate_module_sharing_management::["pagespeed-insights"]: ?
enabled_features:
adsPax: ?
audienceSegmentation: ?
conversionReporting: ?
firstPartyMode: ?
gm3Components: ?
privacySandboxModule: ?
rrmModule: ?
signInWithGoogleModule: ?
active_conversion_event_providers:
contact-form-7: contact
woocommerce: add_to_cart, purchase
consent_mode: disabled
consent_api: not-detected
search-console_shared_roles: none
search-console_management: owner
analytics-4_shared_roles: none
analytics-4_management: owner
pagespeed-insights_shared_roles: none
pagespeed-insights_management: all_admins
key_metrics_status: Not setup
search_console_property: https://www.visiongain.com/
analytics_4_account_id: 7532????
analytics_4_property_id: 2800961??
analytics_4_web_data_stream_id: 2709??????
analytics_4_measurement_id: G-S6????????
analytics_4_use_snippet: yes
analytics_4_ads_conversion_id: none
analytics_4_available_custom_dimensions: none
analytics_4_ads_linked: true
analytics_4_ads_linked_last_synced_at: 1727338798@wicko I can see that you have many active plugins on your website which means a likely cause of any Site Kit code being blocked for you previously was due to a conflict. One particular type of plugin we see this happen with are speed and optimization plugins, specifically with their minification settings.
I can see that you have the Speed Optimizer plugin active on your site. Could you check and let me know if you are using CSS or JavaScript minification on your site? You can check this by going to Speed Optimizer > Frontend > CSS/JavaScript.
If you are using these and you wish to have Site Kit place your Analytics code rather than manually place it, try switching these minification settings off and checking your source code once again. Make sure to select for Site Kit to place your Analytics code.
If you can then see the Site Kit placed code but you still want to use the minification settings, you can do this and set an exclude rule for Site Kit which I can share with you.
Let me know how you get on with the above and if you have any other questions at this time.
Both Front End Minification is turned off for CSS and JS. Also no combination.
Only front end setting is Minify the HTML Output@wicko If you try temporarily disabling the Speed Optimizer plugin, do you see the Site Kit placed Analytics code? If you still don’t then it’s possible another plugin may be blocking this. If possible, are you able to check with just Site Kit active on your site? This will rule out any conflicts or help you to find a conflict if there is one blocking Site Kit placed code.
I have disabled the speed optimiser and it did not make any difference.
Even when I add the tracking code manually and Analytics says it is connected it still does not collect the visits.
Wondering it this is a separate issue with Consent Cookies perhaps.
@wicko It’s possible that you may not have set up consent mode on your site with Site Kit and configured everything needed for users to give consent on your site. Please take a look at our consent mode guide here and follow the steps.
Let me know once done if you are still having issues with traffic data being collected.
Consent Mode was not active so shouldn’t have effected this.
I have now made active and installed the WP Consent API. Cookie Consent Banner is active but don’t see where or if this is blocking the analytics. Shouldn’t block traffic but just user details anyway
@wicko When checking your site on the Google Tag Assistant I can now see your Analytics tag firing. However, when checking the tag, I can see that the consent values are set to “denied”. This shows that permission is not being granted when I visit your site. This will result in visits from European Economic Area (EEA), Switzerland and the United Kingdom not being tracked as per the the?Digital Markets Act (DMA)?act regarding user consent.
I can see that the cookie notice you’re using currently doesn’t allow users to grant their permission. We have a section in our consent mode guide about compatible consent management plugins you can use with Site Kit and consent mode.
I’d be happy to test this on your site if you install and configure one of the recommended consent management plugins. Let me know if you have any questions on the above.
Installed and activated Cookie Content Bar Pro. Done the necessary setup but still not tracking
- You must be logged in to reply to this topic.