Skip to content

enhance: Integrate latest measurement protocol changes #1767

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tanishq-aggarwal
Copy link

@tanishq-aggarwal tanishq-aggarwal commented Jun 22, 2025

Since June 13 2025, measurement protocol now allows us to specify a 'user_agent' which it uses to derive the user's device information.

Sources

https://web.swipeinsight.app/posts/google-analytics-measurement-protocol-adds-device-and-user-agent-fields-17455
https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference?client_type=gtag#payload_post_body

Overview

Integrating latest measurement protocol change for more accurate reporting

Manual Testing

Check payload of network requests to ensure that "user_agent" is being sent in requests now

Measurement protocol now allows us to specify a user_agent which it uses to derive the user's device information

(Source: https://web.swipeinsight.app/posts/google-analytics-measurement-protocol-adds-device-and-user-agent-fields-17455)
Copy link

netlify bot commented Jun 22, 2025

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit 067ee3a
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/6857c563d05a530008863201
😎 Deploy Preview https://deploy-preview-1767--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@tanishq-aggarwal tanishq-aggarwal changed the title Update google-analytics-4.ts enhance: Integrate latest measurement protocol changes Jun 22, 2025
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.

1 participant