Integration with GA4

  • 21 November 2022
  • 5 replies

The current available GA analytics is Universal. Will this work for GA4? or is there another way we’ll have to integrate for GA4?

5 replies

Userlevel 3

Hi @omega-kim! Thanks for reaching out! 

FullStory does not support GA4 at this time, however, we do have alternative implementation options you can follow:

Option 1: Customer hosted DLC (FKA, “DLO”) GA4 data ingestion code

GA Events: Your dev team can re-work Data Layer Capture code to custom capture your GA4 data. We have some open source Data Layer Capture code (specific to Google Analytics) you can work with, here

GA E-Commerce.

The above code examples are basically what FullStory’s DLC tool does behind the scenes, so if you pass the “_dlo_rules…” argument in the window object to set your GA4 values (before the fs.js main snippet runs) then FullStory should pick them up. If your dev team requires additional help writing custom code then we can put you in touch with our Professional Services team who can assist further.

Option 2: Send valuable data to FullStory APIs

You can feed any valuable GA4 data to FullStory via several Client APis --- whether Event, User, or Page data.

  1. For Events, use FS.event API
  2. For User Identification, use FS.identify
  3. For User Variables, use FS.setUserVars
  4. For Webpage Variables, use FS.setVars('page')
  1. You can begin passing us data via these APIs right away. We have some useful guides in our Knowledge Base on using these APIs, if helpful.

Please let me know if you have any other questions! 

Thanks for that info @lindsay do you know if it’s in the roadmap or if there is an ETA for GA4?

Userlevel 5

Hi @omega-kim! Jumping in for Lindsay here. No ETA for GA4 at this time; however, we are thinking through what type of integration might be most useful. Are you interested in passing FullStory session URLs into Google Analytics, or capturing Google Analytics data layer events in FullStory? Or something else entirely? Would love to hear what’s on your mind! 😊

Honestly, I’m not sure. I set up the integration to Google UA because it was easy to do. I’m not sure we ever really made use of it. Passing data layer event to Fullstory may actually be more useful, as long as it’s easy to setup. I think we tried that using tag manger before, but IT was concerned it was adding load time to our page.

Userlevel 5

Got it! That makes sense, and thanks so much for sharing. I’ll pass this along to our Product Managers for their consideration.