# Form to block page view

**URL:** <https://forum.mautic.org/t/form-to-block-page-view/25883>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [October 29, 2022, 12:28pm UTC](https://forum.mautic.org/t/form-to-block-page-view/25883 "2022-10-29T12:28:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![elsaadj](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/elsaadj/32/672_2.png) [@elsaadj](https://forum.mautic.org/u/elsaadj)\
**Post date:** [October 29, 2022, 12:28pm UTC](https://forum.mautic.org/t/form-to-block-page-view/25883/1 "2022-10-29T12:28:06Z")

</div>

Need to force website visitors to enter email address in form before they can view the whole page. This is to collect contacts data from visitors.

I have form created to pop when visitor tries to leave the website, is there a way to do the same when visitor tries to view a specific pages?
