feat(analytics): add Google Analytics partial
This commit is contained in:
parent
e1b67d9e5f
commit
874bc5875d
2 changed files with 10 additions and 1 deletions
8
frontend/analytics.php
Normal file
8
frontend/analytics.php
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EQX43RL7NP"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-EQX43RL7NP');
|
||||
</script>
|
||||
|
|
@ -7,4 +7,5 @@
|
|||
<p>Registered company number: 01822577</p>
|
||||
<p><a href="https://www.petsathome.com/privacy-policy" target="_blank">Privacy Policy</a> | <a href="https://www.petsathome.com/terms-and-conditions" target="_blank">Terms & Conditions</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php include('analytics.php'); ?>
|
||||
Loading…
Add table
Reference in a new issue