- Published on
How to add Google Analytics to Webflow
Introduction
So, you have created a website on Webflow for your new business venture but have no idea whether the website is driving traffic.
- Is anyone visiting your website?
- Which content on your website are these visitors looking at?
- How long do they stay on your website?
- What other related content on your website are they looking at?
This is where website analytics comes in. A website analytics tool can answer all the questions above and more, helping you ensure that the content you create drives traffic, brings value to your website visitors, and ultimately convert them into paying customers.
One of the most popular website analytics tools is Google Analytics. In this blog post, we’ll walk you through creating and configuring a Google Analytics account, adding Google Analytics to your Webflow site, and confirming that website visits are being tracked correctly.
What is Google Analytics
Google Analytics is a web analytics product offered by Google and is estimated to be used in more that 70% of active websites. Google Analytics is facing scrutiny from many regulators worldwide - especially in Europe - but it is still the major player at this point.
We won’t dive into detail on all the features of Google Analytics, but here are some of the major features that may interest you as a website owner.
- User Demographics and Interests: Google Analytics allows you to understand who your website visitors are in terms of age, gender, geographic location, and interests. This can help you tailor your content and marketing efforts to your target audience.
- Acquisition Reports: This feature shows you where your traffic is coming from - whether organic search, social media, direct visits, referrals from other websites, or paid campaigns. Understanding your traffic sources can help you identify the most effective marketing efforts.
- Behaviour Flow: This tool visualizes users' paths from one page to another, showing where they enter and exit your site and drop off in the sales funnel. This can help you identify any roadblocks that are causing users to leave your site.
- Real-Time Reporting: This feature lets you see activity on your website as it happens. You can monitor the immediate effects of new content or marketing campaigns and react quickly to changes.
- Conversion Goals: Google Analytics allows you to set up specific goals, such as form submissions, product purchases, or time spent on a particular page. You can then track how well your website is meeting these goals.
- Bounce Rate: This metric shows the percentage of visitors who leave your site after viewing just one page. A high bounce rate could indicate that your site is not engaging enough or that users aren't finding what they're looking for.
- Site Speed: This tool measures how quickly your web pages load. Slow page load times can frustrate users and negatively affect your search engine rankings.
Setting up your Google Analytics account
To create a Google Analytics account, head over to https://analytics.google.com. You will be prompted to create a new account. Go ahead and click on the Start measuring button. You will be guided through a multi-step process of creating a new account and property (i.e., the website to be measured) and giving Google details on your business. The final step in the setup process will ask whether you want to collect data for a website, Android app, or iOS app. Select the Web option. Following this, Google Analytics will prompt you to configure a data stream. For this, you will need the domain of your website. You can find the domain by clicking on the Publish dropdown for your Webflow website. If you have a custom domain, use that instead. Complete the information required to create the stream, then click the Create stream button. Google Analytics will create the data stream and display a summary page with the stream details. Copy the Measurement ID, as you will need that to configure Google Analytics in your Webflow site.
Adding Google Analytics to Webflow
You can now add Google Analytics to your Webflow site. Go you your site settings and navigate to the Integrations tab. In the Measurement ID textbox, paste the measurement ID you copied from Google Analytics. Click the Save changes button. After this, be sure to publish the changes to your domains.
Confirming that Google Analytics is working on your Website
You can now test your website to ensure the correct Google Analytics installation. To do this, navigate to the URL for your website in your web browser.
Switch back to Google Analytics, and navigate to the property you just created. If everything is working correctly, Google should indicate that with a message stating that your data collection is active. Please note that the data may take up to 24 hours to appear in your Google Analytics account. So, if you don't see it immediately, don’t panic. Wait a few minutes or hours and check again. You can view website visitors in real time by clicking the View real time link. This should display your location on the map.
Conclusion
In this blog post, we demonstrate how to create a Google Analytics account and link that account to your Webflow site. As you track user visits, you’ll want to analyse the traffic. We suggest you visit the Google Analytics Academy for training material on how to analyse the data and use this data to optimise your site.