Google Analytics seems not working
I have deployed the client to Netlify with
REACT_APP_GOOGLE_ANALYTICS_ID=xxx npm build
, but it seems that it is not linked yet.
How to check whether the Google Analytics is installed correctly in the website?3 Replies
Hi @Nick. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
To check if Google Analytics is installed correctly, you can inspect your website's source code and look for the Google Analytics tracking code. This code is usually placed in the
<head>
section of your HTML.
However, from the knowledge sources provided, there's no specific information on how to integrate Google Analytics with a Wasp application.
For more detailed instructions, you might want to check the official Google Analytics documentation or ask for help in the Wasp community on Discord.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @Nick, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?But due to the cookie setting, we do not put it in the head directly. How to check it then?
I just found that it is placed in the body of html. Anything else we should do for Google Analytics to work well?