Cookie Notice Manager

This application is used to set cookie preferences.

To learn how to import this template, see: Importing Online Application Templates.

The "Cookie Notice " additional control can be integrated into the layout and displays the corresponding message on the portal.

Example

{ "categories" : { "functional":1, "statistics":0, "marketing":1, "externalmedia":0 }}

The categories and corresponding text should be adjusted based on the cookies you use. To do this, open the application in Intrexx Portal Manager. The text can be edited in the Properties dialog box for each element. It is also possible to add or remove categories. Accordingly, the JavaScript methods ` saveCookie() ` and ` loadCookie() ` must then be modified. You can now integrate external sources into the custom_head.vm or custom_root.vm files, both of which are located in the portal directory internal\system\vm\custom. These are used in accordance with the user's current cookie settings in the app.

Example

#if($Request.containsKey('co_cookiesettings'))
#set($cookie = $JSON.parse($Request.get('co_cookiesettings'))
#if($cookie.categories.marketing == 1)
<script src="https://www.google-analytics.com/ga.js"></script>
#end
#end

When using the cookie notice, please observe the general, current data protection regulations.