Do you want to test or verify if your Google Analytics tracking code is running on your website?
Once you’ve installed ExactMetrics, and connected to Google Analytics, it’s good practice to confirm that your Google Analytics tracking code is working as expected.
Follow this guide to learn the different ways of testing.
- You’ve already installed and activated ExactMetrics.
- You’ve already connected ExactMetrics with Google Analytics.
- You are logged out of your WordPress site, or you are using an Incognito / Private window to test.
By default, ExactMetrics will not run your tracking code if you’re logged in as an Administrator or Editor on your WordPress site.
Viewing the Source Code
You can simply view your website’s source code and search for ExactMetrics’ output to see if your tracking code is working.
First you’ll need to inspect element or view source while on your website.
Right-click anywhere while on your website and choose the option to view your page source. The option can vary from browser to browser:
- Inspect Element
- View Page Source
Whichever the wording, find and click the option:
Then you can do a search within the source code (using CTRL + F or CMD + F) to confirm if ExactMetrics is inserting your tracking code:
Under the text that says “This site uses the Google Analytics by ExactMetrics plugin” you can check to see if your tracking code is being inserted!
You did it! You learned how to verify your tracking code output.
What’s next? If you see your Google Analytics tracking code twice in your website, then you might have duplicate trackers that can skew your data. Learn how to remove other Google Analytics tracking codes.