Google Analytics 4
Update the https://docs.plasmo.com/quickstarts/with-google-analytics to be using https://developer.chrome.com/docs/extensions/how-to/integrate/google-analytics-4#toc-requirements
Plasmo Docs
Quickstart with Google Analytics – Plasmo
Guide on how to use Google Analytics with a Manifest Version 3 browser extension
Chrome for Developers
Use Google Analytics 4  | Extensions  | Chrome for Developers
Step-by-step instructions on how to track usage of your Extension with Google Analytics 4.
4 Replies
Can you make a Plasmo version of https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/tutorial.google-analytics
@louis
GitHub
chrome-extensions-samples/functional-samples/tutorial.google-analyt...
Chrome Extensions Samples. Contribute to GoogleChrome/chrome-extensions-samples development by creating an account on GitHub.
I discovered that if the user installs https://chromewebstore.google.com/detail/ddkjiahejlhfcafbddmgiahcphecmpfh and the block level is set to "complete" (level 4}, even though you send the request to Google Analytics through the background script, it blocks the request
uBlock Origin Lite
A permission-less content blocker. Blocks ads, trackers, miners, and more immediately upon installation.
Hi, I made an example on the plasmo examples repo here https://github.com/PlasmoHQ/examples/tree/d6e9ab3b68ca1d0de548347f5a639713b6c598bd/with-google-analytics-measurement
GitHub
examples/with-google-analytics-measurement at d6e9ab3b68ca1d0de5483...
🔰 Example projects that demonstrate how to use the Plasmo Framework and integrate with popular tools - PlasmoHQ/examples
this uses the measurement protocol, although the plasmo docs might need to be updated to utilise the new method of using GA