Skip to content

Commit

Permalink
Use new init method on website
Browse files Browse the repository at this point in the history
  • Loading branch information
benvinegar committed Dec 28, 2024
1 parent cd2b42a commit ddabdd7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/server/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,10 @@ export const Layout = ({ children = [] }: { children: React.ReactNode }) => {
<ScrollRestoration />
<Scripts />
<script
dangerouslySetInnerHTML={{
__html: "window.counterscale = {'q': [['set', 'siteId', 'counterscale-dev'], ['trackPageview']] };",
}}
id="counterscale-script"
data-site-id="counterscale-dev"
src="/tracker.js"
></script>
<script id="counterscale-script" src="/tracker.js"></script>
</body>
</html>
);
Expand Down

0 comments on commit ddabdd7

Please sign in to comment.