minimal-analytics icon indicating copy to clipboard operation
minimal-analytics copied to clipboard

How to use minimal analytics CDN-script with GA4? without node

Open kartashovio opened this issue 1 year ago • 0 comments

I tried using https://minimalanalytics.com/ on my website. I placed the script in the head and replaced the identifier. It didn't work; I got an error in the console.

Then, I found out that the current version of the script is located here: https://cdn.jsdelivr.net/npm/@minimal-analytics/ga4/dist/index.js. However, I couldn't find how to adapt it for a regular website without Node.js. Where should I insert the Track ID?

Could you please tell me if this solution still works?

kartashovio avatar Jul 29 '24 09:07 kartashovio