mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-18 18:33:42 +00:00
Update microsoft-clarity.njk (#480)
This commit is contained in:
parent
f002285fc8
commit
358a3c080d
@ -1,3 +1,9 @@
|
||||
{%- if theme.clarity_analytics %}
|
||||
<script async src="https://www.clarity.ms/tag/{{ theme.clarity_analytics }}"></script>
|
||||
<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", "{{ theme.clarity_analytics }}");
|
||||
</script>
|
||||
{%- endif %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user