Skip to content

Commit 78b7709

Browse files
authored
Merge pull request #5965 from segmentio/ashton-huxtable-patch-5
Add information about cross-domain tracking
2 parents 281aa04 + 3dd887c commit 78b7709

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
@@ -827,6 +827,9 @@ To track activity on your subdomains, include the Segment Analytics.js snippet o
827827
828828
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.
829829
830+
> info ""
831+
> Segment doesn't offer tracking across top-level domains out of the box. If you want to track across top-level domains, you can utilize Segment's [Querystring API](/docs/connections/sources/catalog/libraries/website/javascript/querystring/){:target="_blank"} to pass the anonymousId from Website A to Website B in the query string. When a user moves from Website A to Website B with the anonymousId in the query string, Analytics.js reads that value and sets the anonymousId to it, rather than generating a new one.
832+
830833
## UTM Tracking
831834
832835
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)