Field value in Google Analytics

Home Forums Quform WordPress Field value in Google Analytics

This topic is: resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24668
    Best4u
    Participant

    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.

    #24698
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #24740
    Best4u
    Participant

    Thanks for the reply; shall try it out. Funny how the easiest ways are the hardest to find sometimes ;).

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy