Meka creates the following URL Variable to gain insight into revenue stats for recent concert sales on her company's website (ConcertTickets.com/PurchaseAmount_confirmation). What type of SAS variable is she utilizing in this case?
Choose an answer
Tap an option to check your answer.
Correct answer: Query String Variable.
Why this is the answer
Meka is utilizing a Query String Variable. This type of variable extracts values directly from the URL's query string, which is the part of the URL after the question mark (?). In the example ConcertTickets.com/PurchaseAmountconfirmation, if the URL were ConcertTickets.com/Purchase?amount=100&ticketID=XYZ, a Query String Variable could be configured to capture amount (100) or ticketID (XYZ). This is ideal for extracting specific parameters passed within the URL itself. A Global JavaScript Variable would refer to a variable defined within the website's JavaScript code, accessible globally. A Data Layer Variable extracts values from a data layer object, which is a structured JavaScript object used to pass information to tag management systems. Neither of these directly extracts information from the URL's query string as described.
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