What is a cookie?
A cookie is a generally small piece of data identified by a name that may be sent to your browser by a website you are visiting. Your web browser will store it for a certain period of time, and will send it back to the web server each time you visit again. Cookies have many uses: they can be used to remember your customer log-in information for an online store, the current contents of your shopping cart, as an identifier for tracking your browsing for statistical or advertising purposes, etc.
Several types of cookies exist:
“Necessary” internal cookies allow information to be saved between two visits to the same website by the same device. They can save a shopping cart, log-in information, or interface preferences. They do not require the user’s consent.
“Statistical” cookies make it possible to track an Internet user's actions on a website. When statistics are anonymized (meaning they cannot be traced back to a person), user consent is not required.
“Internal” or “first-party” cookies are stored by the website visited. They can be stored in addition to the necessary cookies, and can be used to collect personal data, track user behavior, and for advertising purposes.
“Third-party” cookies are cookies stored by (or for) a Website B (often an advertising agency) on Website A. This allows Website B to see what pages the user visited on Website A, and collect information about the user.
What cookies are used on the https://data.tg.ch platform
Cookies necessary for the platform to function properly/functionality cookies
|Service provider's name||Function and location||Cookie name(s)||Purposes|
|Opendatasoft||Authentication (front and back office)||sessionid||To remember the user from one page to another|
|Opendatasoft||Language selection (front and back office)||django_language||To remember the visitor’s language|
|Opendatasoft||API (CSRF) (front et back office)||csrftoken||To retrieve data via API calls|
|Opendatasoft||Choices related to your cookie preferences||cookies_preferences||To remember the visitor’s cookie preferences|