Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Upgrade to G4A
Browse files Browse the repository at this point in the history
  • Loading branch information
kilemensi committed Jun 30, 2023
1 parent 5b41e77 commit 5c0ed32
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,29 +110,14 @@
</footer>
<!-- /.footer -->

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DJ7RJ4F2Z1"></script>
<script>
(function(i, s, o, g, r, a, m) {
i["GoogleAnalyticsObject"] = r;
(i[r] =
i[r] ||
function() {
(i[r].q = i[r].q || []).push(arguments);
}),
(i[r].l = 1 * new Date());
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m);
})(
window,
document,
"script",
"https://www.google-analytics.com/analytics.js",
"ga"
);
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

ga("create", "{{ site.google_analytics }}", "auto");
ga("send", "pageview");
gtag('config', 'G-DJ7RJ4F2Z1');
</script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
Expand Down

0 comments on commit 5c0ed32

Please sign in to comment.