Single Page Application (SPA)
  • 16 Nov 2023
  • 1 Minute to read
  • Dark
    Light

Single Page Application (SPA)

  • Dark
    Light

Article Summary

Summary

The standard instructions for implementing the Jornaya javascript snippet also apply to a SPA or Single Page Application.

This is true whether or not form tags are present on the page since the functionality of the javascript is not based on them being available.

The Jornaya javascript should be placed at the bottom of the page before the ending body tag or as far down as possible to ensure all site content has rendered before the javascript executes. This will allow the javascript to witness everything on the page properly.

Once the LeadiDscript is introduced in a Single Page App, Jornaya's network requests will continue to execute even on sections of the SPA that do not include the LeadiD script.


Once implemented, follow the steps in the Campaign Implementation Self Test to verify the implementation is working as expected.


Was this article helpful?