Sending a user to a URL after they hit Submit

Place the code below within the custom JS section of the overlay. To find that section follow this article.

function ju_callback(email){

top.location.href = 'somepage.html';

}

 If you want to send them to a URL after they have seen the post engagement (recommended), use this code instead: 

function ju_callback(email){
setTimeout(function(){
window.location.href="putsomethinghere";
},3000);
}

For your reference, the t variable that gets passed to the call back will equal one of these depending on your engagement type:

function ju_callback(t,email,coupon){
/*
t = engagementType int
The different types are below

0 = Auto engagement for an unlocked offer
1 = Engagement - Facebook
2 = Engagement - Google Plus
3 = Engagement - Twitter Tweet
4 = Engagement - Email Signup
5 = Engagement - LinkedIn Share
6 = Engagement - Twitter Follow
7 = Engagement - Pinterest Follow
8 = Engagement - Instagram Follow
9 = Engagement - Videos Watched
10 = Engagement - Incentivized Form
11 = Engagement - VK Follow
12 = Engagement - Reddit Subscribe
13 = Engagement - Google Follow
14 = Engagement - LinkedIn Follow
16 = Engagement - Unlocked Click
15 = Engagement - Intro Continue Click
17 = Engagement - Unlocked View
18 = Engagement - Plugin

1000 = auto engagement for a previous engagement during a session
*/

 

 

Tags: After submit send to another page, no post engagement

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.