Troubleshooting ExactMetrics: Fixing Common Dashboard and Tracking Issues
Content
If you're using the ExactMetrics plugin and suddenly find your dashboard empty, graphs not loading, or data not being sent to Google Analytics, you're not alone. These are some of the most frequently reported issues within the community. This guide will walk you through the common causes and their solutions, based on collective user experience.
Common Symptoms and Their Causes
Users often report one or more of the following problems:
- An empty dashboard widget or a spinning "blue bar of death."
- Browser console errors like
Uncaught ReferenceError: google is not definedorUncaught TypeError: Cannot read property 'arrayToDataTable' of undefined. - Google Tag Assistant reporting errors such as "Missing HTTP Response" or "Missing JS code."
- The plugin worked previously but stopped sending data after a WordPress, plugin, or PHP update.
- Issues appearing after integrating with a service like Cloudflare.
How to Troubleshoot and Fix These Issues
Follow these steps to diagnose and resolve the problem.
1. Clear All Caches
Caching is a common culprit. Clear your:
- Browser Cache: Perform a hard refresh (Ctrl + F5 on Windows, Cmd + Shift + R on Mac).
- WordPress Cache: Clear any caching from plugins like WP Rocket, W3 Total Cache, or WP Super Cache.
- Server/CDN Cache: If you use Cloudflare or another CDN, purge its cache. This is a critical step.
2. Check for Conflicts with Other Plugins or Themes
A conflict with another plugin is a very common cause. To test for this:
- Temporarily deactivate all other plugins except ExactMetrics.
- Switch to a default WordPress theme like Twenty Twenty-One.
- Check if the ExactMetrics dashboard loads correctly.
- If it works, reactivate your plugins one by one, checking the dashboard after each activation, until you find the one causing the conflict.
3. Investigate Cloudflare and CDN Configuration
If you use Cloudflare, its optimization settings can break the plugin's admin JavaScript. Try these steps:
- Create a Page Rule in Cloudflare to bypass caching for your WordPress admin area:
www.yourdomain.com/wp-admin/*. Set the Cache Level to Bypass. - In Cloudflare's Speed optimization tab, try disabling "Rocket Loader" or "Mirage," as these asynchronous loading features are known to cause conflicts.
4. Re-authenticate with Google
Sometimes the connection between your website and Google Analytics can break.
- Go to ExactMetrics > Settings.
- Deactivate and then re-authenticate your connection with Google Analytics.
- This can often resolve issues related to API errors or missing tracking codes.
5. Check for JavaScript Errors
If your dashboard is blank, a JavaScript error is likely stopping the graphs from rendering.
- While on your WordPress dashboard, open your browser's console.
- Chrome/Edge: Press Ctrl + Shift + J (Windows) or Cmd + Option + J (Mac).
- Firefox: Press Ctrl + Shift + K (Windows) or Cmd + Option + K (Mac).
- Look for any red error messages and search for them online. Common errors mention
googleorarrayToDataTablebeing undefined. - These errors often point to a conflict (see Step 2) or a CDN issue (see Step 3).
6. Review Your PHP Configuration
After a PHP update (e.g., to version 7.1 or higher), the plugin may stop working if your server lacks a required module.
- Check that PHP cURL with SSL support is installed and enabled on your server. You may need to contact your web hosting provider to confirm this.
- Check your PHP error logs or the Errors & Debug screen in ExactMetrics settings for clues.
When the Issue Might Be on Google's End
It's important to remember that ExactMetrics relies on Google's services. On rare occasions, widespread outages on Google's end (affecting oAuth or the Analytics API) can cause the plugin to temporarily malfunction. If multiple users report a sudden, simultaneous problem, it's worth checking a service like DownDetector for Google Analytics to see if there is a known outage.
Conclusion
Most issues with the ExactMetrics dashboard and tracking can be resolved by methodically working through the steps above, starting with clearing caches and checking for plugin conflicts. The community has found that configuration with services like Cloudflare requires special attention to avoid breaking the plugin's functionality.
Related Support Threads Support
-
Plugin used to work, not working anymorehttps://wordpress.org/support/topic/plugin-used-to-work-not-working-anymore/
-
Google Tag – Missing Js codehttps://wordpress.org/support/topic/google-tag-missing-js-code/
-
Plugin not workhttps://wordpress.org/support/topic/plugin-not-work-16/
-
Not loading libraries errorhttps://wordpress.org/support/topic/not-loading-libraries-error/
-
Missing HTTP Responsehttps://wordpress.org/support/topic/missing-http-response-2/
-
Plugin not showing any stats on dashboard after integrating with Cloudflare.https://wordpress.org/support/topic/plugin-not-showing-any-stats-on-dashboard-after-integrating-with-cloudflare/
-
Plugin doesn’t works in wp 4.7.3 againhttps://wordpress.org/support/topic/plugin-doesnt-works-in-wp-4-7-3-again/
-
Plugin Inaccessible to Screenreader usershttps://wordpress.org/support/topic/plugin-inaccessible-to-screenreader-users/
-
BUGhttps://wordpress.org/support/topic/bug-173/
-
Graphic is invisiblehttps://wordpress.org/support/topic/graphic-is-invisible/
-
Plugin not showing any stats on dashboard after integrating with Cloudflare.https://wordpress.org/support/topic/plugin-not-showing-any-stats-on-dashboard-after-integrating-with-cloudflare-2/
-
Plugin not showing any data, just the plugin Namehttps://wordpress.org/support/topic/plugin-not-showing-any-data-just-the-plugin-name/
-
php 7.1https://wordpress.org/support/topic/php-7-1-14/
-
Plugin requirement need to working with firewallhttps://wordpress.org/support/topic/plugin-requirement-need-to-working-with-firewall/
-
Plugin Stopped Sending Data to Google all of a suddenhttps://wordpress.org/support/topic/plugin-stopped-sending-data-to-google-all-of-a-sudden/
-
Plugin not working :(https://wordpress.org/support/topic/plugin-not-working-758/
-
(Not provided)https://wordpress.org/support/topic/not-provided-2/