Skip to content

Anonymous ID generation #31

@charlesmohapatra

Description

@charlesmohapatra

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions