A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Thanh-Vi Le
Jun 23, 2022
  2581
(0 votes)

Integrate Optimizely with GA4

Google Universal Analytics and Google Analytics 4 

In 2019, GA4 was introduced with the aim of helping businesses approach evolving measurement standards, which involved the following capabilities: 

  • Measuring different kinds of data 
  • Delivering a strong analytics experience 
  • Visualizing unified user journeys across websites and apps 
  • Predicting new insights with machine learning 
  • Keeping up with a changing ecosystem (find out more here) 

GA4 has become Google's recommended version of Google Analytics. Its previous versions – Universal Analytics/Classic Analytics – are some of the most popular analytics tools in use today, but GA4's updated capabilities have been pushing customers to migrate. 

Here are some key differences:

Universal Analytics  GA4
Measurement Session-based Flexible event-based
Reporting Limited across platforms and devices Fully enabled across platforms and devices
Debugging No DebugView report available DebugView report available
IP anonymization Can be enabled/disabled Enabled by default – can’t disable it due to privacy laws
Automation Limited Machine learning-based


On July 1, 2023, GA4 will officially replace Google Universal Analytics.
 

 

Integrate Optimizely with GA4 

 If you would like to migrate to GA4 now, we have several guides on how to integrate Optimizely Web or Full Stack, depending on your use case: 

We will continue to provide further support as we get closer to the sunset of Universal Analytics in 2023. 

Jun 23, 2022

Comments

Please login to comment.
Latest blogs
Building simple Opal tools for product search and content creation

Optimizely Opal tools make it easy for AI agents to call your APIs – in this post we’ll build a small ASP.NET host that exposes two of them: one fo...

Pär Wissmark | Dec 13, 2025 |

CMS Audiences - check all usage

Sometimes you want to check if an Audience from your CMS (former Visitor Group) has been used by which page(and which version of that page) Then yo...

Tuan Anh Hoang | Dec 12, 2025

Data Imports in Optimizely: Part 2 - Query data efficiently

One of the more time consuming parts of an import is looking up data to update. Naively, it is possible to use the PageCriteriaQueryService to quer...

Matt FitzGerald-Chamberlain | Dec 11, 2025 |

Beginner's Guide for Optimizely Backend Developers

Developing with Optimizely (formerly Episerver) requires more than just technical know‑how. It’s about respecting the editor’s perspective, ensurin...

MilosR | Dec 10, 2025