# Consent string

The Consent string is the representation of a user's consent for data usage. You can decode a consent string online (opens new window).

When a user enters the website, the flow is as follows:

  1. Check if there is a euconsent cookie already saved.
  • If there is, all impressions for the user are requested with this consent string. The cookie lives for 6 months.
  • If there isn't any, a CMP is shown to the user.
  1. If a user clicks the "Accept all" button, a string is saved in cookies with all purposes and vendors as accepted.
  2. If a user clicks the "Manage choices" button, he is shown a screen with a list of purposes that are by default rejected. He can use toggles to accept them.
  3. If a user clicks "See vendors list" in the 1st or 2nd screen, he is shown a list of vendors that are by default rejected. He can use toggles to accept them. If all purposes are accepted, we update all vendors as accepted unless a user makes a further change in the vendors´ list.
  4. After the user clicks "Save" all the choices made are saved into consent string.