Skip to content

Commit 601f2a8

Browse files
Add information about cross-domain tracking
1 parent 612e603 commit 601f2a8

File tree

1 file changed

+3
-0
lines changed
  • src/connections/sources/catalog/libraries/website/javascript

1 file changed

+3
-0
lines changed

src/connections/sources/catalog/libraries/website/javascript/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,9 @@ To track activity on your subdomains, include the Segment Analytics.js snippet o
829829
830830
Because Segment tracks across subdomains, you can either use the same Segment source, or use separate sources for each subdomain. What you decide depends on your team's goals for tracking each subdomain.
831831
832+
> info ""
833+
> Segment does not offer tracking across top-level domains out of the box. If you wish to track across **top-level domains**, you can utilize our [Querystring API](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/querystring/){:target="_blank"} to pass the anonymousId from Website A to Website B in the querystring. When a user moves from Website A to Website B with the anonymousId in the querystring, AJS reads that value and sets the anonymousId to it, rather than generating a new one.
834+
832835
## UTM Tracking
833836
834837
UTM parameters are only used when linking to your site from outside your domain. When a visitor arrives using a link containing UTM parameters, Segment's analytics.js library will parse the URL query string and add the information to the event payload. For more information about UTM tracking, see the [Tracking Customers Across Channels and Devices](/docs/guides/how-to-guides/cross-channel-tracking/) documentation.

0 commit comments

Comments
 (0)