Forums

[Plugin: WordPress-to-lead for Salesforce CRM] retURL for Thank You / Confirmation pages? (4 posts)

  1. bigcheese72
    Member
    Posted 3 years ago #

    Hi, this plugin is a good start and happened to be released right as I was attempting to figure out Web to Lead forms on a WordPress site! Will a method be implemented to allow users to specify a retURL for custom Thank You / Confirmation pages?

    I also am looking forward to being able to create multiple W2L forms with the plugin as there is definitely a need for more than one W2L form of different objectives within one WP site.

    Cheers

    http://wordpress.org/extend/plugins/salesforce-wordpress-to-lead/

  2. toonces51
    Member
    Posted 3 years ago #

    I agree 100% on both of these features (custom landing pages for tracking conversions in tools like Google Analytics and multiple lead forms) being necessary. That will take this plugin from being merely pretty good to great.

  3. hartmood
    Member
    Posted 2 years ago #

    Does really not make sense not to have it. Please upgrade!

  4. skitzo2000
    Member
    Posted 2 years ago #

    I created a quick and dirty hack to do the redirect for me, or at least until the plugin is upgraded.

    Start by creating your thank you page, and figure out the URL.

    Then open up the salesforce.php file from the plugin and find line 440 it should look similar to the following
    `
    $content = '<h4>'.esc_html(stripslashes($options['successmsg'])).'</h4>';`

    After the above line add:

    $content .='<script> location.href = "/YOUR URL FROM ABOVE STEP HERE"; </script>';

    And now your form will redirect.

    This does not solve the multiple forms issue, but hopefully it helps a few of you with your GA.

Topic Closed

This topic has been closed to new replies.

About this Topic