You can use the Google Analytics tool to evaluate how users interact with your website. You will find out how often your page is visited, how users get there, how long they stay there and what they are looking at. With this information you can continuously improve your website. This article shows you how to set up Google Analytics.
This is google analytics
Google Analytics is a service from Google that you can use to analyze how your app or website is being used. You can find out, for example, how often your website is accessed, how users get there and what they are looking at. You can also link other applications such as Google Ads with Google Analytics. Google Analytics used to be called "Universal Analytics".
With Google Analytics, you focus on how users interact with your site. You can use the Google Search Console to analyze how your website is found by the search engine. Find out exactly what Search Engine Optimization (SEO) is here.
To use Google Analytics, you need to set up an Analytics account and add a Google Analytics tracking code to your website. You can also use Google's Tag Manager for this. In the following you will now find out how to set up a Google Analytics account, how to start data collection and how to anonymize the IP addresses of your users.
Set up a Google Analytics account
Follow our step-by-step instructions or take a look at the brief instructions ..
Start data collection with Google Analytics
Follow these step-by-step instructions or take a look at the quick start guide .
Data protection: anonymize the IP of the user
In order to protect users' data, it is imperative that you anonymize their IP addresses before tracking. A small addition to the tag that you added to the <head> section of your HTML code is sufficient for this. To do this, write the following in the last line of code after your tracking ID: ", {'anonymize_ip': true}". The entire last line then reads "gtag ('config', ' [Your tracking ID is here] ', {'anonymize_ip': true})"..
Quick guide: Create a Google Analytics account
- Open the Google Marketing Platform and hover your mouse over " For Small Businesses " at the top . Then select " Analytics " in the menu that opens .
- Now click on " Start for free " in the upper right corner . Sign in with your Google account .
- Then click in the middle on " Start measurement ". You will now be guided through the account setup.
- First give your account a name and make settings for data sharing . Then click on " Next " below .
- Now set up your property . Give it a name, set the time zone and, if necessary, the currency. Then click on " Next " below .
- Optionally, you can now enter information about your company. Then click on " Create " below .
- Read and accept the Google Analytics Terms of Use .
- Then decide which emails you would like to receive about Google Analytics.
- Google Analytics is now ready for your use.
Quick guide: start collecting data with Google Analytics
- Under " Administration " click on " Data Streams " and select the type of your project (here a website as an example).
- Provide the required information about your project, then click " Create Stream " below .
- The last thing you need to do is add a tracking tag to your website. To do this, either copy the " General Website Tag " and paste it yourself in the HTML <head> of your website. Or you can manage your tags with the Google Tag Manager .
- The analysis tag now collects data about user activity on your website. As the operator of the site, you are obliged to protect your users' data by anonymizing their IP address !