Query String Attributes

What are query string attributes?

Query string attributes are appended to the end of a dynamic URL (as an extra, optional value). It is the portion of a URL where data is passed to a web application and/or back-end database. A query string at the end of a URL for website updates and maintenance is commonly seen with a version number, for example:


The question mark here is an optional variable which can be added to an existing URL, for example when a user lands on your web page for the second time and the content is cached locally on their computer. If a file has been updated and the file name version number has also been updated the users web server will only have to go and retrieve your updated query string version; rather than hoping users will clear their cache and needing to reload all files once again.

How else can you use query string attributes?

Query strings transfer information not only for server-side applications but is also used for other tools such as website analytics platforms. For Marketers query string attributes are used to retrieve information about traffic/marketing sources and specific campaigns so that their success can be gauged. This is an example of a typical marketing URL using query string attributes:

www.domain.co.uk/page/?utm_source=newsletter&utm_medium =email&utm_campaign=sale50

Breaking this down…

How can you use query string attributes with Webtrends Optimize?

Using Webtrends optimize you can change or update what customers see on a web page depending on the query string attributes which are appended.

For example; if within the query string attributes we saw: utm_medium=ppc&utm_campaign=past

Instead of sending the customer to the generic PPC landing page we may send them to a version of the page that is more tailored to ‘past customers’. You could then provide these customers with a more targeted experience based on what you know about how regular customers interact with your website as opposed to first time visitors, with the hope that this may make them more inclined to complete the KPI or conversion on the page.

Back to glossary

Back to top

More from the glossary

Onsite Surveys

There's nothing like getting real customer feedback - instantly


Product Recommendations

Product Recommendations can help your customers find what they're looking for.


Regex (Regular Expression)

What is a Regex? What can you do with it? What are the benefits?


Reporting Dashboard

What is a Reporting Dashboard? Why use one? How is it different to a report?


Get in touch

Want to know more about how Webtrends Optimize can help you with website optimisation? Click below to send us a message or call us on 0333 444 5502.

Send message