Tagging Website Pages for Analytics

GuideWhale allows you to tag website pages for analytics using flexible patterns:

Wildcards (*)

Use * to match any sequence of characters in a URL path. Example:

  • /dashboard/* matches /dashboard/overview, /dashboard/settings, etc.

Variables (:variable)

Use :variable to match dynamic segments. Example:

  • /user/:userId/profile matches /user/123/profile, /user/abc/profile, etc.

URL Structure

A typical web URL is structured as:

https://domain.com/path/to/page?query=param#fragment
  • Protocol: https://
  • Domain: domain.com
  • Path: /path/to/page
  • Query: ?query=param
  • Fragment: #fragment

Tagging pages accurately ensures analytics events are attributed to the correct views.