Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Gauravk Posted September 1, 2019 Posted September 1, 2019 We have to add an exit intent popup script in globalTemplate, but we want it should only trigger to guest users. Is that possible? <!-- Start App Sumo Javascript --> <script async>(function(s,u,m,o,j,v){j=u.createElement(m);v=u.getElementsByTagName(m)[0];j.async=1;j.src=o;j.dataset.sumoSiteId='fb2ac9f4ac9d3e89da3cca0867b5';v.parentNode.insertBefore(j,v)})(window,document,'script','//load.sumo.com/');</script> <!-- End App Sumo Javascript -->
newbie LAC Posted September 2, 2019 Posted September 2, 2019 {{if !member.member_id}} <!-- Start App Sumo Javascript --> <script async>(function(s,u,m,o,j,v){j=u.createElement(m);v=u.getElementsByTagName(m)[0];j.async=1;j.src=o;j.dataset.sumoSiteId='fb2ac9f4ac9d3e89da3cca0867b5';v.parentNode.insertBefore(j,v)})(window,document,'script','//load.sumo.com/');</script> <!-- End App Sumo Javascript --> {{endif}}
Gauravk Posted September 2, 2019 Author Posted September 2, 2019 Thanks a lot @newbie LAC for perfect codes. Have a nice day
Recommended Posts
Archived
This topic is now archived and is closed to further replies.