Skip to content

Commit

Permalink
feat(storybook): add GA
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitano committed Dec 16, 2022
1 parent 643f100 commit a02deb9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@
rel="stylesheet"
/>

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

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

<script>
window.global = window;
</script>

0 comments on commit a02deb9

Please sign in to comment.