Track Users Across Multiple SubdomainsLast Updated: July 12, 2018
Say you have Drift installed on two sites, app.example.com and blog.example.com. How do you ensure when a user starts a conversation on your blog they'll pick up the same conversation in your app?
One way is to use something like Segment which will track users across all of your sites. Our Segment Integration will piggy back the user ID that Segment is using to track users and re-use that within our widget.
Notice this little bit at the end that we added manually...
Now all subdomains of example.com will use the same cookie to track users. Make sure you grab the latest snippet from https://app.drift.com/customize to use this new config method.
The preceding "." is on purpose and acts like a wildcard in cookie-speak.
Let us know if this helps!