Streaming live at 10am (PST)

How to add JavaScript to every page

#1

Hi;

This must exist but I couldn’t find it in Google search. Is there a place where we can enter javascript (for Google Analytics) that will be inserted into every page? Of any kind (static, CMS, etc.)?

thanks - dave

#2

Project settings allow you to enable GA for example. If you want to add custom code to all pages, then you can do that from settings as well.

#3

Where/how do I get to project settings? I went in again just now and can’t find anything like that (I looked earlier too).

There’s a gear that goes to “settings” but the only thing there is options for search.

thanks - dave

#4

Watch this video.

1 Like
#5

https://university.webflow.com/article/how-to-add-custom-head-and-body-code-to-a-webflow-site#custom-code-in-your-project-settings

Or copy paste GA code before head (A cleaner approach)

-Or- use webflow build-in feild for GA id

Do not use both (do not copy GA script before head+ fill up the field under integrations)

#6

Key point (which is why I was asking) - you don’t get to this in the designer, you get to this by clicking on the thumbnail.