Embedded Jotform + New Google Analytics

  • trhcux
    Asked on October 28, 2020 at 1:52 PM

    There is a new version of Google Analytics, which has a new tracking ID structure, as follows:

    G-XXXXXXXXXX

    Will this work with Jotform?

    I recently added a new "Data Stream" to the Jotform in Google Analytics Admin > Account > Properties > Data Stream

    Data Streams have replaced the Tracking Information in the previous version of Google Analytics.

    1603907289 5f99aed9e6ed8 Screen Shot 202 Screenshot 10


    QUESTION 01:

    When embedding a Jotform on an external web page, do we use the jotform URL, or the URL from the page the form is embedded on when setting up tracking Google Analytics Widget?
    In other words, what URL do we use in Google Analytics:
    A. The jotform URL (
    https://hipaa.jotform.com/XXXXXXXXXXXX)
    B. The URL where the jotform will be embedded? (https://www.website.com/page)

    QUESTION 02:

    So far, Google Analytics does not appear to be working for my Jotform. Can anyone confirm if the Google Analytics Widget works with Google Analytics Data Streams?

  • jonathan
    Replied on October 28, 2020 at 4:30 PM

    Hi,

    For #1

    You need to set up JotForm domains to be included in your google analytics referral exclusion lists. This is to prevent some instances of the google analytics widget using the form URL as the referral source link.

    Please check on how on this link https://support.google.com/analytics/answer/2795830?hl=en

    Note, that the form submits domain name might be a bit different, here are some examples:

    submit.jotform.com

    submit.jotformpro.com

    submit.jotform.us

    submit.jotform.co

    submit.jotform.me

    submit.jotformeu.com

    ---

    #2

    The google analytics widget is up to date so it should work when properly configured.

    I hope this help. Let us know if you need further assistance.


  • trhcux
    Replied on October 28, 2020 at 4:48 PM

    I am not seeing any data coming in to Google Analytics using the new "Data Stream." I will test on a non-embedded form and see if it works.


  • jonathan
    Replied on October 28, 2020 at 5:56 PM

    Thank you for the quick updates. Please let us know how it goes.

    You can update us anytime on this ticket using the link https://www.jotform.com/answers/2663235


  • trhcux
    Replied on October 29, 2020 at 8:14 AM

    Question 1 was never answered.

    QUESTION 01:

    What "Website URL" do we use in Google Analytics when creating a new Data Stream/Property?:

    A. The jotform URL (https://hipaa.jotform.com/XXXXXXXXXXXX)

    B. The URL where the jotform will be embedded? (https://www.website.com/page)

    1603973619 5f9ab1f336aef  Screenshot 10


    Pretty sure it is the jotform URL (A), but want to confirm.

  • Girish JotForm Support
    Replied on October 29, 2020 at 8:41 AM

    Yes, you are correct. It is option A.

    My colleague had already responded to question 1 in his earlier response.

    If you have any further questions, please do let us know.

  • trhcux
    Replied on October 29, 2020 at 9:17 AM

    perardw said: My colleague had already responded to question 1 in his earlier response.

    Your colleague did respond, however your colleague did not specify A or B as the correct answer.

    In my testing, Jotform's Google Analytics widget is not compatible with the brand new Google Analytics Data Streams. Still receiving no data.

    I will continue to test.

  • Patrick_R
    Replied on October 29, 2020 at 11:45 AM

    Hello! It seems that Google Analytics have made some changes to the Analytics working and the the generated new Analytics ID doesn't seem to be working with the JotForm widget.

    However, even though the new ID length differs from that of the old ID, the generated integration code by Google is the same (as shown in the following screenshots):

    1603986274 5f9ae362431c5 Analytics 2020  Screenshot 101603986273 5f9ae3614d95b Analytics 2020  Screenshot 21

    If I use an old ID with JotForm's Analytics widget, it works but the new ID doesn't. I am not quite sure why. Though Google Analytics is now generating this new ID only by default, which is not working with JotForm widget; for this reason, this might need to be escalated further so that the concerned department could take a look. However, I think I should wait as I see the following message when I tried to view the analytics data:

    1603986226 5f9ae3327519e Analytics 2020  Screenshot 32

    Also, kindly answer this question, it'll helps us to further troubleshoot this issue: This new ID isn't working with the JotForm widget, but is it also not working for you if embedded directly on your website?

    Awaiting your response.

    Thank you!

  • Patrick_R
    Replied on October 29, 2020 at 12:03 PM

    Hi! Update: The old ID (Universal Analytics property) can still be generated from the "Advanced options" section while creating the property as shown in the screenshot below:

    1603987296 5f9ae760b1f67 Analytics 2020  Screenshot 10

    I just checked by creating this universal ID and then integrating the UA ID with the JotForm Analytics widget and it worked.

    1603987386 5f9ae7ba46e1b Analytics 2020  Screenshot 21

    Please give it a try. In case of any issues, let us know.

    Thank you!

  • trhcux
    Replied on October 29, 2020 at 2:21 PM

    SOLUTION CONFIRMED: I was able to get the old Google Analytics tracking ID: UA-XXXXXXXXX-XX, but you must choose the following settings on Property Creation:

    IMPORTANT STEPS TO MAKE THIS WORK:

    1. You must create a new property
    2. Click Show advanced options towards the bottom of the new property screen
    3. Toggle the option on
    4. You MUST choose Create a Universal Analytics Property Only radio button
    5. Following these steps brings back the "Tracking Info" and "Tracking Code" options and this is where the old tracking code can be found.
    6. While this does work, it prevents us from using the new Google Analytics UI and new features

    STEP 2 - 3:

    1603994546 5f9b03b2ef29e  Screenshot 10


    STEP 5:

    1603995697 5f9b08313bfe7  Screenshot 21

  • Girish JotForm Support
    Replied on October 29, 2020 at 3:27 PM

    Thanks for the update and the related information.