Skip to content

Commit

Permalink
Google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
imbant committed Nov 7, 2024
1 parent 951e30b commit 49ad134
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions themes/maupassant/layout/_partial/head.pug
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ head
if config.feed
link(rel='alternate', type=feed_type, href=url_for(config.feed.path))
//- <!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-ZM9NGRYKWS"></script>
<script>
script(async src="https://www.googletagmanager.com/gtag/js?id=G-ZM9NGRYKWS")
script.
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

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

//- if theme.google_analytics
//- script.
//- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
Expand Down

0 comments on commit 49ad134

Please sign in to comment.