- Get or login to your Otto or Anapp-system
- Go to Settings -> Data Templates -> GDPR Consent Data. Choose language.
- Now you have to add the following piece of code to all your web-pages, then the anapp-form will appear "automagically" on them whenever you get a visitor. NB. You have to change {$service_domain} below with the correct domain-name of your installation of your own Otto-domain:
<!-- Start of jQuery-insertion unless you already have version 1.9 or higher --> <script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.min.js"></script> <!-- End of jQuery --> <!-- Start of AnApp code --> <script type="text/javascript" src="https://{$service_domain}/public/files/anapp/anapp.js"></script> <script type="text/javascript">// <![CDATA[ initAnApp('en', true); /* en for ENGLISH, sv for SWEDISH etc. */ // ]]></script> <!-- End of AnApp code -->
- If you have different languages, note that you'll have to change the language code at one place in the code, too.
- To make it even easier for people to give their consent, you can just add their own email-addresses to the links they click in your send-outs on the following form:
https://thewebpageyoutarget.tld/?utm_email=%ct_email% (where %ct_email% is the Otto-tag for knowing the recipients' email, if you do the send-out from other systems, they'll likely have their own versions of this)