Skip to content

Commit

Permalink
Prevents Plausible on deploy previews (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
robdy authored Oct 16, 2023
1 parent 9c9bf6d commit 51ca84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const Metadata = ({ children, pathname}) => {
<script
async
defer
data-domain="robdy.io"
onload="this.setAttribute('data-domain',window.location.host)"
src="https://plausible.io/js/plausible.js"
></script>
{children}
Expand Down

0 comments on commit 51ca84b

Please sign in to comment.