Join the Webstudio community

Updated 2 months ago

Adding Analytics Tools: Considerations for Performance and Integration

At a glance

The post asks if there is support for adding analytics tools like Hotjar and Google Analytics, and whether it should be done through HTML embed or if it impacts performance. The comments suggest that the "Project settings > Custom Code" is the right place to add analytics code, and that this is a regular code section that can be used for various use cases, not just analytics. Community members discuss whether a dedicated analytics section in the UI would be helpful, but note that the current "Custom Code" approach works. There is no explicitly marked answer in the comments.

Q: Is there any support for adding analytics tools like hotjar and/or Google Analytics ? Is it through the HTML embed ? Does it impact performance over adding the code for them by pasting it in the header ?
O
S
J
8 comments
Project settings > Custom Code is the right place for analytics
@John Siciliano I think this question came up before, should we add something to the docs? Specifically keyword analytics should be searchable
Would it provide too much overhead if you have a dedicated section for analytics in the UI, and then inject the code simply as usual ? Might sound trivial, but having a dedicated entrypoint for something a lot of people are looking at could help remove this question entirely. Even if in the end what the control does it simply inject code the same way "Custom Code" would, it would help make the feature surface better
its not dedicated, its a regular code, you can put in anything in there
analytics is just one of the use cases
done. also noted it doesnt output in the builder
yes, this is only in prod
Add a reply
Sign up and join the conversation on Discord