What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to use JotForm with Active Campaign's site tracking?

    Asked by ImmerQi on May 05, 2017 at 07:20 AM

    Hi,

    I'd like to use JotForm on my WordPress website and use site tracking provided by Active Campaign.

    Someone made that happening with cookie saving gravity form email field: https://community.activecampaign.com/t/pass-email-to-site-tracking/961/3

    I hope to modify this PHP code that looks for the JotForm field with a label of "Your Email" and saves it into a cookie.

    Can you help me with updating code below with relevant JotForm values? 

     *Save email in a cookie for ActiveCampaign
     */
    add_filter( 'gform_save_field_value', 'tlc_save_field_value', 10, 4);
    function tlc_save_field_value( $value, $lead, $field, $form ) {
        if ($field['label'] == 'Your Email') {
            setcookie( 'email', htmlspecialchars($value, ENT_QUOTES), time() + 99999999, '/', NULL );
        }
        return $value;
    }
     
    This should help to solve my challenge. I'm also open to other suggestions how to achieve Active Campaign integration, especially site tracking. 
     
    Thanks in advance.
    Page URL:
    https://immerqi.com/intern/employment-application-form/

  • Profile Image
    JotForm Support

    Answered by candy on May 05, 2017 at 09:23 AM

    Hello,

    You can set up an integration between a JotForm form and Active Campaign through a third-party intermediate service, such as Zapier as you may find it at the following link: https://zapier.com/zapbook/jotform/activecampaign/

    Please try this in order to integrate your form and Active Campaign.

    Also, please find the following guide in order to see more about activating Site Tracking in Active Campaign: https://help.activecampaign.com/hc/en-us/articles/221493708-How-to-set-up-Site-Tracking

    I hope this information will help you.

    If you need further assistance, let us know.

    Thanks.