• Resolved bozonja

    (@bozonja)


    Hi guys! We followed rules from this topic: https://calderaforms.com/doc/send-google-analytics-event-wordpress-form-submission/
    When we paste the code from below in theme functions.php we get error from topic title. We are using “Avada” child theme. If you would like to test something I can create account for you on our webpage. Could you help us? Here is the code:
    function slug_post_form_submission( obj ) {
    var entry_id = obj.data.cf_id;
    ga(‘send’, {
    ‘hitType’: ‘event’, // Required.
    ‘eventCategory’: ‘form’, // Required.
    ‘eventAction’: ‘click’, // Required.
    ‘eventLabel’: ‘Form Submission’,
    ‘eventValue’: entry_id
    });
    }
    Thank you!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘HTTP ERROR 500, google analytics problem’ is closed to new replies.