Send push notifications when some specific pages it's updated only, not all the pages

Hi, we recently created an integration with WordPress, we only show the subscribe alert in two pages from our site (we insert the javascript code on each page), we were trying to send notifications just when we update those two pages but right now the system it’s sending notifications when any page from the WordPress site it’s updated.

How can we control this and enable notifications just on specific pages?