# Use smart content based on internal page visit

**URL:** <https://community.hubspot.com/t/use-smart-content-based-on-internal-page-visit/42269>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [August 12, 2021, 9:30pm UTC](https://community.hubspot.com/t/use-smart-content-based-on-internal-page-visit/42269 "2021-08-12T21:30:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ian23Mc](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ian23mc/32/92090_2.png) [@Ian23Mc](https://community.hubspot.com/u/Ian23Mc)\
**Post date:** [August 12, 2021, 9:30pm UTC](https://community.hubspot.com/t/use-smart-content-based-on-internal-page-visit/42269/1 "2021-08-12T21:30:45Z")

</div>

Hi, is it possible to use smart content rules to display different content based on which internal page a user has come from? For e.g. if someone lands on our Free trial signup page after visting Visitor Management Systems I want to show different content vs if they come from our Digital In Out Board page. Our site is built on the Hubspot CMS. I see its possible with external pages and URL Query parameters but not sure how to do this based on internal page visits.

Thanks

---

<div class="post-metadata">

**Author:** ![Teun](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/teun/32/28739_2.png) [@Teun](https://community.hubspot.com/u/Teun)\
**Post date:** [August 13, 2021, 8:24am UTC](https://community.hubspot.com/t/use-smart-content-based-on-internal-page-visit/42269/2 "2021-08-13T08:24:42Z")

</div>

Hi @Ian23Mc , the easiest solution would be to use the ‘Query parameter’ rule and pass that parameter when you come from a specific page. So if you come from ‘Visitor Management Systems’ page, the URL to the free trial signup could be something like this: ‘/free-trial-signup?previous\_page=visitor-management-system’. Simply update every link to Free Trial Signup to include that parameter. Your smart rule could look something like this:

 ![Schermafbeelding 2021-08-13 om 10.23.20.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/c/c/ccc211fb577311d6e54e8a7e6ec69ae1696ec965.png)

---

<div class="post-metadata">

**Author:** ![Ian23Mc](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ian23mc/32/92090_2.png) [@Ian23Mc](https://community.hubspot.com/u/Ian23Mc)\
**Post date:** [August 15, 2021, 9:02pm UTC](https://community.hubspot.com/t/use-smart-content-based-on-internal-page-visit/42269/3 "2021-08-15T21:02:36Z")

</div>

Thanks @Teun that works well 👍
