Added engage visitor, replace cookie with local storage