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

Anonymous ID generation #31

Open
charlesmohapatra opened this issue Jun 23, 2023 · 0 comments
Open

Anonymous ID generation #31

charlesmohapatra opened this issue Jun 23, 2023 · 0 comments

Comments

@charlesmohapatra
Copy link

Hi team!
Let's say a new user drops on to my website where I have the system configured with Cloudflare and edge-sdk.

Now how does the anonymous ID generation happen? Since segment doesnot find the user in cloudFlare KV nor in Segment database, when it queries back origin, it injects analytics.js into the webpage and after the page loads, the script calls segment and generates the anonymousID?

Or does it generate the ID in the edge-sdk itself and sets it as a cookie on the server-side when sending back the response? Basically I wanted to know the process of anonymousID generation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant