Google Analytics is a free website analytics service that gives you insights into how users find and use your website. You can easily integrate Google Analytics with your site by simply pasting your GA tracking code into Semplice.
Step 1: Finding your Google Analytics code
First, you need to find your tracking script for your Google Analytics account. Here's a guide from Google showing you where to find it.
Your code should look like this:
<script async src="https://www.googletagmanager.com/gtag/js?id=GA_TRACKING_ID"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'GA_TRACKING_ID');
</script>
Step 2: Adding Google Analytics code
To add the script to your site, go to Settings > General in Semplice and find the Google Analytics field. Paste your code in the field, making sure to wrap the code with <script> at the beginning and </script> at the end. Then hit Save.
You're done! Once you've added and saved your GA tracking code in Semplice, you should start seeing any traffic in Google Analytics within 24 hours.
Troubleshooting
1. If your Google Analytics code is not working, first verify that it is set up correctly by doing a real-time analytics check. You can find more info here from Google.
2. If you've verified that it's working but you are still not receiving data on your website, make sure your code is set correctly including all ID information.
Keep in mind, sometimes it can take up to a day for Google to collect and report your analytics data. If you have set it up recently, it may take a bit of time to start working.