Skip to content

Commit

Permalink
add google tag
Browse files Browse the repository at this point in the history
  • Loading branch information
zembutsu committed Jul 20, 2023
1 parent 3d16953 commit 04512ef
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _themes/sphinx_rtd_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@
{# Keep modernizr in head - http://modernizr.com/docs/#installing #}
<script src="{{ pathto('_static/js/modernizr.min.js', 1) }}"></script>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MSW8E7B3LE"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-MSW8E7B3LE');
</script>

</head>

<body class="wy-body-for-nav" role="document">
Expand Down

0 comments on commit 04512ef

Please sign in to comment.