I am trying to implement Web Vitals monitoring with GTM and GA4.
To do this I am using custom GTM template created by Simo Ahava. LINK
From what I see, I have done this implementation correctly - I can see the variables I need to be pushed to the data layer when previewing
This is how I push them to GA4:
Now the issues are in the GA4 end. I can see the events populating to GA4. However, when I go to Analysis Hub and try to create a custom report, I can get the counts of the events, but their values show up as 0
When using the DebugView in GA4, I can indeed see that the values are getting pushed correctly
So my question is... What am I doing wrong here? Why are the values not showing up?
EDIT: I have tried more things. Still not working but wanted to give you and update.
I have added custom metric and dimension to GA4 in hopes to fix this issue.
A custom metric for web vitals value
A custom dimension for web vitals name
I tried all the possible combos:
- Dimension: Event Name (default one), metric: Web Vitals Value
- Dimension: Web Vitals Name (custom), metric: Web Vitals Value
- Dimension: Web Vitals Name (custom), metric: Event Value
None of them worked. However, here is something peculiar I found. When using Web Vitals Name as dimension, I cannot pick up names either. This leads me to believe I am doing some sort of error in the first place.
Maybe this will help somewhat....