• Stop being a LURKER - join our dealer community and get involved. Sign up and start a conversation.

Reply to thread

Absolutely you can. Set session storage, see if it exists, if so perform popup. If not do noting.



Example script initial visit.

[CODE=javascript]$(document).ready(function() {

 

sessionStorage.setItem('data', 'dataArr');

});[/CODE]


Example call. From 2nd page or returning visit.

[CODE=javascript]$(document).ready(function() {

    let dataForPopup = sessionStorage.getItem('data')

    if (dataForPopup) {

        // open popup Googlebot cannot store session storage so this isn't performed.

    }


});[/CODE]


Edit: fix shortcode formatting errors.