SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

How do I tie up anonymous activity in Segment?

Question

How do I tie up anonymous activity in Segment?

 

Product

Segment 

 

Environment 

Segment Console

 

Answer

Whenever you first collect PII in your customer journey, you should fire an analytics.identify() call. This ensures that all the prior anonymous activity (page views and track events tied to the anonymousId) gets linked to the now-identified user.
 
When you call identify using the Segment's Analytics.js library for example, Segment automatically persists both the existing anonymousId and the new userId. This way all prior anonymous page calls remain preserved and attributed to the new user. You don’t need to manually pass the anonymousId as a trait, Segment handles the stitching automatically

 

Additional Information 

More relevant information on the identify method can be found below:

Have more questions? Submit a request
Powered by Zendesk