Adding Google analytics #2365
Replies: 3 comments 2 replies
-
I think you should use UA-code. It works for me. It is a legacy one intended only for web analytics. |
Beta Was this translation helpful? Give feedback.
-
Google is phasing out the old properties. Is there any documentation on how to integrate with GA4 properties? |
Beta Was this translation helpful? Give feedback.
-
I have been struggling with getting Google Analytics to work for a couple of months now. It used to work fine until March 2022 (with Google UA). Then I tried to update to GA4 following the instructions adding the following to
When I build the site I get the following error:
The error message points me to an invalid value in the following line in
Any ideas on what's going wrong here? Thank you! |
Beta Was this translation helpful? Give feedback.
-
Hey there,
I am a little confused by the add anayltics section. As written:
So, using that example, I've added the ID in params.yaml
G-
ID rather thanUA-
?Thanks, help would be hugely appreciated.
Beta Was this translation helpful? Give feedback.
All reactions