Skip to content

Commit a29ccbd

Browse files
Add info about source options for subdomains
1 parent 98345ae commit a29ccbd

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,8 @@ Analytics.js tracks across subdomains out of the box; all Segment destinations f
760760

761761
To track activity on your subdomains, include the Segment Analytics.js snippet on each subdomain. Segment sets users' `anonymousId` on the top-level domain, so users are tracked across any subdomains.
762762

763+
Since Segment tracks across subdomains out of the box, you can use the same Segment source, or separate sources for each one. This decision will depend entirely upon your teams goals for tracking each subdomain.
764+
763765
## UTM Tracking
764766

765767
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)