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

  • Profile Image
    Asked on May 05, 2017 at 07:20 AM


    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:

    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.
  • Profile Image
    Answered on May 05, 2017 at 09:23 AM


    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:

    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:

    I hope this information will help you.

    If you need further assistance, let us know.