No data from analytics to Google Site Kit plugin
-
I have installed Google Site Kit Plugin in a project WordPress, but there’s no data in section analytics in the plugin. Google Analytics is populated with data with views, visitors, etc anda there’s a graph with that, but inside plugin is all blank, no data.
Any help?
Thanks
-
@josecarlosamaral thanks for your topic!
1) Could you share your site URL?
2) Have you recently installed Site Kit and connected Analytics? It may take some time for the data to sync/ populate if you’ve just connected it.
The site url is analuartes.pt.
I have installed this plugin almost 5 days ago.
@josecarlosamaral thanks for the details.
When I look at the source code of your site I see two code snippets for Analytics, but they do not appear to be from Site Kit.
One looks like it is manually inserted and the other perhaps from a plugin.
In general, there should be one snippet on the site. For Site Kit, you can use another code snippet, but let’s check if it is detecting this in the settings.
Could you navigate to Site Kit > Settings > Analytics > Edit and check if Site Kit shows that the snippet is inserted by another plugin or theme?
I have installed a plugin “GAinWP Google Analytics Integration for WordPress” using one of the codes. The other i dont know.
In Site Kit the Analytics Code Snippet shows “Inserted by another plugin or theme”.
@josecarlosamaral thanks for your reply. It seems the second snippet is inserted manually, possibly through your theme files.
I’m not sure if this is affecting the data coming through at this moment, but if this insertion is not intended you can try to remove it.
While it typically takes less time, some cases may take a little longer to populate data. I would like to keep your topic open and check with you in the next couple days to see if the data has populated to be sure.
I found the other snippet and i removed it.
Ok. I wait a few days to see if some data apears do me.
Thanks
I uninstalled the Site Kit and now I have this error and I can’t reinstall.
A instala??o falhou: <!– Global site tag (gtag.js) – Google Analytics –> <!– window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag(‘js’, new Date()); gtag(‘config’, ‘UA-164510009-1’); –> {“success”:true,”data”:{“install”:”plugin”,”slug”:”google-site-kit”,”pluginName”:”Site Kit by Google”,”activateUrl”:”https:\/\/analuartes.pt\/wp-admin\/plugins.php?_wpnonce=7cd2fb0a14&action=activate&plugin=google-site-kit\/google-site-kit.php”}}
Last problem was solved, but with no snippet that i removed give me this error “Error: The response is not a valid JSON response.”
If i put the snippet the plugin works but whithout data.@josecarlosamaral I can see two different code snippets remaining on your site. Can you follow the steps below and inform me whether you encounter the same JSON error notice?
1. Reset Site Kit
2. Remove any existing tracking snippets. Ensure they are removed by checking your sites source code and looking for anyUA-
references.
3. Temporarily deactivate any caching plugins
4. Attempt Site Kit setup once more
5. When connecting the Analytics module ensure you are tracking all website dataOnce you’ve performed the above it make take some time for your dashboards to start populating, but let us know if you encounter any errors. If so please share your Site Health information and we can troubleshoot further.
I follow the steps anda now i’m stuck here https://imgur.com/a/VlZCqac
My site health information:
### wp-core ### version: 5.4.1 site_language: pt_PT user_language: pt_PT permalink: /%postname%/ https_status: true user_registration: 0 default_comment_status: closed multisite: false user_count: 12 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /home/analuartes/public_html wordpress_size: loading... uploads_path: /home/analuartes/public_html/wp-content/uploads uploads_size: loading... themes_path: /home/analuartes/public_html/wp-content/themes themes_size: loading... plugins_path: /home/analuartes/public_html/wp-content/plugins plugins_size: loading... database_size: loading... total_size: loading... ### wp-active-theme ### name: Analuartes (analuartes) version: 1.0 author: Anónimo author_website: (undefined) parent_theme: Futurio (futurio) theme_features: post-thumbnails, title-tag, menus, custom-background, custom-logo, automatic-feed-links, custom-header, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, html5, editor-style, widgets theme_path: /home/analuartes/public_html/wp-content/themes/analuartes ### wp-parent-theme ### name: Futurio (futurio) version: 1.2.17 author: FuturioWP author_website: https://futuriowp.com/about/ theme_path: /home/analuartes/public_html/wp-content/themes/futurio ### wp-plugins-active (27) ### Advanced Custom Fields: version: 5.8.9, author: Elliot Condon All-in-One WP Migration: version: 7.20, author: ServMask (latest version: 7.21) Content Views: version: 2.3.2, author: Content Views Cookie Notice: version: 1.3.1, author: dFactory Disable Dashboard for WooCommerce: version: 1.0.1, author: ospiotr Elementor: version: 2.9.8, author: Elementor.com Futurio Extra: version: 1.3.3, author: FuturioWP Health Check & Troubleshooting: version: 1.4.4, author: The www.ads-software.com community Loco Translate: version: 2.3.3, author: Tim Whitlock Loginizer: version: 1.4.3, author: Raj Kothari Multibanco, MBWAY and Payshop (IfthenPay) for WooCommerce: version: 4.2.1, author: Webdados NIF (Num. de Contribuinte Português) for WooCommerce: version: 4.2.4.1, author: Webdados OG: version: 2.7.6, author: Marcin Pietrzak Portugal CTT Tracking for WooCommerce: version: 1.1.1, author: Webdados Portugal States (Distritos) for WooCommerce: version: 2.1.6, author: Webdados Rank Math SEO: version: 1.0.42.3, author: Rank Math Site Kit by Google: version: 1.7.1, author: Google Sucuri Security - Auditing, Malware Scanner and Hardening: version: 1.8.24, author: Sucuri Inc. WooCommerce: version: 4.0.1, author: Automattic WooCommerce Advanced Free Shipping: version: 1.1.4, author: Jeroen Sormani WooCommerce Extended Coupon Features FREE: version: 3.1.4, author: Soft79 WooCommerce On Sale Information: version: 1.1.2, author: Vanguardly (António Pinto) WooCommerce Sequential Order Numbers: version: 1.9.4, author: SkyVerge Wordfence Security: version: 7.4.7, author: Wordfence WPB Accordion Menu or Category: version: 1.3.6, author: wpbean WPForms Lite: version: 1.6.0.1, author: WPForms WP Mail SMTP: version: 1.9.0, author: WPForms (latest version: 2.0.0) ### wp-plugins-inactive (3) ### Autoptimize: version: 2.6.2, author: Frank Goossens (futtta) GAinWP Google Analytics Integration for WordPress: version: 5.4.5, author: IntelligenceWP WP Super Cache: version: 1.7.1, author: Automattic ### wp-media ### image_editor: WP_Image_Editor_GD imagick_module_version: N?o disponível imagemagick_version: N?o disponível gd_version: bundled (2.1.0 compatible) ghostscript_version: 9.25 ### wp-server ### server_architecture: Linux 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 x86_64 httpd_software: Apache php_version: 7.3.17 64bit php_sapi: litespeed max_input_variables: 1000 time_limit: 30 memory_limit: 256M max_input_time: -1 upload_max_size: 2M php_post_max_size: 8M curl_version: 7.62.0 OpenSSL/1.0.2k suhosin: false imagick_availability: false server-headers: server: nginx date: Fri, 01 May 2020 11:44:56 GMT content-type: text/html; charset=UTF-8 vary: Accept-Encoding x-powered-by: PHP/7.3.17 expires: Wed, 11 Jan 1984 05:00:00 GMT cache-control: no-transform, no-cache, no-store, must-revalidate link: <https://analuartes.pt/wp-json/>; rel="https://api.w.org/", <https://analuartes.pt/>; rel=shortlink x-scale: YXBvY2FzQGdpdGh1Yg== content-encoding: gzip htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 10.3.22-MariaDB client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $ ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /home/analuartes/public_html/wp-content WP_PLUGIN_DIR: /home/analuartes/public_html/wp-content/plugins WP_MAX_MEMORY_LIMIT: 256M 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_LOCAL_DEV: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable ### wpforms ### version: 1.6.0.1 license: false lite: Jun 1, 2019 @ 8:13pm total_forms: 1 total_entries: 1 ### google-site-kit ### version: 1.7.1 php_version: 7.3.17 wp_version: 5.4.1 reference_url: https://analuartes.pt amp_mode: no site_status: not-connected user_status: not authenticated active_modules: site-verification, search-console 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: ? search_console_property: none ### wp_mail_smtp ### version: 1.9.0 license_key_type: lite debug: No debug notices found.
After some time i pass that step but now i’m stuck here https://imgur.com/a/LIrxQY5, and i have a analytics account.
Only works when i activate que snippet
<!– Global site tag (gtag.js) – Google Analytics –>
<script async src=”https://www.googletagmanager.com/gtag/js?id=UA-164510009-1″></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());gtag(‘config’, ‘UA-164510009-1’);
</script>in my code.
@josecarlosamaral Thanks for the update. Can you attempt setup after temporarily deactivating any additional plugins while also switching to a default WordPress theme?
After resetting Site Kit please check from a browser incognito window.
If that fails please share your Site Health information so we can try and reproduce the issue.
First step i already did and dont work.
In browser incognito window dont work also.
The Site Health information i already send you in a previous message.
Just dont work for me the plugin.
I have installed the plugin in two sites and the behavior is the same. No data populated in the graphic.
- The topic ‘No data from analytics to Google Site Kit plugin’ is closed to new replies.