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

stopTrackPage missing part c properties #1190

Merged
merged 2 commits into from
Feb 15, 2020
Merged

Conversation

xiao-lix
Copy link
Contributor

Add properties param for stopTrackPage function to capture part c customProperties.
Closes #1189

@xiao-lix xiao-lix requested a review from a team as a code owner February 13, 2020 22:06
@@ -557,7 +557,7 @@ export class ApplicationInsights extends BaseTelemetryPlugin implements IAppInsi
measurements
};

this.sendPageViewInternal(pageViewItem);
this.sendPageViewInternal(pageViewItem, properties);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we need a test for this. Wouldn't we also want to send measurements as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, added some test, and double checked code. The reason properties.refUri was overwritten is because this line. measurements filed is passed through pageView param then in saved in baseData here.

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.

Add the option to specify the refUri with stopTrackPage
3 participants