Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update analytics script to disable cookies #156

Merged
merged 2 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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