Application Store - Cookie Notice Manager
Cookie preferences can be defined in this application. Click
here for more information about
how to import the app into your portal after downloading it from the
Application Store. The user settings are saved in the cookie
"co_cookiesettings" in JSON format.
Example:
{ "categories" : { "functional":1, "statistics":0, "marketing":1, "externalmedia":0 }}
The categories and relevant texts should be adjusted accordingly to the
cookies you are using. Open the application in the Intrexx Portal
Manager. The texts can be edited in the properties dialog
of the corresponding element. You can also add or remove
categories. The
JavaScript methods "saveCookie()" and "loadCookie()"
need to be adjusted accordingly.
You can now integrate external sources in the files
"custom_head.vm" or "custom_root.vm"; you can find both of these in the
portal directory internal\system\vm\custom.
These will be used based on the cookie setting currently
set in the app.
Example:
#if($Request.containsKey('co_cookiesettings'))
#set($cookie = $JSON.parse($Request.get('co_cookiesettings')))
#if($cookie.categories.marketing == 1)
<script src="http://www.google-analytics.com/ga.js"></script>
#end
#end
 |
Please consider the current, general data protection regulations when using the cookie notification.
|