Single Page vs. Multi-Page Sites: A Data Collection Perspective

How the number of pages a visitor opens affects identification, and what to expect on one-page sites and single-page applications.

Websites range from a single landing page to sites with hundreds of pages. Because the Blue Tracely script works page by page, the way your site is built changes how many chances it gets to identify a visitor, and how much you learn about them.

How the script works page by page

  • Each page load is a fresh start. The script runs every time a page loads, and reports at most one page view per load, no sooner than about 9 seconds after the page loads. A visitor who leaves sooner isn't reported from that page.
  • Answers carry over between pages. When an identity partner recognizes a visitor's browser, the script keeps that answer in the browser for 30 days, so it doesn't need to ask again on the visitor's next page. An answer that arrives too late for one page view is kept and used on the next one.
  • Page views are grouped into sessions. The page views a visitor makes within 30 minutes of their first one form a session in their Activity tab.

Limitations of single-page sites

  • One chance per visit. On a site with only one page, such as a landing page, a visitor who reads it and leaves within the first few seconds isn't reported at all. On a multi-page site, every further page they open gives the script another chance.
  • Fewer signals of interest. When every visitor sees the same page, the page history in Activity and your Hot pages can't tell you which topics a visitor cared about.

Single-page applications

Some websites are built as single-page applications: the browser loads the page once, and the site then swaps its content as the visitor moves around, without loading a new page. The Blue Tracely script runs on full page loads only. In a single-page application it reports one page view per load (the page the visitor is on when it reports), and not the other screens they move through afterwards. URL restrictions and Hot pages see only that page view too.

Advantages of multi-page sites

  • More chances to identify. Each page a visitor opens starts the script again, and carries over what earlier pages found.
  • A fuller picture of each visit. On Starter and above, a person's Activity tab shows every page they viewed, in order and grouped into sessions.
  • Targeted content. Separate pages for separate topics let you mark the pages that matter as Hot pages (Pro and Pro+), and use URL restrictions to choose where the script runs.

Make the most of your site's structure

  • Install the snippet on every page, ideally in your site's shared header template, so that every page a visitor opens can report them. See Installing Your Blue Tracely Tracking Script.
  • If your site is a single-page application, expect fewer page views per visitor in Blue Tracely than your analytics tool may count.