Question
Add class if a person has visited a page
Hello. I am attempting to display a popup on a certain page of our website. However I only want to display this pop up if the lead is anonymous. I've scoured the site trying to find a solution to the following using javascript:
1. Check if the visitor is anonymous in our lead database
2. If the person is anonymous add a class to a div that will display the pop-up
1. Check if the visitor is anonymous in our lead database
2. If the person is anonymous add a class to a div that will display the pop-up