Skip to content

Commit

Permalink
docs: add GA (with anonymize IP)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbutler committed Jan 22, 2023
1 parent 11c9986 commit ec4a10e
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions apps/docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ const config = {
},
],
],
scripts: [
{
defer: true,
'data-domain': 'ts-rest.com',
'data-api': 'https://plausible.oliverbutler.uk/api/event',
src: 'https://plausible.oliverbutler.uk/js/script.js',
},
],

presets: [
[
Expand All @@ -57,6 +49,10 @@ const config = {
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
googleAnalytics: {
trackingID: 'G-5HT1M8FM3Z',
anonymizeIP: true,
},
}),
],
],
Expand Down

1 comment on commit ec4a10e

@vercel
Copy link

@vercel vercel bot commented on ec4a10e Jan 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ts-rest – ./

ts-rest.vercel.app
ts-rest-git-main-xeo.vercel.app
ts-rest-xeo.vercel.app
www.ts-rest.com
ts-rest.com

Please sign in to comment.