Contact Form 7 in Footer

resolved (7 posts) (2 voices)

  1. Hi

    I need to put the contact form 7 (for google event tracking) in the Enquiry part of my footer instead of the widget version. Although I have done this and it sends the enquiry it does not let the sender know the message has gone through - ie there is no success message.

    Contact Form 7 is working across the rest of the site, just not on the footer.

    I have disabled all other plugins without any change.

    Does anyone have any ideas?

    (I did find this but not sure what it means/how to do it - http://contactform7.com/faq/#Can_I_embed_a_contact_form_into_my_template_file)

    Thanks

    Posted 2 years ago #
  2. Elliott
    Support

    Hello RTA,

    Send us a link and we'll take a look.

    Posted 2 years ago #
  3. Sorry for the last response - http://www.rawtalentacademy.com/

    Thanks

    Posted 2 years ago #
  4. Elliott
    Support

    This is the error your getting.

    SyntaxError: unterminated string literal
    
    "ga('send', 'event', ‘Enquiry', 'FormSubmission', 'Success')

    The single quote surrounding "Enquiry" looks weird. Try deleting it and retyping it out.

    Posted 2 years ago #
  5. Hi Elliot, I've changed the code but it hasn't made a difference.

    When I removed the code it did work and show the success message so it is something to do with the GA code... just not sure what

    This the code in full in the additional settings box:
    on_sent_ok: "ga('send', 'event', 'Enquiry', 'FormSubmission', 'Success');”

    Posted 2 years ago #
  6. Elliott
    Support

    The single quotes look odd. Try deleting it and retyping it out.

    Posted 2 years ago #
  7. Hi Elliot, that's sorted it, I think it was the last " mark at the end!

    Thanks

    Posted 2 years ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme