Crucial: Google discontinued Universal Analysis on July 1, 2023. We suggest moving from Universal Analysis to Google Analytics 4. Since Universal Analysis will no longer gather data from your platform.
To acquire valuable insights into user interactions, you can incorporate Google Analytics into your platform. Google Analytics offers robust metrics such as the number of users and page views on your platform, the origins of your platform’s traffic (even down to specific cities), the duration visitors spend on your platform, and the percentage of visitors who exit a page without interacting with other links (bounce rate).
For numerous businesses, Google Analytics metrics aid in determining where to allocate marketing funds and assessing the efficacy of marketing campaigns.
Throughout this tutorial, you will understand:
- The process of integrating Google Analytics with your Webflow platform
- Transitioning from Universal Analytics to Google Analytics 4
Steps to integrate Google Analytics with your Webflow platform
To monitor data and details about platform visitor behavior, you can embed the Google Analytics integration into your platform. It is important to note that Webflow currently only supports Google Analytics 4 measurement IDs. If you have not previously set up Google Analytics on your platform via Webflow’s Google Analytics integration, follow the instructions below to integrate Google Analytics into your platform.
If your platform utilizes Universal Analytics but has not integrated it through Webflow’s Google Analytics integration, you must transition to Google Analytics 4 before integrating it. To begin the transition, refer to Google’s guide on adding a Google Analytics 4 property to a platform already employing Universal Analytics.
If you had previously set up Universal Analytics using Webflow’s Google Analytics integration, please proceed with the steps to move from Universal Analytics to Google Analytics 4.
Incorporate the integration into your platform
- Follow the instructions in Google’s guide for setting up Analytics on a website and/or app
- Select the Web option after creating a property
- Adhere to the Web instructions in step 3, labeled “Add a data stream“
- Follow the guidelines under step 4, titled “Establish data collection for websites,” for locating your “G-” ID (for platforms accepting a “G-” ID)
- Make a note of your “G-” ID (i.e., your measurement ID)
Please Note: Your measurement ID must commence with “G-” and all measurement IDs are case-sensitive.
Afterward, follow these subsequent steps in Webflow:
- Navigate to Site settings > Integrations tab> Google Analytics
- Paste your measurement ID into the Measurement ID field
- Click on Save changes
- Publish your platform
Important: You do not need a paid site or Workspace plan to incorporate Google Analytics into your platform. However, a paid site or Workspace plan is required for adding custom code extensions.
How to monitor Ecommerce events
Upon activating Webflow Ecommerce and integrating Google Analytics into your platform, Webflow will automatically track ecommerce-related events such as “viewed product,” “added product to cart,” and “purchased product.” Remember to activate Ecommerce tracking to receive these events on Google Analytics 4.
Verifying the connection between your platform and Google Analytics
To confirm a successful integration, visit your platform, access your Google Analytics reports, and opt for Realtime. If your platform is open in another tab, the Realtime report will display your ongoing activity.
Important: It takes some time for Google Analytics data to collect. Insights might not be readily available until a day or more after aggregation.
Resources: Explore further on tracking outbound links
Incorporating Google Analytics 4 into your platform’s custom code
To prevent duplicate tracking scripts, we suggest adding your Google Analytics 4 Google tag to either of these two locations:
- Your Site settings > Integrations tab> Google Analytics
- The head section of your platform’s code
Transition from Universal Analytics to Google Analytics 4
If you already utilize Universal Analytics on your platform, Google deprecated Universal Analytics on July 1, 2023. Therefore, we urge you to shift to Google Analytics 4 (GA4) promptly.
In case your Google Analytics integration shows an ID starting with “UA-“
If your Site settings > Integrations tab> Google Analytics displays an empty Measurement ID field alongside a tracking ID (commencing with “UA-“) in the notification box, you are currently utilizing Universal Analytics in Webflow’s Google Analytics integration. A transition to Google Analytics 4 is required.