snowplow / snowplow/snowplow-java-tracker

Support manually passing page_view_id

Open
#264 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
25
Forks
35
Avg merge
52m
Merged PRs (30d)
1

Description

In cases where server-side tracking complements a web-page based model, it would be useful to be able to pass the page_view_id to the Java tracker, by retrieving the value from the client-side and passing it to a native method.

While conceptually it might not make a huge amount of sense to set a web page context with Server-side events, it would be a nice way to model the data when mixing client- and server-side data (eg. where an account_creation event must be sent from the server-side, it could share a page_view_id with a submit_form event on the client-side).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Java tracker entry point and the native method used to pass event context, then trace how page_view_id values are represented. Done means callers can manually provide a client-derived page_view_id for server-side events so related client- and server-side events can share it.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.