A single-page application (SPA) is a web application or web site that fits on a single web page with the goal of providing a more fluid user experience akin to a desktop application. In order to track events for single-page websites, your webpage must use URLs that use the hashtag appended to the URL. This article will detail how to track code through by using anchor tags.
The following user roles can add tracking code:
In order to track events on a single page, your website must use anchor tags.
To add tracking code via anchor tags, do the following:
- Add tracking code to your website.
- Paste the following code snippet below the tracking code:
- Resubmit the tracked event to SharpSpring by calling