Event in Google Analytics
-
I’ve used the code you have on your site at https://yikesplugins.com/support/knowledge-base/add-google-analytics-event-tracking/ and it works, the only issue is that I have multiple forms, and they’re all showing in Google Analytics as the same event.
I tried changing
ga( 'send', 'event', 'mailchimp-subscribe', 'subscription-successful' );
to
ga( 'send', 'event', 'mailchimp-subscribe', 'subscription-successful_<?php echo $form_id;?>' );
and no luck. I’ve tried a few other things, but nothing is working. I thought that might append the form id number to the string.How can I make it so that the event action shows something unique for each form?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Event in Google Analytics’ is closed to new replies.