Publishers sometimes need to override the current page's URL. For example, if you have set up a Single Page Application, the URL doesn't change and the Pageview meter doesn't get incremented. Therefore, you will need to trigger the experience page/tracking manually and for this, you can use the following JavaScript function:
tp.setPageURL()
For example:
tp.push(['setPageURL', 'https://google.com'])