always refers to the latest version of Sitevision

Guide Cookie-banner

In the Cookie banner module, you can let the visitor accept cookies, link to your cookie policy and choose how your cookie banner is presented on your website.

The cookie banner is based on the settings you make in the Cookies panel under Website settings. This guide contains a description of the Cookies panel, how to Add cookies and how to customize the Cookie banner module.

Page content:

Some functions and modules use cookies. These cookies need to be registered in order to be accepted by the visitor. Without approval, cookies will not be set and the function may not work as intended. For example, if you use Sitevision web analysis without cookies, you will not be able to do the analysis fully.

The cookies panel

The cookies panel can be found under Website settings. It shows five categories for different types of cookies. Here you can enter a title and description for each category. You can fill in your own description or use our standard descriptions. It is these Title and Description fields that will be displayed in the Cookie Banner module. In the Cookie banner, the visitor then has the option to disable all cookies, except those in the Necessary cookies category which cannot be disabled.

Skärmklipp från Panelen Cookies.

These cookies are necessary for the proper functioning of various features of the website and cannot be turned off.

Standard texts:

  • Title: Necessary cookies
  • Description: Keeps our services secure and working properly. Therefore it cannot be disabled.

These cookies are required for certain functionality to work as intended on the website.

Standard texts:

  • Title: Functional cookies
  • Description: Helps us to provide enhanced functionality and customization.

Please note that the descriptions are help texts, feel free to change them to suit your website.

Analytical cookies are cookies that help you improve the user experience for the visitor.

Standard texts:

  • Title: Analytical cookies
  • Description: Provides us with information about how our website is used that allows us to maintain, operate and improve the user experience.

Please note that the descriptions are help texts, feel free to change them to suit your website.

Marketing cookies allow us to promote and personalize ads on the website.

Standard texts:

  • Title: Marketing cookies
  • Description: Allows us and our partners to, for example, personalize ads to you based on how you use our website.

Please note that the descriptions are auxiliary texts, feel free to change them to suit your website.

Other cookies are other third-party cookies that you use on your website.

Standard texts:

  • Title: Other cookies
  • Description: Here you can add what other types of cookies do on your website.

Please note that this is only a default text that is mainly aimed at those working in Sitevision and that you should replace it.

It is important that you change the description for the category Other cookies. The standard description is more of a text for those who work in Sitevision so that you know what this category does. For example, if you want to add a cookie for personalization, you describe what this cookie is for. For example, "Allows us to customize your experience with personalized content". Then you also rename the title to Personalization Cookies.

Add Cookies

Sitevision's own

We have prepared so that you only need to register that you use a certain Sitevision function, and thus the function's cookies, for these to be automatically managed in our Cookie banner. The registration is done in the Cookies panel under Website Settings. Sitevision cookies are a separate category.

Skärmklipp på panelen cookies.

For example, if you use Sitevision web analytics, click on the Register button next to en-web-analytics. It will then be placed under the category Analytical cookies and managed by our Cookie banner.

Sitevision cookies must always be managed whether you use our cookie module or not. Sitevision cookies are automatically denied if no consent is given. This means that features using cookies may not work as expected.

Functional Cookies

  • sv-bookmarks2: Used by the List favorites and Add/remove favorites modules to allow anonymous visitors to add favorites to a persistent cookie.
  • sv-votes: Used by the Web Question module to prevent double voting.
  • sv-usr-hint: If you use OpenID Connect for login, this cookie is used to allow you to log in with the same user as last time.

Analytical cookies

  • sv-uts: Used if you use the Personalized Content feature with Criterion type Last visit and/or Criterion type Number of visits.
  • sv-web-analytics: Used by Sitevision web analytics (Matomo or Piwik PRO) when you have checked that you want to use cookies or Tag Manager.
  • sv-web-analytics-custom: Only needs to be managed if you have extended your tracking via Piwik PRO Tag Manager.
  • sv-web-analytics-marketing: Only needs to be managed if you have extended your tracking via Piwik PRO Tag Manager.
  • sv-web-analytics-functional: Only needs to be managed if you have extended your tracking via Piwik PRO Tag Manager.
  • sv-google-analytics: Used by google analytics.
  • mtm_cookie_consent: Stores the cookie consent for Sitevision cloud web analytics and tag management.

If you use Tag Manager, you need to make a setting for cookies to be handled correctly. Read more about Matomo tag manager and cookies.

Necessary cookies

  • svsession_<idnummer>: If you use the secure cookie as a login method, you must add this as a necessary cookie because otherwise the login procedure will not work.

