Skip to content

Add missing Snowplow cookie attributes to the Subject class #282

@cpnat

Description

@cpnat

Is your feature request related to a problem? Please describe.
A common use case for the Python SDK is to add server side tracking to web applications written in Python, and relate this to tracking running client-side.

Since requests to server-side applications contain cookies, we are able to extract attributes from the Snowplow cookie (controlled by the javascript tracker client-side) which are relevant for stitching together sessions (namely the domain_sessionid and domain_sessionidx).

Describe the solution you'd like
Attributes and setter methods for domain_sessionid and domain_sessionidx are added to the Subject class.

This is a minimal change, and I can submit a PR if the suggestion is approved.

Describe alternatives you've considered
I am currently using a fork of the SDK to achieve this.

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions