What Tag Manager variable type should you use to track only the part of a URL after the hash sign?
Choose an answer
Tap an option to check your answer.
Correct answer: URL Fragment.
Why this is the answer
The URL Fragment variable type is specifically designed to capture the portion of a URL that follows the hash sign (). This part of the URL is often used for navigating to specific sections within a single web page without triggering a full page reload. URL Port extracts the port number (e.g., :8080). URL Query extracts the query string parameters (e.g., ?param=value). URL Path extracts the path component of the URL, excluding the protocol, domain, query string, and fragment (e.g., /path/to/page.html). These options do not isolate the segment of the URL after the hash sign.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed