Expand my Community achievements bar.

Adobe analytics not refreshing on page redirection in the react application due to "history.push" method.


Level 1

Adobe target script is working fine if we are using  “a tag (hyperlink)” for page redirection, but in many places in our application, we are using history.push method to load the content for another page. 

Currently, it is working perfectly on only the current page , if we click on any other page URL then latest target data is not loading on Adobe debugger tool due to history.push in single-page application, when I refresh the page then only it is loading the latest data.

How we can resolve this issue?

0 Replies