Fix Google Analytics tracking for static docs site. (https://github.com/woocommerce/woocommerce-admin/pull/7439)

This commit is contained in:
Allen Smith 2021-07-29 23:25:59 -04:00 committed by GitHub
parent caab73c924
commit 52e69697f8
1 changed files with 11 additions and 0 deletions

View File

@ -40,6 +40,17 @@
width: 100%;
}
</style>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-8KCYZ2CYMS"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-8KCYZ2CYMS', {
'content_group' : 'WooCommerce Admin Docs',
});
</script>
</head>
<body>
<div id="app"></div>