From be461cc08aa7be0bd5380d0658f83d0e2ba742fc Mon Sep 17 00:00:00 2001 From: Seth Silesky <5115498+silesky@users.noreply.github.com> Date: Thu, 14 Mar 2024 16:22:40 -0500 Subject: [PATCH] update docs --- .../catalog/libraries/website/javascript/identity.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/connections/sources/catalog/libraries/website/javascript/identity.md b/src/connections/sources/catalog/libraries/website/javascript/identity.md index 082a8f4df1..13ac167c1b 100644 --- a/src/connections/sources/catalog/libraries/website/javascript/identity.md +++ b/src/connections/sources/catalog/libraries/website/javascript/identity.md @@ -218,7 +218,10 @@ analytics.ready(function() { Segment automatically collects the user's IP address for device-based (iOS, Android, Analytics.js and Xamarin) events. -You can pass a value for `options.context.ip` to prevent the Segment systems from recording the IP address for the request, as in the example below. +> info "IPv6" +> At the moment, Segment doesn't support automatically collecting IPv6 addresses. + +You can manually set the IP by passing a value for `options.context.ip` to prevent the Segment systems from recording the IP address for the request, as in the example below. ```js analytics.track("Order Completed", {}, { context: { ip: "0.0.0.0" }}); @@ -226,5 +229,3 @@ You can pass a value for `options.context.ip` to prevent the Segment systems fro You must add this override to _every_ Track call to explicitly override IP collection. If you reset this trait in the context object, Segment defaults to the normal IP collection behavior. -> info "IPv6" -> Segment doesn't support collecting IPv6 addresses.