Skip to content

Commit

Permalink
chore(analytics): filter development host
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRibera committed Jul 14, 2024
1 parent 4048409 commit f5c10be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/esta_semana_en_rust/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ pub fn Layout(
</script>
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
if ("localhost0.0.0.0::0192.168.0.1192.168.1.1".includes(document.location.hostname)) return;
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);
Expand Down
1 change: 1 addition & 0 deletions src/components/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ pub fn Layout(
</script>
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
if ("localhost0.0.0.0::0192.168.0.1192.168.1.1".includes(document.location.hostname)) return;
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);
Expand Down

0 comments on commit f5c10be

Please sign in to comment.