Skip to content
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

AnalyticsSDK: Add new optional scope Event Payload field for pages #135

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

pcammarata1
Copy link
Contributor

This CR creates a new optional string field that denotes the scope of pages actions in event payloads.

J=FUS-6253
TEST=none

AjayBenno
AjayBenno previously approved these changes Feb 20, 2024
@@ -111,6 +111,8 @@ export interface EventPayload {
sessionId?: string | null;
/** Fields specific to reporting Yext Pages Analytics Events */
pages?: {
/** The scope of an action. Applies to Pages events. */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we holding off adding tests using this until we implement the backend?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what I was thinking, but do you think we can go ahead and add tests?

@pcammarata1 pcammarata1 merged commit 7fe1b1f into main Feb 21, 2024
12 checks passed
@pcammarata1 pcammarata1 deleted the newscopefieldcorrect branch February 21, 2024 19:29
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