ioos / notebooks_demos

Notebook demonstrations and examples
https://ioos.github.io/notebooks_demos/
MIT License
19 stars 19 forks source link

Get Google Analytics working on the JuyterBook format #407

Closed ocefpaf closed 3 years ago

ocefpaf commented 3 years ago

@lohithmunakala you can follow the discussion here. Not that we did not forward with the changes in the current theme b/c we would need to modify them to JupyterBook.

lohithmunakala commented 3 years ago

@ocefpaf could you confirm if the GA code is G-W7S16LPGS7? (from https://github.com/ioos/notebooks_demos/pull/402). We can add this to the .yaml file of the jupyterbook to track the site.

ocefpaf commented 3 years ago

@ocefpaf could you confirm if the GA code is G-W7S16LPGS7? (from #402). We can add this to the .yaml file of the jupyterbook to track the site.

@MathewBiddle created it but I believe that is the correct one.

lohithmunakala commented 3 years ago

@ocefpaf could you confirm if the GA code is G-W7S16LPGS7? (from #402). We can add this to the .yaml file of the jupyterbook to track the site.

@MathewBiddle created it but I believe that is the correct one.

Okay I'll use that and see how I can add it. Thanks!

MathewBiddle commented 3 years ago

Yes, the GA code is G-W7S16LPGS7. If it makes a difference, this is a Google Analytics 4 property.