Skip to content

Commit

Permalink
Merge pull request #12 from joevaugh4n/compression
Browse files Browse the repository at this point in the history
added hotjar
  • Loading branch information
joevaugh4n authored Aug 9, 2024
2 parents 0ab22a3 + 0914e3d commit 9798b2e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,23 @@ function getImageUrl(image: ImageMetadata | string): string {
<!doctype html>
<html class="scroll-smooth scroll-pt-20" lang="en" transition:animate="slide">
<head>
<!-- Hotjar Tracking Code for Adam Koszary -->
<script is:inline>
(function (h, o, t, j, a, r) {
h.hj =
h.hj ||
function () {
(h.hj.q = h.hj.q || []).push(arguments);
};
h._hjSettings = { hjid: 5089445, hjsv: 6 };
a = o.getElementsByTagName("head")[0];
r = o.createElement("script");
r.async = 1;
r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv;
a.appendChild(r);
})(window, document, "https://static.hotjar.com/c/hotjar-", ".js?sv=");
</script>

<ViewTransitions />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
Expand Down

0 comments on commit 9798b2e

Please sign in to comment.