CMS Development

Sameer
Participant | Platinum Partner
Participant | Platinum Partner

Custom exit intent condition

Hi,

 

I've created the custom exit-intent on this page.

I want that if any visitor closes this exit-intent box then it should not come for 7 days. Because it is installed in all the pages so that it comes again and again.

 

Please help me with this.

 

Note: I don't want to use HubSpot's exit-intent, because it doesn't have tracking.

 

Thanks in advance,

-Sameer

 

0 Upvotes
2 Replies 2
IsaacTakushi
HubSpot Employee
HubSpot Employee

Custom exit intent condition

Thanks for jumping in, @DanielSanchez!

 

@Sameer, you could also set custom cookies in visitors' browsers, calculating and adding an expiration date a week from the current time with a JavaScript Date object.

 

You could then add JavaScript to your custom module which checks for the presence of this cookie and only renders the pop-up when it is absent.

 

If you're operating under GDPR, you may also wish to consider binding the cookie to your HubSpot privacy policy consent banner with this method. In such a scenario, there may be no way to avoid displaying the pop-up to visitors who do not consent to be tracked.

Isaac Takushi

Associate Certification Manager
0 Upvotes
DanielSanchez
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

Custom exit intent condition

Hi @Sameer 

 

Inserting UTM (URL Tracking) in your button to exit HubSpot, allows you to track the link.

 

Believe that solving your problem and then using or leaving with intention of HubSpot itself, setting a deadline of one week.

 

Did this post help solve your problem? If so, please mark it as a solution.

Best regards! 🙂