Hey I found out that new Google Analytics v4 is out but I am not able to use it.
When I paste the new UA code from Google Analytics v4 to Foodomaa Admin Dashboard, it is not tracking.
How do I get it to work?
We did some research on this at our end. Here are the findings:
We are using the “react-ga” package to implement Google Analytics on the Customer application. Apparently they do not support Google Measurement ID (G-xxxxx), but they do support Universal Analytics (UA-xxxxx)
We even updated the package and created our own Measurement ID to check, but it doesn’t work.
It seems like you are on Google Analytics 4, which provided an option for G-xxxxx code and removed the older UA-xxxxx code.
After struggling a bit, we found this answer on Google Forums:
We tried this and we were able to switch back to the older UA-xxx code and after placing the UA-xxxxx code on Foodomaa’s Admin Dashboard, the tracking works as expected.
Please refer to this: