Hello everyone, We are utilizing the JS SDK and S...
# support
b
Hello everyone, We are utilizing the JS SDK and Server SDK to create an event stream for user activities on our web properties. The JS SDK is responsible for handling all client events, while the Server SDK is responsible for the purchase event. To ensure the server purchase event is associated with the browsing session in which it occurred, we are using the
getSessionId
method to retrieve the ID and store it with our order metadata. However, we are wondering if there are any other values we should capture in the client when a purchase takes place and include in the server purchase event, such as an anonymous ID. Please let us know if you have any suggestions.
h
I would just use an identify call to stitch the anonymous_id with the email that the user uses for the purchase
🙌 2