Necessary cookies that come with Sitevision are registered automatically. There are two cookies (JSESSIONID and sv-cookie-consent) that are necessary for all customers and one more (SitevisionLTM) if you have your website in our cloud environment.

Third party cookies

If you use other functions with cookies other than Sitevision's own, it is important that you identify which ones and register them in the Cookies panel under Website Settings. Under each category, you can click on Add Cookie.

When you click on Add cookie, a new window opens. Fill in the information.

  • Name: Here you name your cookie.
  • Identifier: Here you fill in the identifier of your cookie.
  • Description: Fill in a description of what the cookie is for.

If you add a third-party cookie, it must be able to handle a visitor not accepting cookies. This is not something that happens just because you have added cookies under website settings. On our developer site you will find examples of how you can build such a solution.

This function requires that you have the "Manage website settings" permission.

It is a requirement that the page is loaded over https for a cookie to be set. Read more about Access requirements

It is important that your third-party cookies can handle a visitor not accepting cookies. Otherwise, it will appear that the user says no to cookies but they are still used. Excluding cookies requires development and you may therefore need the help of a partner to make it work.

Please note that the acceptance of cookies only works for our native integrations. For example, Google Tag Manager can add cookies. Anything added to Tag Manager must therefore be adapted there to handle the authorization on the Sitevision page. So you need to write code in Tag Manager to manage the approval. We can help manage Yes/No to cookies, but it is you who make sure to act on the approval by programming it in Tag Manager.

The cookie banner module

The Cookie Banner is a module that you download from the Marketplace. In the module you can let the visitor accept cookies, link to your cookie policy and choose how your cookie banner is presented on your website.

Download the module from the Marketplace

Put the Cookie banner module on your first sub-template. That is, the one on which all other templates are based. This way, the cookie banner is visible to all visitors regardless of which page they enter.

Settings in the module



  • Title: Here you write the title you want for your cookie banner. It will be displayed to your visitor.
  • Message: Here you write an extended message to your visitor. For example, why you use cookies.
Skärmklipp på webbplatsinställningar för allmänt.


Here you have the possibility to enter other texts on the buttons than the standard texts available in the module.

Skärmklipp knappar

Custom texts for the cookie categories

Here you have the possibility to replace the default text for each cookie category with your own texts.

Skärmklipp för webbplatsinstälningen nödvändiga cookies

Cookie policy

The purpose of the cookie policy is to explain the consequences of allowing or not allowing cookies so that visitors can make an informed decision about this. If your website uses cookies, you must inform visitors about this in a cookie policy.

Read more about what a cookie policy should contain

Skärmklipp inställningar för cookie-banner modulen


Here you choose how you want to display your cookie banner. There are three options.

Show as banner
at the top of the page. When you click on settings, the bar drops down and more settings are displayed.

cookie-banner modal

View as modal
Displayed as
a window that pops up in the center. When you click on settings, more information is displayed in the window.


Show as button
Show as a button. This is a good option to link to your cookie policy page. That is, you add your module as a banner or module and then an additional module in button format to always be able to come back to see the information about cookies.

Knapp standard

Button order
Decide which buttons are visible and in which order. For example, whether both the Approve required cookies and Approve all cookies buttons should be visible.

Skärmbild av utseendet för knappordning

To make saying no to cookies as easy as accepting cookies, do the following:

  1. Set the button order to [Accept necessary cookies], [Accept all cookies] and [Settings].
  2. Change the name of the "Accept necessary cookies" button to "Reject all but necessary cookies".


To enable you to have correct heading levels in the module, we have added an h2 as a default heading level. Here you can change this to suit your design and become the correct heading level. It is possible to change everything from h1-h6 to be able to match the correct header level in the cookie banner.


Choose whether you want to display your cookie banner in the editor interface as well.

Appearance changes

Do you want your cookie banner to be in the same style as the rest of your website? Then you can make settings for this in your website's theme. You can find and set up the theme under website settings/appearance/theme.

What affects the appearance?

The following settings in the theme help you influence the appearance of the cookie banner:

  • Fonts: Select Fonts and set the Basic font size. This affects all fonts in the module.
  • Elements: Select Background color on Primary and optionally Text color on Primary to control the appearance of the buttons.
  • Buttons: Select Edge radius:10 pixels for a round button instead of a square one. Edge radius 0 means no round corners.
Cookie-banner i modalform med Envision

Cookie-banner i modal-form med Envision

If you have chosen to display it as a banner, there is one more setting you can influence:

  • Block: Select Default and set the Background color to default and you will get a background color when you click on the Settings link around Customize cookie settings.
Cookie-banner i banner-form med Envision

Cookie-banner i banner-form med Envision

The page published:

Did the information help you?