Home › Forums › Quform WordPress › Field value in Google Analytics
Hi,
I’m using this code for push the event to GA. But we want to have some data from the form pushed as the eventLabel.
So for example field “name” (_7_4) should be added to the eventLabel.
jQuery(document).ready(function ($) {
$('.quform-form-7').on('quform:successStart', function () { ga('send', { hitType: 'event', eventCategory: 'Offerte aanvragen', eventAction: 'Verstuurd', eventLabel: }); });
});
How can I achieve this with the current code? Or how can I make sure we can add the correct data to the eventLabel with a different code.
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
Thanks for the reply; shall try it out. Funny how the easiest ways are the hardest to find sometimes ;).