From 095b76ec9a20e49edbfee05b5db2eaca8452857d Mon Sep 17 00:00:00 2001 From: Miranda Wilson Date: Thu, 6 Feb 2025 14:16:09 +0000 Subject: [PATCH 1/2] Add tag to recipe --- .../recipes-tutorials/recipe-anonymous-tracking/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/resources/recipes-tutorials/recipe-anonymous-tracking/index.md b/docs/resources/recipes-tutorials/recipe-anonymous-tracking/index.md index b22723bd32..37ab70779d 100644 --- a/docs/resources/recipes-tutorials/recipe-anonymous-tracking/index.md +++ b/docs/resources/recipes-tutorials/recipe-anonymous-tracking/index.md @@ -5,6 +5,10 @@ date: "2021-01-04" sidebar_position: 50 --- + + + + ## Introduction By default, Snowplow captures identifiers with all events that can be considered personal identifiable information (PII) — user and session cookie IDs as well as the IP address. However, Snowplow also allows you to track data without these identifiers. This tutorial explains how you can capture Snowplow web events without: From c7c348cec83f33da57a76a736ffabc92a08f6400 Mon Sep 17 00:00:00 2001 From: Miranda Wilson Date: Thu, 6 Feb 2025 15:27:34 +0000 Subject: [PATCH 2/2] Set old pages to legacy --- docs/resources/recipes-tutorials/index.md | 2 ++ .../recipe-anonymous-tracking/index.md | 5 ----- .../web-tracker/anonymous-tracking/index.md | 13 +++++++------ 3 files changed, 9 insertions(+), 11 deletions(-) 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 37ab70779d..cd37f636be 100644 --- a/docs/resources/recipes-tutorials/recipe-anonymous-tracking/index.md +++ b/docs/resources/recipes-tutorials/recipe-anonymous-tracking/index.md @@ -1,14 +1,9 @@ --- 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 --- - - - - ## Introduction By default, Snowplow captures identifiers with all events that can be considered personal identifiable information (PII) — user and session cookie IDs as well as the IP address. However, Snowplow also allows you to track data without these identifiers. This tutorial explains how you can capture Snowplow web events without: 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' }); ```