Cookies

What are cookies?

A cookie is a small piece of data sent from a website and stored on the user’s computer by the user’s web browser while the user is browsing. They will have the following properties:

  • A name
  • A value
  • Zero, or multiple, attributes (such as its expiration, domain, etc.)

Why are cookies used?

Cookies were designed to be a reliable mechanism for websites to remember stateful information (such as items added in the shopping cart in an online store) or to record the user’s browsing activity (including clicking particular buttons, logging in etc.). They can also be used to remember arbitrary pieces of information that the user previously entered into form fields such as names, addresses, passwords, and credit card numbers.

What types are there?

Session cookies

Session cookies exist only in the temporary memory while the user navigates the website. Web browsers normally delete these when the user closes the browser.

Persistent cookies

Instead of expiring when the web browser is closed as session cookies do, a persistent cookie expires at a specific date or after a specific length of time. These are however reset if the expiration time is reached or the user manually deletes the cookie.

Third-party cookies

Normally, a cookie’s domain attribute will match the domain that is shown in the web browser’s address bar. This is called a first-party cookie. A third-party cookie, however, belongs to a domain different from the one shown in the address bar.

Cookie limitations

This is browser dependent, however in practice a limit of 4096 bytes is considered practical – making them suitable for storing small data strings. HTML 5 local storage may be preferable where larger data sets are required.

How can Webtrends Optimize use cookies for testing and personalisation?

Cookies can read and be used as flags for segmenting visitors into explicit test or personalisation scenarios. For example, new vs returning visitors.

It is also possible to create cookies using JavaScript to record visitor attributes and a basis for personalisation e.g items in basket. 

More from the glossary

Onsite Surveys

Onsite Surveys Get instant feedback from your visitors Tracking your customer interactions from your analytics and your testing tool can

Read More »

Funnel Optimisation

Funnel Optimisation Turn browsers into buyers No matter what business you’re in, converting visitors effectively through a funnel equals revenue.

Read More »

Hybrid Service

Hybrid Service Comfortable building your own tests but maybe want some additional guidance and fancy dipping your toe into something

Read More »

Get in touch

If you have more questions or want to know a little more about website optimisation and personalisation, send us a message or call us on 0333 444 5502.

Thank you!

Thanks for submitting your enquiry with us.
A member of the team will be in touch shortly to follow up with you.

Thank you!

Please check your inbox and validate your email address so that we can create your free trial account.

Training Videos

While we're setting up your account, feel free to check out our training videos. You'll find them at: https://help.webtrends-optimize.com/optimize/training-videos/

Blog

Or, take a look through our blog to review industry insights, wins and all things Experimentation. https://www.webtrends-optimize.com/blog/