Revert "Add Hotjar code"

This reverts commit fe71cd9a13.
This commit is contained in:
Oliver Davies 2024-10-04 21:30:26 +01:00
parent fe71cd9a13
commit d809fa4a0e
3 changed files with 2 additions and 20 deletions

View file

@ -24,9 +24,6 @@ ctas:
pair: |
Need help or want another pair of eyes on your code? Book a <a href="%site.url%/call">1-on-1 consulting call</a> or an <a href="%site.url%/pair">online pair programming session</a> with a 100% money-back guarantee.,
hotjar:
id: ~
mastodon:
username: opdavies
url: https://mastodon.social/@%mastodon.username%

View file

@ -2,9 +2,6 @@
imports:
- sculpin_site.yml
hotjar:
id: 5159836
plausible:
domain: oliverdavies.uk

View file

@ -4,6 +4,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300&display=swap" rel="stylesheet">
<link href="{{ site.assets.url }}/build/tailwind.css?v={{ site.assets.version }}" rel="stylesheet">
<link rel="canonical" href="{{ site.url }}{{ page.url|trim('/', 'right') }}">
<meta name="author" content="Oliver Davies">
@ -41,20 +43,6 @@
{% endblock %}
{% block styles %}{% endblock %}
{% if site.hotjar.id %}
<!-- Hotjar Tracking Code for https://www.oliverdavies.uk -->
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:{{ site.hotjar.id }},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>
{% endif %}
</head>
<body>
{% block body %}{% endblock %}