• Resolved jdiamondprogressive

    (@jdiamondprogressive)


    Official UTM fields from Facebook are coming over and populating fine via ContactForm 7, but the plugin’s internal functions (like “[handl_landing_page]”) are not and just populating the tag name in brackets.

    Any idea what the issue might be?

    <p>[text* your-name akismet:author watermark "Name"] </p>
    
    <p>[email* your-email akismet:author_email watermark "Email"] </p>
    
    <p>[tel* your-phone minlength:10 maxlength:16 class:required watermark "Phone"] </p>
    
    <p>[textarea your-comments watermark "Comments/Questions?"]</p>
    
    <!--<div class="g-recaptcha" data-sitekey="6LcKTQ0TAAAAAN9w1WClgjL0Hb4P8tBaa_5MPQo5" style="margin:1.0em 0 1.0em -6px; width:96%;"></div>-->
    <p>
    
    <input type="hidden" name="utm_source" />
    <input type="hidden" name="utm_campaign" />
    <input type="hidden" name="utm_content" />
    
    [handl_original_ref_i]<input type="hidden" name="original_ref" value="%s" />[/handl_original_ref_i]
    
    [handl_landing_page_i]<input type="hidden" name="landing_page" value="%s" />[/handl_landing_page_i]
    
    [handl_ip_i]<input type="hidden" name="ip" value="%s" />[/handl_ip_i]
    
    [handl_ref_i]<input type="hidden" name="ref" value="%s" />[/handl_ref_i]
    [handl_url_i]<input type="hidden" name="url" value="%s" />[/handl_url_i]
    </p>
    
    <p>[submit class:btn class:btn-primary "Submit"]</p>
    <p class="text-left"><small><em>Your email address will never be shared with any 3rd parties. Any information will be kept confidential.</em></small></p>
    
Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Haktan Suren

    (@haktansuren)

    Hi @jdiamondprogressive,
    Can you confirm the version you are using? If it is not the latest (v2.4) can you update the plugin to the latest version and re-try?
    Thanks

    Thread Starter jdiamondprogressive

    (@jdiamondprogressive)

    Yes, this installation is only a matter of days old and was installed directly from the WP directory.

    I see no updates available.

    Plugin Author Haktan Suren

    (@haktansuren)

    can you link me a page where you see the shortcode tag?

    Thread Starter jdiamondprogressive

    (@jdiamondprogressive)

    Thread Starter jdiamondprogressive

    (@jdiamondprogressive)

    Now that page refers to a form with the above code in it.

    Plugin Author Haktan Suren

    (@haktansuren)

    correct me if I am wrong but I do not see any shortcode (like [handl_landing_page])?

    Thread Starter jdiamondprogressive

    (@jdiamondprogressive)

    Yes, Contact Form 7 works by using a shortcode include that references a built form, but doesn’t actually include the form code in the page.

    The form code was pasted above.

    Plugin Author Haktan Suren

    (@haktansuren)

    I am confused, I actually see that they are generated and the cookies were captured in the form, please see the image below

    Thread Starter jdiamondprogressive

    (@jdiamondprogressive)

    Hmm…ok, well that’s good actually. Here’s the email template that’s supposed to display and send the data to us.

    For Contact Form 7 on WordPress:

    
    From: Email Campaign Lead - [your-name] <[your-email]>
    Subject: Progressive Landing Page - Email Campaign - Fibromyalgia
    
    Message Body:
    <strong>Name:</strong> [your-name]
    <strong>Email:</strong> [your-email]
    <strong>Phone:</strong> [your-phone]
    <strong>Opt-In for Newsletter?</strong> [subscribe-to-newsletter]
    
    --
    Campaign Source:
    [utm_source]
    
    Campaign Name:
    [utm_campaign]
    
    Campaign Content:
    [utm_content]
    
    Referral to site:
    [handl_original_ref]
    
    Landing Page:
    [handl_landing_page]
    
    Referral to form:
    [handl_ref]
    
    This e-mail was sent from a contact form on:
    [_url]
    
    Plugin Author Haktan Suren

    (@haktansuren)

    Yeap this actually should work. The funny thing is I am recording a YouTube video right now, and it is almost exact same template I used in the video and it worked on my localhost ??

    Thread Starter jdiamondprogressive

    (@jdiamondprogressive)

    Hmm…see, and it’s getting the top core UTM stuff…just not the urls…maybe something to do with the pre-populated nature of them, or the ” “…I’m grasping at straws here…

    Thread Starter jdiamondprogressive

    (@jdiamondprogressive)

    Here’s an example of what we see:

    
    Message Body:
    Name: Jamie Testing
    Email: [email protected]
    Phone: 444-444-4444
    Comments:
    
    --
    PLEASE LOG:
    Campaign Source: facebook
    
    Campaign Name: gastro_landing
    
    Campaign Content: vid_drB
    
    Referral to site:
    [handl_original_ref]
    
    Landing Page:
    [handl_landing_page]
    
    Referral to form:
    [handl_ref]
    
    This e-mail was sent from a contact form on:
    https://www.progressivemedicalcenter.com/brain-mapping/
    Plugin Author Haktan Suren

    (@haktansuren)

    oh, i see what’s going on… you have to use the “name” field in the template. So for your case (given the field names in your first post), it should be like this…

    Referral to site:
    [original_ref]
    
    Landing Page:
    [landing_page]
    
    Referral to form:
    [ref]
    
    IP:
    [ip]
    
    URL:
    [url]

    This should fix your problem.

    As soon as you try this, May I ask you to go to this URL and review the plugin if you find it useful. It will help us to reach more people!

    Thank you!

    Thread Starter jdiamondprogressive

    (@jdiamondprogressive)

    Doh, how’d I not see it? Alright, will try this in the AM. I copied those fields from the documentation, so maybe the docs could be clarified a bit when you get a chance.

    Will update you.

    Plugin Author Haktan Suren

    (@haktansuren)

    Hi again @jdiamondprogressive,
    just wondering if the solution provided above worked for you? Please let us know. And hey do not forget to review the plugin as well ?? Thanks!

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Internal Refferal Fields Not Populating’ is closed to new replies.