Dynamic URLs

The Problem

Often times our apps include Dynamic URLs where there’s an ID of some kind present in the URL to lookup a specific product, patient, profile, or unit. For example, mysite.com/patients/:patientId.

Most of the time, we do not want to capture specific analytics hits for each of those units, but instead capture that the Details Page itself was hit.

The Solution

In this case, the simplest fix is to utilize the 99dev-page meta to identify this page without impacting SEO. Read more about 99Dev Metas here

404.html
<head>
  <meta name="99dev-page" content="/patients/:patientId">
</head>