Google Analytics for v2

Home Forums Quform WordPress Google Analytics for v2

This topic is: resolved
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #28549

    Hello and thanks for your time 🙂

    I am trying to add Google Analytics code to my form, I have this code – is it correct to place this in custom CSS/javascript area?
    All the info I find is for v1 and I have v2

    function gtag_report_conversion(url) {
    var callback = function () {
    if (typeof(url) != ‘undefined’) {
    window.location = url;
    gtag(‘event’, ‘conversion’, {
    ‘send_to’: ‘AW-932811566/rq5qCILOl5UBEK6m5rwD’,
    ‘event_callback’: callback
    return false;

    thanks heaps


    Forgot to mention I just need to add this to the send button, is this OK?
    And is this code complete, do I need to add any other code to the website or will adding this code to my form work OK?

    tyvm 🙂

    • This reply was modified 10 months ago by whisper.
    Support Staff

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


    Awesome..thankyou for your time and reply 🙂

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