Skip to content

Parse Session ID from GA cookies#108

Merged
aawnu merged 2 commits intoaawnu:masterfrom
tobz-nz:patch-2
Jan 26, 2026
Merged

Parse Session ID from GA cookies#108
aawnu merged 2 commits intoaawnu:masterfrom
tobz-nz:patch-2

Conversation

@tobz-nz
Copy link
Contributor

@tobz-nz tobz-nz commented Jan 26, 2026

This PR adds a helper method that parses the GA Session ID from a given cookie string. It supports both the v1 and v2 syntaxes.

related to #106

This helper parses the `_GA_{ga_id}` session cookie (both GS1 & GS2 formats) into an associative array of data.
@aawnu aawnu merged commit f0951cd into aawnu:master Jan 26, 2026
16 checks passed
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

Successfully merging this pull request may close these issues.

2 participants