How can I track anchor elements (#)?

By default, Piwik PRO doesn’t record elements after the main page URL. For example, when you have the page URL clearbank.com/product-tour#first-step, in reports you will see clearbank.com/product-tour. The anchor element #first-step will not appear.

But if you want to track anchor elements and see uncut page URLs, you can turn this option on.

For a website or app

To turn on the tracking of anchor elements (#) for a single website, follow these steps:

  1. Go to Menu > Administration.
  2. Navigate to Websites & apps.
  3. On the left, select the website you want to work with.
  4. In Settings, scroll down until you see the Tracking section.
  5. Toggle Keep page URL fragments when tracking.
Keep Page URL fragments when tracking Page URL.

For the whole account

To turn on the tracking of anchor elements (#) for all websites, follow these steps:

  1. Go to Menu > Analytics settings.
  2. Navigate to Website > Settings.
  3. Scroll down until you see the Page URL fragments tracking section.
  4. Thick the option Keep Page URL fragments when tracking Page URL.
  5. Keep Page URL fragments when tracking Page URL.
  6. Click Save.
Was this article helpful?

Be the first to rate this article.

Technical Support

If you have any questions, drop us a line at support_SPC@piwik_SPC.pro.

We’re happy to help!