Is an SEO code snippet possible in a submit button

  • Profile Image
    alangross
    Asked on April 30, 2014 at 03:57 PM

    Hi,

    We've been asked by a client's SEO consultant to add the following code to their Contact Form submit button. Is this possible? If so, how? If not, would you have an alternate suggestion?

    Please update the following snippets:

     

    <a target="_blank" href="mailto:info@penchecks.com">info@penchecks.com</a>

    To:

    <a target="_blank" href="mailto:info@penchecks.com" onClick="_gaq.push(['_trackEvent', 'Contact', 'Email', 'info@',, true]);">info@penchecks.com</a>

     

    AND

    <button id="input_7" class="form-submit-button" type="submit">Submit</button>

    TO:

     

    <button id="input_7" class="form-submit-button" type="submit" onClick="_gaq.push(['_trackEvent', 'ContactUs', 'Submit',,, false]);">Contact Us</button>

     

     

    Also, I found this in the Jotform forum search on SEO today. Looks like spam:

    http://www.jotform.com/answers/28580-SEO

    Thanks for your help.

    Best regards,

    Alan!

  • Profile Image
    EltonCris
    Answered on April 30, 2014 at 04:38 PM

    Hi Alan,

    You can only do that when you take your form source code and then find that text or code within the form source code and replace it with the snippet that has a tracking code.

    How-to-Download-a-Source-Code-of-your-Form

    If you need further assistance, let us know. Thanks!