Update Minimal Analytics GA4 to support custom event tracking

[ad_1]

Thread Starter
Rookie

(@alriksson)

Or am I seeing it wrong and this should work?:

Can you confirm as well would still update and change the library of minimal GA 4.

<a class="button" href="#" onclick="gtag('event', <action>, {
		  'event_category': <category>,
		  'event_label': <label>
		});">
	<span class="button_label">Start now
	</span>
</a>

Event tracking doesn’t work at the moment, but I’m working on adding the new library as we speak. I’m dropping a new release this Friday in which it’ll be included!

 

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