display the popup once per page for the wordpress site

i was trying to display the popup once per page for the wordpress site.
I using custom-jquery for this, here it is

 if(localStorage.getItem('popState') != 'shown'){
localStorage.setItem('popState','shown')
    }   

but it is working for per session,
i need something which should display the popup once per page.

Thanks in advance

Read more here: display the popup once per page for the wordpress site

Leave a Reply

Your email address will not be published. Required fields are marked *