Minimal GA4 – Track events

[ad_1]

Thanks for this very nice plugin and the proper documentation!

I recently switched to the minimal GA4 instance.

With the previous minimal analytics, I was able to track events with the following code, for example added to a download link.

ma.trackEvent('Category', 'Action', 'Label', 'Value')

Is this also possible with the minimal GA4 setup?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer