Skip to content

Commit

Permalink
chore(analytics): add clarify to track users and collect data for per…
Browse files Browse the repository at this point in the history
…formance and usage
  • Loading branch information
SergioRibera committed Jul 11, 2024
1 parent 466e6a6 commit 4048409
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/esta_semana_en_rust/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ pub fn Layout(
await fetch(API + '/track/count?reference=' + previous_domain, { method: 'POST' });
"}
</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", "n5t1gk7y5v");
</script>
</Head>

// Async is a component from the async_component module.
Expand Down
7 changes: 7 additions & 0 deletions src/components/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ pub fn Layout(
await fetch(API + '/track/count?reference=' + previous_domain, { method: 'POST' });
"}
</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", "n5t1gk7y5v");
</script>
</Head>

// Async is a component from the async_component module.
Expand Down

0 comments on commit 4048409

Please sign in to comment.