Skip to content

Conversation

tanishq-aggarwal
Copy link
Contributor

@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 649075f
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/688f732c5b713c0008f11f9e
😎 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
@aklinker1 aklinker1 changed the title enhance: Integrate latest measurement protocol changes feat: Integrate latest measurement protocol changes Aug 3, 2025
Copy link

pkg-pr-new bot commented Aug 3, 2025

Open in StackBlitz

@wxt-dev/analytics

npm i https://pkg.pr.new/@wxt-dev/analytics@1767

@wxt-dev/auto-icons

npm i https://pkg.pr.new/@wxt-dev/auto-icons@1767

@wxt-dev/browser

npm i https://pkg.pr.new/@wxt-dev/browser@1767

@wxt-dev/i18n

npm i https://pkg.pr.new/@wxt-dev/i18n@1767

@wxt-dev/module-react

npm i https://pkg.pr.new/@wxt-dev/module-react@1767

@wxt-dev/module-solid

npm i https://pkg.pr.new/@wxt-dev/module-solid@1767

@wxt-dev/module-svelte

npm i https://pkg.pr.new/@wxt-dev/module-svelte@1767

@wxt-dev/module-vue

npm i https://pkg.pr.new/@wxt-dev/module-vue@1767

@wxt-dev/runner

npm i https://pkg.pr.new/@wxt-dev/runner@1767

@wxt-dev/storage

npm i https://pkg.pr.new/@wxt-dev/storage@1767

@wxt-dev/unocss

npm i https://pkg.pr.new/@wxt-dev/unocss@1767

@wxt-dev/webextension-polyfill

npm i https://pkg.pr.new/@wxt-dev/webextension-polyfill@1767

wxt

npm i https://pkg.pr.new/wxt@1767

commit: 649075f

@aklinker1 aklinker1 merged commit c9b0c4d into wxt-dev:main Sep 3, 2025
16 checks passed
Copy link
Contributor

github-actions bot commented Sep 3, 2025

Thanks for helping make WXT better!

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