How to Track URL UTM values in Jotform?

  • Profile Image
    restroworks
    Asked on June 10, 2017 at 6:18 AM

    Hi 

    I want to track UTM parameter "utm_source" & "utm_campaign" in fields

    I am using single form in a single page & i am using same page in multiple campaigns 

    but utm_campaign value is different in all campaigns.

     

    Please suggest how can i track URL UTM values?

  • Profile Image
    Elton Support Team Lead
    Replied on June 10, 2017 at 9:20 AM

    Hello jitenrn,

    It's absolutely possible to pass UTM values from the URL parameters of your webpage into an embedded form. If your form is already embedded, simply follow the steps below to ensure the UTM values are correctly captured.

    1. Add Short Text (text box) fields in your form and change their label exactly the same as the parameter names found in the URL, just like as shown in the image below.

    1664416793 6334fc194c14c  Screenshot 10

    You can add as many fields as you want depending on the number of UTM parameters you want to capture.

    2. Ensure the Unique Name of the fields matches the field label names. These are the actual names used as variables in the URL parameter. You can edit the Unique Name by clicking on it.

    1664416717 6334fbcd4a6b5  Screenshot 21

    3. Hide these fields if you do not want them to show in the preview. To do that, right click on the field then select Hide.

    1664416877 6334fc6d4b65c  Screenshot 32

    Here's an example URL with the UTM parameters where the form is embedded.

    https://shots.jotform.com/elton/utm/myform.html?utm_campaign=SummerSale&utm_source=Google


    If you're using the standalone form, just append the UTM parameters in the form URL, just like below:

    https://form.jotform.com/222708265011043?utm_campaign=SummerSale&utm_source=Google

    Let us know if you need more help.