diff --git a/app/config/sculpin_site.yml b/app/config/sculpin_site.yml index a1d070cb..49a59e1c 100644 --- a/app/config/sculpin_site.yml +++ b/app/config/sculpin_site.yml @@ -24,6 +24,9 @@ ctas: pair: | Need help or want another pair of eyes on your code? Book a 1-on-1 consulting call or an online pair programming session with a 100% money-back guarantee., +hotjar: + id: ~ + mastodon: username: opdavies url: https://mastodon.social/@%mastodon.username% diff --git a/app/config/sculpin_site_prod.yml b/app/config/sculpin_site_prod.yml index 16aa94f0..69e333ac 100644 --- a/app/config/sculpin_site_prod.yml +++ b/app/config/sculpin_site_prod.yml @@ -2,6 +2,9 @@ imports: - sculpin_site.yml +hotjar: + id: 5159836 + plausible: domain: oliverdavies.uk diff --git a/source/_layouts/base.html.twig b/source/_layouts/base.html.twig index ab76f096..4cc4212e 100644 --- a/source/_layouts/base.html.twig +++ b/source/_layouts/base.html.twig @@ -4,8 +4,6 @@ - - @@ -43,6 +41,20 @@ {% endblock %} {% block styles %}{% endblock %} + + {% if site.hotjar.id %} + + + {% endif %} {% block body %}{% endblock %}