Skip to content

Commit

Permalink
feat: update analytics script to disable cookies (#156)
Browse files Browse the repository at this point in the history
* feat: update analytics script to disable cookies

* fix(website): header prop error
  • Loading branch information
abbylow committed Aug 24, 2023
1 parent 5792cb9 commit 66ba12c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/website/src/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function Nav({ className = '' }: NavProps) {
<Header
walletConnect={<Button>Wallet Connect???</Button>}
className={className}
isTestnet
navItems={[]}
activeKey="website"
mobileMenuOpen={false}
setMobileMenuOpen={() => {}}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/scripts/Cookies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const Cookies = ({ siteId }: { siteId: string }) => {
return (
<Script strategy="afterInteractive" id="cookie3-script">
{`
var cookie3Options = {"siteId":${siteId},"additionalTracking":true,"cookielessEnabled":true}
var cookie3Options = {"siteId":${siteId},"additionalTracking":false,"cookielessEnabled":false}
window._paq = window._paq || [];
(function () {
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
Expand Down

0 comments on commit 66ba12c

Please sign in to comment.