This hack requires jQuery to be installed on your website.


Step 1: Create a campaign including an email block. Make sure it contains a feedback field or add one.

Step 2: in the popup editor, open the CSS editor:


Step 3: paste the following code and save:

.wisepops-block-signup input[name=email] {display: none !important;}

Step 4: Add the following snippet after the WisePops tracking code:

jQuery(document).ready(function ($) {
    $('body').one('mouseenter touchstart', '#wisepop-XXXXX', function () {
        $(this).find('input[name=email]').val('test@test.com');
    });
});


So you should end up with something like this:

<script type="text/javascript" data-cfasync="false">
    /**
     * WisePops tracking code
     */
    (function(W,i,s,e,P,o,p){W['WisePopsObject']=P;W[P]=W[P]||function(){
        (W[P].q=W[P].q||[]).push(arguments)},W[P].l=1*new Date();o=i.createElement(s),
        p=i.getElementsByTagName(s)[0];o.async=1;o.src=e;p.parentNode.insertBefore(o,p)
    })(window,document,'script','//loader.wisepops.com/get-loader.js?v=1&site=XXXXXXXXXX','wisepops');

    /**
     * Inject fake email in survey form
     */
    jQuery(document).ready(function ($) {
        $('body').one('mouseenter touchstart', '#wisepop-XXXXX', function () {
            $(this).find('input[name=email]').val('test@test.com');
        });
    });
</script>


Step 5: edit "#wisepop-XXXX" and replace by your campaign ID. The popup ID is found in your campaign URL. In the example below, I would input #wisepop-131857.


You're done! Don't hesitate to contact us if you have any question :)

Did this answer your question?