Error: The response is not a valid JSON response.
-
I have 2 new domains and added 2 analytics accounts responsively but I get this message: Error: The response is not a valid JSON response.
-
Hi @sabizaha,
The error you’re encountering is a generic WordPress error that can appear indecently of using Site Kit, with the error typically associated to an issue with your WordPress REST API.
In order to try and resolve this, please share the following:
- Your Site Health information. You can use this form to share privately if preferred.
- At what point you encounter this error. For example are you seeing this error within the Site Kit dashboard or only when trying to connect the Analytics module?
- Do you see any warnings or errors when checking yourSite Health status (Tools > Site Health > Status), which differs from your Site Health information requested above? Such errors may include REST endpoint references.
Let me know if you have any questions with the above.
wp-core version: 6.2
site_language: en_US
user_language: en_US
timezone: Europe/Athens
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: closed
environment_type: production
user_count: 41
dotorg_communication: true wp-paths-sizes wordpress_path: /var/www/vhosts/globalinfluence.gr/offthepeg.gr
wordpress_size: 888.76 MB (931937267 bytes)
uploads_path: /var/www/vhosts/globalinfluence.gr/offthepeg.gr/wp-content/uploads
uploads_size: 2.01 GB (2159802339 bytes)
themes_path: /var/www/vhosts/globalinfluence.gr/offthepeg.gr/wp-content/themes
themes_size: 56.69 MB (59442796 bytes)
plugins_path: /var/www/vhosts/globalinfluence.gr/offthepeg.gr/wp-content/plugins
plugins_size: 143.24 MB (150196572 bytes)
database_size: 426.16 MB (446857216 bytes)
total_size: 3.49 GB (3748236190 bytes) wp-dropins (1) maintenance.php: true wp-active-theme name: Divi (Divi)
version: 4.20.4
author: Elegant Themes
author_website: https://www.elegantthemes.com
parent_theme: none
theme_features: core-block-patterns, block-templates, widgets-block-editor, post-thumbnails, custom-background, automatic-feed-links, menus, title-tag, post-formats, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, customize-selective-refresh-widgets, wp-block-styles, editor-style, widgets
theme_path: /var/www/vhosts/globalinfluence.gr/offthepeg.gr/wp-content/themes/Divi
auto_update: Disabled wp-themes-inactive (1) Twenty Twenty-Three: version: 1.1, author: the WordPress team, Auto-updates disabled wp-mu-plugins (2) Health Check Troubleshooting Mode: author: (undefined), version: 1.8.1
WP.com Site Helper: author: (undefined), version: (undefined) wp-plugins-active (20) AccessibilityPlus: version: 1.0.5, author: easywpstuff, Auto-updates enabled
Bloom: version: 1.3.12, author: Elegant Themes, Auto-updates enabled
Facebook for WooCommerce: version: 3.0.19, author: Facebook, Auto-updates enabled
Google Listings and Ads: version: 2.4.2, author: WooCommerce, Auto-updates enabled
Health Check & Troubleshooting: version: 1.6.0, author: The www.remarpro.com community, Auto-updates enabled
Marketplace for WooCommerce: version: 1.5.4, author: Algoritmika Ltd, Auto-updates enabled
Monarch Plugin: version: 1.4.14, author: Elegant Themes, Auto-updates enabled
Rank Math SEO: version: 1.0.112, author: Rank Math, Auto-updates enabled
Rank Math SEO PRO: version: 3.0.34, author: Rank Math, Auto-updates disabled
Simple GDPR Cookie Compliance: version: 1.1.5, author: themebeez, Auto-updates enabled
Site Kit by Google: version: 1.98.0, author: Google, Auto-updates enabled
Smart Coupons For WooCommerce Coupons: version: 1.4.6, author: WebToffee, Auto-updates enabled
WooCommerce: version: 7.6.0, author: Automattic, Auto-updates enabled
WooCommerce Google Analytics Integration: version: 1.7.1, author: WooCommerce, Auto-updates enabled
WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels: version: 4.0.8, author: WebToffee, Auto-updates enabled
WPMobile.App [remove order]: version: 0.1, author: WPMobile.App, Auto-updates enabled
WPMobile.App — Android and iOS Mobile Application: version: 11.23, author: WPMobile.App, Auto-updates enabled
YITH WooCommerce Affiliates: version: 2.13.1, author: YITH, Auto-updates enabled
YITH WooCommerce Wishlist: version: 3.20.0, author: YITH, Auto-updates enabled
YYDevelopment - Tag Manager - Header, Body And Footer: version: 3.1.4, author: YYDevelopment, Auto-updates enabled wp-plugins-inactive (1) Affiliate Coupons (Pro): version: 1.1.12, author: Affiliate Coupons, Auto-updates enabled wp-media image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1690
imagemagick_version: ImageMagick 6.9.10-68 Q16 x86_64 2021-10-13 https://imagemagick.org
imagick_version: 3.7.0
file_uploads: File uploads is turned off
post_max_size: 64M
upload_max_filesize: 64M
max_effective_size: 64 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 177 GB
imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
imagick::RESOURCETYPE_FILE: 49152
imagick::RESOURCETYPE_MAP: 177 GB
imagick::RESOURCETYPE_MEMORY: 88 GB
imagick::RESOURCETYPE_THREAD: 1
imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, 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, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, 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, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: unknown wp-server server_architecture: Linux 3.10.0-962.3.2.lve1.5.75.el7.x86_64 x86_64
httpd_software: Apache
php_version: 8.1.18 64bit
php_sapi: cgi-fcgi
max_input_variables: 5120
time_limit: 180
memory_limit: 384M
max_input_time: 180
upload_max_filesize: 64M
php_post_max_size: 64M
curl_version: 7.29.0 NSS/3.53.1
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true wp-database extension: mysqli
server_version: 10.3.36-MariaDB
client_version: mysqlnd 8.1.18
max_allowed_packet: 134217728
max_connections: 1000 wp-constants WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /var/www/vhosts/globalinfluence.gr/offthepeg.gr/wp-content
WP_PLUGIN_DIR: /var/www/vhosts/globalinfluence.gr/offthepeg.gr/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 384M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: false
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Undefined
DB_CHARSET: latin1
DB_COLLATE: undefined wp-filesystem wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
mu-plugins: writable google-site-kit version: 1.98.0
php_version: 8.1.18
wp_version: 6.2
reference_url: https://offthepeg.gr
amp_mode: no
site_status: connected-site
user_status: authenticated
verification_status: verified-non-site-kit
connected_user_count: 3
active_modules: site-verification, search-console, analytics, analytics-4, pagespeed-insights, tagmanager
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::["pagespeed-insights"]: ?
googlesitekit_manage_module_sharing_options::["search-console"]: ?
googlesitekit_manage_module_sharing_options::["pagespeed-insights"]: ?
googlesitekit_delegate_module_sharing_management::["search-console"]: ?
googlesitekit_delegate_module_sharing_management::["pagespeed-insights"]: ?
enabled_features:
adsenseSetupV2: ?
dashboardSharing: ?
ga4ActivationBanner: ?
ga4Reporting: ?
gm3Components: ?
gteSupport: ?
userInput: ?
search-console_shared_roles: none
search-console_management: owner
pagespeed-insights_shared_roles: none
pagespeed-insights_management: all_admins
search_console_property: https://offthepeg.gr/
analytics_account_id: none
analytics_property_id: none
analytics_profile_id: none
analytics_use_snippet: yes
analytics_4_property_id: none
analytics_4_web_data_stream_id: none
analytics_4_measurement_id: none
analytics_4_use_snippet: yes
tagmanager_account_id: 6002??????
tagmanager_container_id: GTM-TNG????
tagmanager_amp_container_id: GTM-TT7????
tagmanager_use_snippet: yesThis is for the first site. Off The Peg.
wp-core version: 6.2
site_language: en_US
user_language: el
timezone: +00:00
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: undefined
environment_type: production
user_count: 3
dotorg_communication: true wp-paths-sizes wordpress_path: /var/www/vhosts/globalinfluence.gr/globalinfluence.gr
wordpress_size: 96.52 MB (101208391 bytes)
uploads_path: /var/www/vhosts/globalinfluence.gr/globalinfluence.gr/wp-content/uploads
uploads_size: 25.41 MB (26642089 bytes)
themes_path: /var/www/vhosts/globalinfluence.gr/globalinfluence.gr/wp-content/themes
themes_size: 60.86 MB (63814651 bytes)
plugins_path: /var/www/vhosts/globalinfluence.gr/globalinfluence.gr/wp-content/plugins
plugins_size: 64.04 MB (67146760 bytes)
database_size: 71.81 MB (75300864 bytes)
total_size: 318.63 MB (334112755 bytes) wp-dropins (1) maintenance.php: true wp-active-theme name: Extra (Extra)
version: 4.20.4
author: Elegant Themes
author_website: https://www.elegantthemes.com
parent_theme: none
theme_features: core-block-patterns, block-templates, widgets-block-editor, custom-background, automatic-feed-links, post-thumbnails, menus, title-tag, et-post-formats, et_widget_areas, html5, wp-block-styles, lifterlms-sidebars, widgets
theme_path: /var/www/vhosts/globalinfluence.gr/globalinfluence.gr/wp-content/themes/Extra
auto_update: Απενεργοποιμ?νο wp-themes-inactive (1) Twenty Twenty-Two: version: 1.4, author: the WordPress team, Οι αυτ?ματε? ενημερ?σει? απενεργοποι?θηκαν wp-plugins-active (14) Affiliate Coupons: version: 1.6.7.7, author: Affiliate Coupons, Οι αυτ?ματε? ενημερ?σει? ενεργοποι?θηκαν
Affiliate Coupons (Pro): version: 1.1.12, author: Affiliate Coupons, Οι αυτ?ματε? ενημερ?σει? απενεργοποι?θηκαν
Bloom: version: 1.3.12, author: Elegant Themes, Οι αυτ?ματε? ενημερ?σει? απενεργοποι?θηκαν
Broken Link Checker: version: 2.0.0, author: WPMU DEV, Οι αυτ?ματε? ενημερ?σει? απενεργοποι?θηκαν
Flexlinks: version: 0.1, author: FlexOffers, Οι αυτ?ματε? ενημερ?σει? απενεργοποι?θηκαν
GTranslate: version: 3.0.2, author: Translate AI Multilingual Solutions, Οι αυτ?ματε? ενημερ?σει? απενεργοποι?θηκαν
Health Check & Troubleshooting: version: 1.6.0, author: The www.remarpro.com community, Οι αυτ?ματε? ενημερ?σει? απενεργοποι?θηκαν
Monarch Plugin: version: 1.4.14, author: Elegant Themes, Οι αυτ?ματε? ενημερ?σει? απενεργοποι?θηκαν
PWA: version: 0.7.1, author: PWA Plugin Contributors, Οι αυτ?ματε? ενημερ?σει? απενεργοποι?θηκαν
Rank Math SEO: version: 1.0.112, author: Rank Math, Οι αυτ?ματε? ενημερ?σει? απενεργοποι?θηκαν
Rank Math SEO PRO: version: 3.0.34, author: Rank Math, Οι αυτ?ματε? ενημερ?σει? απενεργοποι?θηκαν
Simple GDPR Cookie Compliance: version: 1.1.4, author: themebeez (latest version: 1.1.5), Οι αυτ?ματε? ενημερ?σει? απενεργοποι?θηκαν
Site Kit by Google: version: 1.98.0, author: Google, Οι αυτ?ματε? ενημερ?σει? απενεργοποι?θηκαν
YYDevelopment - Tag Manager - Header, Body And Footer: version: 3.1.4, author: YYDevelopment, Οι αυτ?ματε? ενημερ?σει? απενεργοποι?θηκαν wp-media image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1690
imagemagick_version: ImageMagick 6.9.10-68 Q16 x86_64 2021-10-13 https://imagemagick.org
imagick_version: 3.7.0
file_uploads: File uploads is turned off
post_max_size: 64M
upload_max_filesize: 64M
max_effective_size: 64 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 177 GB
imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
imagick::RESOURCETYPE_FILE: 6144
imagick::RESOURCETYPE_MAP: 177 GB
imagick::RESOURCETYPE_MEMORY: 88 GB
imagick::RESOURCETYPE_THREAD: 1
imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, 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, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, 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, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: unknown wp-server server_architecture: Linux 3.10.0-962.3.2.lve1.5.75.el7.x86_64 x86_64
httpd_software: Apache
php_version: 8.1.18 64bit
php_sapi: fpm-fcgi
max_input_variables: 5120
time_limit: 180
memory_limit: 384M
max_input_time: 180
upload_max_filesize: 64M
php_post_max_size: 64M
curl_version: 7.29.0 NSS/3.53.1
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: false wp-database extension: mysqli
server_version: 10.3.36-MariaDB
client_version: mysqlnd 8.1.18
max_allowed_packet: 134217728
max_connections: 1000 wp-constants WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /var/www/vhosts/globalinfluence.gr/globalinfluence.gr/wp-content
WP_PLUGIN_DIR: /var/www/vhosts/globalinfluence.gr/globalinfluence.gr/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 384M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: false
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Δεν ?χει οριστε?
DB_CHARSET: utf8
DB_COLLATE: undefined wp-filesystem wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
mu-plugins: writable google-site-kit version: 1.98.0
php_version: 8.1.18
wp_version: 6.2
reference_url: https://globalinfluence.gr
amp_mode: no
site_status: connected-site
user_status: authenticated
verification_status: verified-non-site-kit
connected_user_count: 1
active_modules: site-verification, search-console, adsense, analytics, 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/adsense.readonly: ?
https://www.googleapis.com/auth/analytics.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::["pagespeed-insights"]: ?
googlesitekit_manage_module_sharing_options::["search-console"]: ?
googlesitekit_manage_module_sharing_options::["pagespeed-insights"]: ?
googlesitekit_delegate_module_sharing_management::["search-console"]: ?
googlesitekit_delegate_module_sharing_management::["pagespeed-insights"]: ?
enabled_features:
adsenseSetupV2: ?
dashboardSharing: ?
ga4ActivationBanner: ?
ga4Reporting: ?
gm3Components: ?
gteSupport: ?
userInput: ?
search-console_shared_roles: none
search-console_management: owner
pagespeed-insights_shared_roles: none
pagespeed-insights_management: all_admins
search_console_property: https://globalinfluence.gr/
adsense_account_id: none
adsense_client_id: none
adsense_account_status: none
adsense_site_status: none
adsense_use_snippet: yes
adsense_web_stories_adunit_id: none
analytics_account_id: none
analytics_property_id: none
analytics_profile_id: none
analytics_use_snippet: yes
analytics_4_property_id: 3323085??
analytics_4_web_data_stream_id: 5084??????
analytics_4_measurement_id: G-RH????????
analytics_4_use_snippet: yesThis is for the second site. Global influence.
I am seeing this error at both sites when I am trying to connect Analytics. I had an old account before and now I made two sites with two accounts maybe that is the problem… I just mention for your convenience.
At the first site I see errors for cache and to remove inactive plugins.
At the second site I see the same errors.
Many thanks for the update. As nothing obvious stands out from reviewing your Site Health information, what I suspect may be happening is something at host level is blocking Analytics setup, although there are a couple of checks we can perform to rule out other causes first. In order to do so, please perform the below checks on one of these sites.
Troubleshooting check one – htaccess refresh: Please try to regenerate your .htacess file by visiting your Permalink setting (Settings > Permalinks) and pressing the save button. You don’t need to make any changes, only press the same button. After doing so, please check does the same occur once more.
Troubleshooting check two – Plugin conflict check: If the same occurs after refreshing your htaccess file, please follow the steps below, which can help rule out third party and browser related conflicts:
- Login to your live site from a Chrome browser incognito window.
- Install and activate the Health Check & Troubleshooting plugin.
- Navigate to “Plugins > Health Check & Troubleshooting > Troubleshoot”.
- From the same screen click on the “Available Plugins” tab at the top right and then click on the “Enable” option next to “Site Kit by Google“.
- Attempt to connect the Analytics module once more.
Note also that if this is only occurring when selecting the option to create a new account within Site Kit, as opposed to selecting an existing account, one workaround is to create the Analytics account over on analyitcs.google.com, and then selecting this within Site Kit.
Let me know how you get on with the above, or ask if you have any questions!
I done all these steps and the problem persists. Should I talk with my hosting provider?
Sorry to hear the problem persists @sabizaha, and thanks for performing these checks.
Before speaking with your hosting provider, can you share a recording of what you’re encountering, along with providing any browser console errors where you see this error? You can use a service such as Loom or RecordIt to share a screen recording, while using this form to share this privately.?
As mentioned above, you can also create an account from Analytics directly, and select this within Site Kit if the issue is only occurring when selecting the option to create a new account or property.
Hi @sabizaha,
We’ve received a Site Health information form response with your Site Health information, but I didn’t notice any recording or browser console errors added, both which can be useful to help determine a possible host level block. If you need any help providing this let me know.
As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you continue to encounter issues, or reopen this topic and we’d be happy to assist.
- The topic ‘Error: The response is not a valid JSON response.’ is closed to new replies.