• Resolved hatannoka

    (@hatannoka)


    Hi,

    I installed Site kit but no Analytics data. The website GAChecker doesn’t find any tracking code and I found this in the HTML code :

    <!-- Extrait de refus Google Analytics ajouté par Site Kit -->
    			<script type="text/javascript">
    window["ga-disable-UA-192644151-1"] = true;
    </script>
    			<script type="text/javascript">
    window["ga-disable-G-T7H4F1WMDY"] = true;
    </script>
    			<!-- Arrêter l'extrait de refus Google Analytics ajouté par Site Kit -->

    I’m also connected to Google Tag Manager and I have this code :

    <!-- Extrait Google Analytics ajouté par Site Kit -->
    <script   type='text/javascript' src='https://www.googletagmanager.com/gtag/js?id=UA-192644151-1' id='google_gtagjs-js' async></script>
    <script   type='text/javascript' id='google_gtagjs-js-after'>
    window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}
    gtag('set', 'linker', {"domains":["www.uneseriedanecdotes.fr"]} );
    gtag("js", new Date());
    gtag("set", "developer_id.dZTNiMT", true);
    gtag("config", "UA-192644151-1", {"anonymize_ip":true});
    gtag("config", "G-T7H4F1WMDY");
    </script>
    
    <!-- Arrêter l'extrait Google Analytics ajouté par Site Kit -->

    What did I do wrong?

    I use Divi and W3 Total Cache

    Thank you for your help.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Hi @hatannoka,

    Thanks for reaching out. While I can’t be sure how the GAChecker website works I did check your site using the tagassistant.google.com service and using Chrome’s developer tools. From doing so it does look like there may be something blocking tracking, as you’ve referenced.

    If you’d like to share your Site Health information I’d be happy to check this further. I notied a coYou can use this form to share privately if preferred.

    My first thought is your non tracking could be due to a configuration with your Cookie Notice plugin. Once we have the above we can advise further. Feel free to temporarily deactivate this plugin if you wish, at which point I can perform some additional checks. Let me know if you have any questions.

    Thread Starter hatannoka

    (@hatannoka)

    Hi James,

    Thank you for your quick reply.

    Here is my Site Health Information :

    
    ### wp-core ###
    
    version: 5.9
    site_language: fr_FR
    user_language: fr_FR
    timezone: Europe/Paris
    permalink: /%category%/%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: closed
    environment_type: production
    user_count: 2
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /home/clients/******/prod/uneseriedanecdotes
    wordpress_size: 1,60 Go (1718239703 bytes)
    uploads_path: /home/clients/******/prod/uneseriedanecdotes/wp-content/uploads
    uploads_size: 400,99 Mo (420473327 bytes)
    themes_path: /home/clients/******/prod/uneseriedanecdotes/wp-content/themes
    themes_size: 42,42 Mo (44484124 bytes)
    plugins_path: /home/clients/*******/prod/uneseriedanecdotes/wp-content/plugins
    plugins_size: 104,00 Mo (109054345 bytes)
    database_size: 27,09 Mo (28406528 bytes)
    total_size: 2,16 Go (2320658027 bytes)
    
    ### wp-dropins (1) ###
    
    advanced-cache.php: true
    
    ### wp-active-theme ###
    
    name: Divi Community Child Theme (Divi-Community)
    version: 1.1
    author: Julien - WebMate
    author_website: https://www.divi-community.fr
    parent_theme: Divi (Divi)
    theme_features: core-block-patterns, widgets-block-editor, custom-background, automatic-feed-links, post-thumbnails, menus, title-tag, post-formats, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, customize-selective-refresh-widgets, editor-style, widgets
    theme_path: /home/clients/******/prod/uneseriedanecdotes/wp-content/themes/Divi-Community
    auto_update: Désactivé
    
    ### wp-parent-theme ###
    
    name: Divi (Divi)
    version: 4.14.2 (latest version: 4.14.8)
    author: Elegant Themes
    author_website: http://www.elegantthemes.com
    theme_path: /home/clients/******/prod/uneseriedanecdotes/wp-content/themes/Divi
    auto_update: Désactivé
    
    ### wp-themes-inactive (1) ###
    
    Twenty Twenty-Two: version: 1.0, author: L’équipe WordPress, Mises à jour auto désactivées
    
    ### wp-mu-plugins (1) ###
    
    Mu-Plugin WP Serveur: version: 1.5, author: WPServeur
    
    ### wp-plugins-active (22) ###
    
    Advanced Custom Fields: version: 5.11.4, author: Delicious Brains, Mises à jour auto désactivées
    Advanced Editor Tools (previously TinyMCE Advanced): version: 5.6.0, author: Automattic, Mises à jour auto désactivées
    Asset CleanUp: Page Speed Booster: version: 1.3.8.5, author: Gabe Livan, Mises à jour auto désactivées
    BBQ Firewall: version: 20220122, author: Jeff Starr, Mises à jour auto désactivées
    Blog Designer Pack: version: 2.3, author: InfornWeb, Mises à jour auto désactivées
    Classic Editor: version: 1.6.2, author: WordPress Contributors, Mises à jour auto désactivées
    Classic Widgets: version: 0.3, author: WordPress Contributors, Mises à jour auto désactivées
    Cookie Notice & Compliance for GDPR / CCPA: version: 2.2.1, author: Hu-manity.co, Mises à jour auto désactivées
    Duplicator: version: 1.4.4, author: Snap Creek, Mises à jour auto désactivées
    Email Encoder - Protect Email Addresses: version: 2.1.3, author: Ironikus, Mises à jour auto désactivées
    OMGF: version: 4.6.0, author: Daan from FFW.Press, Mises à jour auto désactivées
    Recent Posts Widget Extended: version: 1.1.0, author: Idenovasi, Mises à jour auto désactivées
    Redirection: version: 5.2.3, author: John Godley, Mises à jour auto désactivées
    Sassy Social Share: version: 3.3.38, author: Team Heateor, Mises à jour auto désactivées
    Simple Lightbox: version: 2.8.1, author: Archetyped, Mises à jour auto désactivées
    Site Kit by Google: version: 1.68.0, author: Google, Mises à jour auto désactivées
    W3 Total Cache: version: 2.2.1, author: BoldGrid, Mises à jour auto désactivées
    WebP Converter for Media: version: 4.2.1, author: Mateusz Gbiorczyk, Mises à jour auto désactivées
    WPS Cleaner: version: 1.6.6, author: WPServeur, NicolasKulka, wpformation, Mises à jour auto désactivées
    WPS Hide Login: version: 1.9.3, author: WPServeur, NicolasKulka, wpformation, Mises à jour auto désactivées
    WPS Limit Login: version: 1.5.4, author: WPServeur, NicolasKulka, wpformation, Mises à jour auto désactivées
    Yoast SEO: version: 18.1, author: Team Yoast, Mises à jour auto désactivées
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1690
    imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
    imagick_version: 3.6.0
    file_uploads: File uploads is turned off
    post_max_size: 128M
    upload_max_filesize: 200M
    max_effective_size: 128 Mo
    max_file_uploads: 20
    imagick_limits: 
    	imagick::RESOURCETYPE_AREA: 122 Mo
    	imagick::RESOURCETYPE_DISK: 1073741824
    	imagick::RESOURCETYPE_FILE: 768
    	imagick::RESOURCETYPE_MAP: 512 Mo
    	imagick::RESOURCETYPE_MEMORY: 256 Mo
    	imagick::RESOURCETYPE_THREAD: 1
    imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    gd_version: 2.2.5
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: unknown
    
    ### wp-server ###
    
    server_architecture: Linux 4.19.0-16-amd64 x86_64
    httpd_software: nginx/1.14.2
    php_version: 7.4.27 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 1000
    time_limit: 180
    memory_limit: 256M
    max_input_time: 180
    upload_max_filesize: 200M
    php_post_max_size: 128M
    curl_version: 7.64.0 OpenSSL/1.1.1d
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 10.3.31-MariaDB-0+deb10u1
    client_version: mysqlnd 7.4.27
    max_allowed_packet: 16777216
    max_connections: 151
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/clients/******/prod/uneseriedanecdotes/wp-content
    WP_PLUGIN_DIR: /home/clients/*******/prod/uneseriedanecdotes/wp-content/plugins
    WP_MEMORY_LIMIT: 256M
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Indéfini
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    
    ### google-site-kit ###
    
    version: 1.68.0
    php_version: 7.4.27
    wp_version: 5.9
    reference_url: https://www.uneseriedanecdotes.fr
    amp_mode: no
    site_status: connected-site
    user_status: authenticated
    verification_status: verified-file
    connected_user_count: 1
    active_modules: site-verification, search-console, adsense, analytics, analytics-4, pagespeed-insights
    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/adsense.readonly: ✅
    	https://www.googleapis.com/auth/analytics.readonly: ✅
    capabilities: 
    	googlesitekit_authenticate: ✅
    	googlesitekit_setup: ✅
    	googlesitekit_view_posts_insights: ✅
    	googlesitekit_view_dashboard: ✅
    	googlesitekit_view_module_details: ✅
    	googlesitekit_manage_options: ✅
    enabled_features: 
    	dashboardSharing: ⭕
    	ideaHubModule: ⭕
    	serviceSetupV2: ⭕
    	swgModule: ⭕
    	userInput: ⭕
    	unifiedDashboard: ✅
    	zeroDataStates: ⭕
    search_console_property: https://www.uneseriedanecdotes.fr/
    adsense_account_id: pub-862•••••••••••••
    adsense_client_id: ca-pub-862•••••••••••••
    adsense_account_status: none
    adsense_use_snippet: yes
    adsense_web_stories_adunit_id: none
    analytics_account_id: 1926•••••
    analytics_property_id: UA-1926•••••••
    analytics_profile_id: 2396•••••
    analytics_use_snippet: yes
    analytics_4_property_id: 3042838••
    analytics_4_web_data_stream_id: 3255••••••
    analytics_4_measurement_id: G-T7••••••••
    analytics_4_use_snippet: yes
    
    

    I’ve since deactivate my cookie plugin wich is Cookie Notice & Compliance for GDPR / CCPA.

    • This reply was modified 4 years, 3 months ago by Yui.
    • This reply was modified 4 years, 3 months ago by Yui. Reason: formatting
    Thread Starter hatannoka

    (@hatannoka)

    Just a heads up : Nothing seems to change since I deactivated the Cookie plugin.

    Plugin Support James Osborne

    (@jamesosborne)

    Hi @hatannoka,

    Thanks for the update and apologies for the late response. I’ve checked your site and I can also see my visit doesn’t seem to be recording. In order to troubleshoot this further can you temporary deactivate your cookie plugin and also W3 Total Cache? After doing so let me know and I’ll perform some additional checks.

    Thread Starter hatannoka

    (@hatannoka)

    Hi James,

    Sorry for the delay.

    I’ve deactivated the cookie plugin and W3 Total cache.

    Plugin Support James Osborne

    (@jamesosborne)

    Hi @hatannoka,

    That was it! I can now see your site is tracking as expected, from both manual checks and from using tagassistant.google.com.

    So you can ensure all plugins work together as expected have you tried resetting both W3 Total Cache and your Cookie plugin to their default configuration, before checking your tracking each time using the Analytic real time report or the tagassistant.google.com service?

    Thread Starter hatannoka

    (@hatannoka)

    No I didn’t, but I would definitely do that. Now that I know where the problem come from I will start from there and adapt.

    Thank you very much for figuring out, James.

    Plugin Support James Osborne

    (@jamesosborne)

    No problem, glad to hear you were able to determine the cause.

    If you have any further Site Kit queries going forward be sure to get in touch. And if you have a moment free be sure to leave your plugin review.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Site Kit Analytics Refusal’ is closed to new replies.