Skip to content

Commit

Permalink
Merge pull request #203 from oliverhowell/master
Browse files Browse the repository at this point in the history
DOCS-806: add Clarity snippet to home and default
  • Loading branch information
oliverhowell authored Mar 22, 2024
2 parents 375ceca + 5cc4b82 commit 0a595bc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/layouts/default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
<html lang="en">
<head>
{{> head defaultPageTitle='Hazelcast'}}
<!-- Clarity snippet -->
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "l8c076m4u9");
</script>
<!-- End Clarity snippet -->
</head>
<body class="article{{#with (or page.attributes.role page.role)}} {{{this}}}{{/with}}">
{{#with site.keys.googleAnalytics}}
Expand Down
9 changes: 9 additions & 0 deletions src/layouts/home.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
{{> head-meta}}
{{> head-scripts}}
{{> head-icons}}
<!-- Clarity snippet -->
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "l8c076m4u9");
</script>
<!-- End Clarity snippet -->
</head>
<body>
{{#with site.keys.googleAnalytics}}
Expand Down

0 comments on commit 0a595bc

Please sign in to comment.