Add GA4 tracking to Happy Tails demo
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Nunito+Sans:wght@400;500;600&display=swap" rel="stylesheet">
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z15EG3SFPD"></script>
|
||||
<script src="js/analytics.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Nunito+Sans:wght@400;500;600&display=swap" rel="stylesheet">
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z15EG3SFPD"></script>
|
||||
<script src="js/analytics.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Nunito+Sans:wght@400;500;600&display=swap" rel="stylesheet">
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z15EG3SFPD"></script>
|
||||
<script src="js/analytics.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
// SloanOps GA4 tracking for the Happy Tails demonstration site.
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){window.dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-Z15EG3SFPD', {
|
||||
linker: {
|
||||
domains: ['sloanops.com', 'wordpress.sloanops.com', 'product-example.sloanops.com', '3031023.xyz', 'test-company.sloanops.com']
|
||||
}
|
||||
});
|
||||
@@ -9,6 +9,8 @@
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Nunito+Sans:wght@400;500;600&display=swap" rel="stylesheet">
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z15EG3SFPD"></script>
|
||||
<script src="js/analytics.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
|
||||
Reference in New Issue
Block a user