-
Hi,
I’m trying to use Google Analytics to track events when users click on the button. How do I add the code correctly? I tried this but it doesn’t work.
[button href="http://testing.com" rel="nofollow" target="_blank" onClick="ga('send', 'event', { eventCategory: 'affiliate', eventAction: 'vendorname'});" css_classes="button_hilite _button"]Get More Details[/button]
- Theme support is offered to verified customers only. To post a topic go to your Theme Category and add your question at the page bottom.
Theme Categories
Recent Topics
- Alea updates
- Why "Fortune" theme is no longer available?
- PHP 8.1 Error
- Issue with WPB editor icons
- Issue with Icons and Text Alignment for Arabic Content
- Installing and Activating Plugin Fortuna Portfolio CPT (1/8)
- Testimonials page is blank
- warning boc_framework line 905
- Transparent header issue without changes
- Slider Revolution error