Auto Popup WordPress Feedback Button Plugin

  • Profile Image
    artistwebsite
    Asked on June 04, 2013 at 12:29 AM

    Is there a way for this to pop up after a certain number of seconds, or when a person scrolls down, or goes to close the page?

    If so it could be a real Qualaroo or Popfeedback killer!



    This is a re-post of a comment on New Wordpress Plugin: JotForm Feedback Button

  • Profile Image
    Welvin
    Answered on June 04, 2013 at 01:07 AM

    Hi,

    Our Feedback embed option is designed to only work with a button. You may consider our Lightbox instead. Check this guide:

    http://www.jotform.com/help/220-How-to-Create-a-Lightbox-Form

    http://www.jotform.com/help/203-How-to-Auto-popup-a-Lightbox-Form

     

    Thanks

  • Profile Image
    Welvin
    Answered on June 07, 2013 at 10:50 AM

    Hi,

    I just want to update you with regards to this inquiry. I've found a way to auto popup the feedback button on your WordPress website using the Jotform Feedback Plugin, please follow these steps;

    1. Install the Jotform Feedback Button Plugin (http://wordpress.org/plugins/jotform-feedback-button/)

    2. On your WordPress Backend Editor (Appearance > Editor) , edit your header.php file and "add" the following codes:

    On top of the header.php file: 

    <?php

    $showlightbox="0";

    if(!isset($_COOKIE['beenhere'])) { 

       // been here

       setcookie("beenhere", '1');

           $showlightbox="1";

    }

    ?>


    -These codes are used to only show the popup on first initial load. You have to close/open the website to show the popup again.

    Before the closing </head> tag in the header.php file:

    <?php   

    if ($showlightbox) { ?>

    <script language="javascript">

    var delayseconds = 5;

       function pause() {

       myTimer = setTimeout('whatToDo()', delayseconds * 1000)

       }

      function whatToDo() {

    document.getElementById('jotform-feedback-23399356560967').click();

       }

    window.onload = pause();

    </script>

    <?php  } ?>

    Please make sure to change the form ID in red text above. Form ID: 23399356560967

    Note that, you have to add these codes again when or after updating your WordPress Templates.

     

    Thanks

  • Profile Image
    Welvin
    Answered on June 07, 2013 at 10:54 AM

    Form ID is the string of numbers found at the end of your form URL:

    Thanks

  • Profile Image
    izen
    Answered on September 11, 2013 at 03:38 AM

    Wow, this sounds good. Is it possible to auto pop up just when they try to close the browser/tab? That will be awesome :)

    I have seen sites which do this - when the mouse moves to the very top of webpage header area, (it's taken as a move to click the exit button on browser) this pop up at that moment would be great to collect a lead or present an offer. Any chance we can do this?

  • Profile Image
    EltonCris
    Answered on September 11, 2013 at 03:51 AM

    @izen

    Thank you for asking. 

    We will come up with a script that fits your needs but may we suggest to open your question in a separate thread first so we can assist you properly.

    Start a topic here: http://www.jotform.com/answers/answer.php?

    Thanks!

  • Profile Image
    DesignEvo
    Answered on March 04, 2014 at 10:37 AM

    I have done everything mentioned in the above tutorial, but I cannot get the results requested. It just leaves the Signup button at the top. I would like for it to pop up automatically and REMOVE the signup button.

    I would also like for it to pop up only once per browser per day...or something like that.

    Can you help? http://bit.ly/1kU1wgo

    Thanks,
    Stephanie