sphinx-bootstrap-theme icon indicating copy to clipboard operation
sphinx-bootstrap-theme copied to clipboard

connect to Google Analytics account

Open sbonaretti opened this issue 5 years ago • 1 comments

Hi, How do I set my Google Analytics account ID to enable tracking? I cannot find it in the documentation. Thanks! Serena

sbonaretti avatar Mar 10 '19 17:03 sbonaretti

You can override a lot of the base HTML in https://github.com/ryan-roemer/sphinx-bootstrap-theme/blob/master/demo/source/_templates/layout.html (I've linked our internal demo there). Assuming you're familiar with Sphinx base layout, I'm guessing there are some good places to inject the GA stuff.

ryan-roemer avatar Mar 11 '19 13:03 ryan-roemer