Join the Webstudio community

Updated 7 months ago

How to add custom analytic script to a particular page using OpenRelay in Webstudio

At a glance

The community member is trying to add custom script for analytics to their client's website using OpenRelay, but doesn't know how to do it. Another community member suggests adding the script to the project settings to apply it to all pages, or using an HTML embed to add it to a specific page. The community member confirms they were able to find the correct setting and add the script as suggested, with the help of another community member named John Siciliano. There is no explicitly marked answer, but the community members were able to resolve the issue through the discussion.

Hey team, I'm not a developer though I'm trying to learn as much as I can from all of you. Currently I'm trying to figure out how to add custom script for analytic purposes for my client's website using OpenRelay but don't know how to do this. Any help very much appreciated!
J
S
9 comments
why only particular page ? typically you'd just go to project settings and add it to all pages using the html field there. But if you really only want it on one page just add an HTML embed and put it in there
@John Siciliano if that is possible yeah that would be awesome!
which one? here's project settings
Attachment
image.png
Found it!!!! Thanks @John Siciliano πŸ”₯
Curious from a UX standpoint, is there somewhere else you were looking?
I think that makes sense since it where you add the code to the entire page
@John Siciliano at OpenRelay, it says to add the snipet before the </head>, am I doing it right by simply paste the code snipet into that 'Custom Code' box?
Got it! thanks so much John! Really appreciate it!
Add a reply
Sign up and join the conversation on Discord