When sending lead data from your website to your CRM, you should also send the user identifier provided by the SegmentStream SDK. Instead of using theDocumentation Index
Fetch the complete documentation index at: https://docs.segmentstream.com/llms.txt
Use this file to discover all available pages before exploring further.
_ga cookie value, pass the value returned by the following method:
- If the user has consented to cookies, this method will return the
_gacookie value. - If the user has not consented, it will return a generated anonymous ID (instead of
null).
How to implement
Replace the _ga cookie
If your CRM currently receives the
_ga cookie value, replace it with window.segmentstream.anonymousId().Trigger the conversion event on the same page
On the same page where the lead is sent to the CRM, you must also call
window.segmentstream.conversion({ type: 'lead' }).