Skip to main content

SinglePageApplication

If your webapp is a Single Page Application (Created with React, Angular, Vue, ...):

  1. Click the plus on the top right.
  2. Name your trigger Page History.
  3. Click Trigger Configuration.
  4. Select History Change from the list. Single Page Application Trigger
  5. Change the trigger firing rules to Some History Changes.
  6. Enter the URL parameter that identifies the page where the tag should fire. For example, if your confirmation page is example.com/cart/payment/shipping the identifying parameter can be any of cart, payment, or shipping.
  7. Click Save.
  8. Save the Rokt tag template if you are using it.
Was this article helpful?