Back to Community

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 defined or Uncaught 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:

  1. Temporarily deactivate all other plugins except ExactMetrics.
  2. Switch to a default WordPress theme like Twenty Twenty-One.
  3. Check if the ExactMetrics dashboard loads correctly.
  4. 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.

  1. Go to ExactMetrics > Settings.
  2. Deactivate and then re-authenticate your connection with Google Analytics.
  3. 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.

  1. 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).
  2. Look for any red error messages and search for them online. Common errors mention google or arrayToDataTable being undefined.
  3. 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