Looking to close a pop up after a user enters their email? You can add a number of seconds delay so your post engagement message will display and then the pop up will automatically close after the given time.
Note: The code below is set up with a three second delay. the “3000” is milliseconds meaning 3000=3 seconds or 6000 = 6 seconds.
NOTE: If you wish to close the overlay after a social action has taken place you must add in a call for that social action.