-
Notifications
You must be signed in to change notification settings - Fork 210
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
Add browser page view event #1910
base: main
Are you sure you want to change the base?
Add browser page view event #1910
Conversation
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
| `0` | Initial page load within the browser which will generally also precede a PageNavigationTiming event. |  | | ||
| `1` | This is for Single Page Applications (SPA) where the framework provides the ability to perform client side only page "navigation", the exact definition of what a virtual page change is determined by the SPA and the framework it is using. |  | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do these values (0
and 1
) come from the browser / browser spec, or did we create them?
|
||
| Body Field | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability | | ||
|---|---|---|---|---|---| | ||
| `change_state` | string | Type of state change used for the virtual page navigation | `pushState`; `replaceState` | `Recommended` |  | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just from my reading of the description this could be better?
| `change_state` | string | Type of state change used for the virtual page navigation | `pushState`; `replaceState` | `Recommended` |  | | |
| `state_change` | string | Type of state change used for the virtual page navigation | `pushState`; `replaceState` | `Recommended` |  | |
Changes
This adds a new event for capturing the page view event from browser/web applications.
Merge requirement checklist
[chore]