diff --git a/docs/resources/recipes-tutorials/index.md b/docs/resources/recipes-tutorials/index.md index adf14e4ea7..14893291be 100644 --- a/docs/resources/recipes-tutorials/index.md +++ b/docs/resources/recipes-tutorials/index.md @@ -2,6 +2,8 @@ title: "Recipes and tutorials" sidebar_position: 10 sidebar_label: "Recipes and tutorials" +sidebar_custom_props: + legacy: true --- ```mdx-code-block diff --git a/docs/resources/recipes-tutorials/recipe-anonymous-tracking/index.md b/docs/resources/recipes-tutorials/recipe-anonymous-tracking/index.md index b22723bd32..cd37f636be 100644 --- a/docs/resources/recipes-tutorials/recipe-anonymous-tracking/index.md +++ b/docs/resources/recipes-tutorials/recipe-anonymous-tracking/index.md @@ -1,6 +1,5 @@ --- title: "Anonymous tracking" -description: "Capture Snowplow web events without user or session identifiers, without IP addresses and without setting any cookies" date: "2021-01-04" sidebar_position: 50 --- diff --git a/docs/sources/trackers/javascript-trackers/web-tracker/anonymous-tracking/index.md b/docs/sources/trackers/javascript-trackers/web-tracker/anonymous-tracking/index.md index 95d8f7ed77..0c86b105cf 100644 --- a/docs/sources/trackers/javascript-trackers/web-tracker/anonymous-tracking/index.md +++ b/docs/sources/trackers/javascript-trackers/web-tracker/anonymous-tracking/index.md @@ -1,5 +1,6 @@ --- title: "Opt-outs and anonymous tracking" +description: "Capture Snowplow web events without user or session identifiers, without IP addresses and without setting any cookies" date: "2022-08-30" sidebar_position: 2860 --- @@ -40,7 +41,7 @@ This mode will no longer track any user identifiers or session information. Simi Setting `stateStorageStrategy` to `cookieAndLocalStorage` or `localStorage` also allows for event buffering to continue working whilst not sending user information when `anonymousTracking` is enabled. -Anonymous tracking can be toggled on and off. +Anonymous tracking can be toggled on and off. ### 2. Client-side anonymisation with session @@ -169,7 +170,7 @@ import { enableAnonymousTracking } from '@snowplow/browser-tracker'; enableAnonymousTracking({ options: {}, - stateStorageStrategy: 'none' + stateStorageStrategy: 'none' }); ``` @@ -190,8 +191,8 @@ snowplow('disableAnonymousTracking'); or, if you wish to also adjust the `stateStorageStrategy` when enabling: ```javascript -snowplow('disableAnonymousTracking', { - stateStorageStrategy: 'cookieAndLocalStorage' +snowplow('disableAnonymousTracking', { + stateStorageStrategy: 'cookieAndLocalStorage' }); ``` @@ -209,8 +210,8 @@ or, if you wish to also adjust the `stateStorageStrategy` when enabling: ```javascript import { disableAnonymousTracking } from '@snowplow/browser-tracker'; -disableAnonymousTracking({ - stateStorageStrategy: 'cookieAndLocalStorage' +disableAnonymousTracking({ + stateStorageStrategy: 'cookieAndLocalStorage' }); ```