# Target rule issue

**URL:** <https://community.hubspot.com/t/target-rule-issue/83049>\
**Category:** APIs & Integrations\
**Tags:** free, professional\
**Created:** [June 9, 2023, 2:00pm UTC](https://community.hubspot.com/t/target-rule-issue/83049 "2023-06-09T14:00:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DR29](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@DR29](https://community.hubspot.com/u/DR29)\
**Post date:** [June 9, 2023, 2:00pm UTC](https://community.hubspot.com/t/target-rule-issue/83049/1 "2023-06-09T14:00:07Z")

</div>

I integrated with a reactjs app. Target rule only after the page refresh. Not working in a usual navigation.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [June 12, 2023, 4:51pm UTC](https://community.hubspot.com/t/target-rule-issue/83049/2 "2023-06-12T16:51:33Z")

</div>

Hey, @DR29 👋 Welcome to our community! Did you get this resolved? If not, can you add any additional context?

One question — Have you already tried calling the `trackPageView` method every time the route changes in your app?

Best,

Jaycee
