You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/website/javascript/custom-proxy.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,7 +137,7 @@ Next, add a CNAME record to your DNS settings. Go to your domain registrar and a
137
137
</tr>
138
138
</table>
139
139
140
-
Save your record. This might take some time to take effect, depending on your TTL settings. Try `curl`ing your domain to check if it is proxying correctly.
140
+
Save your record. This might take some time to take effect, depending on your TTL settings. Make a `curl` request to your domain to verify that it's proxying correctly.
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/website/javascript/identity.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ This page explains how Analytics.js identifies users, and passes userID and anon
9
9
10
10
To ensure high fidelity, first-party customer data, Segment writes the user's IDs to the user's local storage, and uses that as the Segment ID on the cookie whenever possible. Local Storage is meant for storing this type of first-party customer information.
11
11
12
-
If a user returns to your site after the cookie expires, Analytics.js looks for an old ID in the user's `localStorage`, and if one is found, sets it as the user's ID again in the new cookie. If a user clears their cookies _and_`localstorage`, all of the IDs are removed, and the user gets a completely new anonymousId when they next visit the page.
12
+
If a user returns to your site after the cookie expires, Analytics.js looks for an old ID in the user's `localStorage`, and if one is found, sets it as the user's ID again in the new cookie. If a user clears their cookies _and_`localstorage`, all of the IDs are removed, and the user gets a completely new `anonymousID` when they next visit the page.
13
13
14
14
<!-- TODO: add info on how user and group info is stored - on cookie, in mem, in localStorage-->
You can override the default-generated anonymousID in code using the methods described below:
34
34
-[Set anonymousId from the Segment snippet](#override-the-anonymous-id-from-the-segment-snippet) (before the `ready` method returns)
35
35
-[Use a call to override the anonymousID](#override-the-default-anonymous-id-with-a-call)
36
-
-[Set anonymousId in the `options` object of a call](#override-the-anonymous-id-using-the-options-object)
36
+
-[Set `anonymousId` in the `options` object of a call](#override-the-anonymous-id-using-the-options-object)
37
37
38
38
### Retrieve the Anonymous ID
39
39
@@ -68,7 +68,7 @@ You can also set the `anonymousId` immediately inside your Segment snippet, even
68
68
Use this method if you are queueing calls before `ready` returns and they require a custom `anonymousId`. Keep in mind that setting the `anonymousId` in Analytics.js does not overwrite the anonymous tracking IDs for any destinations you're using.
69
69
70
70
> info ""
71
-
> Device-mode destinations that load their code on your site _might_ also set their own anonymous ID for the user that is separate and different from the Segment generated one. Some destinations use the Segment anonymousId. Read the documentation for each destination to find out if a destination sets its own ID.
71
+
> Device-mode destinations that load their code on your site _might_ also set their own anonymous ID for the user that is separate and different from the Segment generated one. Some destinations use the Segment `anonymousId`. Read the documentation for each Destination to find out if a Destination sets its own ID.
72
72
73
73
### Override the default Anonymous ID with a call
74
74
@@ -130,10 +130,10 @@ The `options` dictionary contains a sub-dictionary called `context` which automa
130
130
131
131
The `context` object contains an optional `traits` dictionary that contains traits about the current user. You can use this to store information about a user that you got from previous Identify calls, and that you want to add to Track or Page events.
132
132
133
-
The information you pass in `context.traits`_does not_ appear in your downstream tools (such as Salesforce, Mixpanel, Google Analytics, etc.); however, this data _does_ appear in your [warehouses and storage destinations](/docs/connections/storage/).
133
+
The information you pass in `context.traits`_does not_ appear in your downstream tools (such as Salesforce, Mixpanel, or Google Analytics); however, this data _does_ appear in your [warehouses and storage destinations](/docs/connections/storage/).
134
134
135
135
> note ""
136
-
> The `options` object described in the previous section behaves differently from the `options.context.traits` object discussed here. The `traits` object described here does not cause the anonymousId to persist across different calls.
136
+
> The `options` object described in the previous section behaves differently from the `options.context.traits` object discussed here. The `traits` object described here does not cause `anonymousId` to persist across different calls.
0 commit comments