Skip to content

Commit

Permalink
added google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
SyedMSawaid committed Jan 13, 2025
1 parent 408fea4 commit 80c6093
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/_components/analytics.liquid
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!-- 100% privacy-first analytics -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EV19L88CZQ"></script>
<script>
window.sa_event =
window.sa_event ||
function () {
var a = [].slice.call(arguments);
window.sa_event.q ? window.sa_event.q.push(a) : (window.sa_event.q = [a]);
};
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-EV19L88CZQ');
</script>
<script async src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
<script async src="https://scripts.simpleanalyticscdn.com/auto-events.js"></script>

0 comments on commit 80c6093

Please sign in to comment.