Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the anonuserid parameter for integration events feature #532

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/documents/tracking-events.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,5 @@ Users on a shopping web site are either shopping anonymously or they are authent

In order to enable this, you need to follow certain prescribed steps in your web site.

1. Send and Discover have beacons you insert on your web pages. These beacons return an id for the current user session. It is important that you pass along the beacon id in the payload when requesting the anonymous token. The beacon id will be added to the returned token and all other anonymous calls will be associated with it.
1. Send and Discover have beacons you insert on your web pages. These beacons return a user identifier for the current user session. It is important that you pass along the identifier in the payload (`anonuserid`) when requesting the anonymous token. The identifier will be added to the returned token and all other anonymous calls will be associated with it.
2. When the user authenticates with OC, you must call "me/orders/TransferAnonUserOrder" passing in the anonymous token in the body of the request. This will allow the system you are integrating with to stitch the user identity and make sure all tracking events are associated with the current session.