Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



DateChanges made
24.10.2019

Update documentation for 2.0.0

new in 2.0.0:

  • The "Ok" button has been removed. In banner mode as well as overlay mode are now the following buttons: "accept only functional necessary", "accept all", "individual configuration".
  • Configured Trackings are now listet below the notice text, so that a user can make an informed decision right away.
  • A new banner template replaces the existing ones template 1 and 2.
  • For each configured tracking, a short description can now be added. Also a classification can be selected.
  • The Name of the default "Google Analytics" and "Facebook Pixel" can now be changed via Shopware text snippets.
  • When overlay mode is active, it could cover the privacy statement. The Plugin now changes to banner mode automatically if the privacy statement is shown (as configured)

...

Warning

Note: this software is provided "as is" without any legal gurantee. We are not liable for any legal conformity. Please consult legal support to confirm correct usage for your application scenario.


Description

Cookie Notice

This Shopware Plugin can provide a notice to shop visitors about the usage of cookies (e.g. EU GDPR or privacy compliance, etc.). It provides also privacy-settings for visitors, so they can manually opt-in or opt-out of trackings on your website. Google Analytics is pre configured and our plugin "Facebook Pixel for Shopware" integrates automatically (from version 1.1.3).
Texts, colors and positioning of the cookie notice can easily configured in the plugin settings.

Privatsphäre Einstellungen

From version 1.2.0 you can enable the privacy-settings dialog. It enables visitors to anonymously configure their opt-in / opt-out preferences. From version 1.4.0 you can integrate your own trackings in the privacy-settings.
Via the plugin configuration you can define the default behavior of the trackings. Opt-In tracking is disabled for new visitors per default. Opt-Out: tracking is enabled for new visitors per default.

...

Installation

Installation in the shop

Just install with the plugin manager and customize the configuration options for your needs.

Note

Make sure you clear the Shopware Cache (Frontend and HTTP-Proxy) after the installation.

...

Opt-Out links for shop content (for use in privacy policy etc.)

Info

You can open the privacy settings for the user anyhwere in the shop with the following html link:

Code Block
languagexml
<a href="javascript:mndCookieNotice.mndOpenPrivacySettings();">Privatsphäre-Einstellungen</a>


...

Just change cookie-name and cookie-label to the values you've configured in the plugin configuration.


Links for direct opt-in/opt-out from all trackings:

Code Block
<a href="javascript:mndCookieNotice.mndOptOutAll();“ onclick=„alert('All cookies deactivated.');“>Deactivate all cookies</a>

<a href="javascript:mndCookieNotice.mndOptInAll();“ onclick=„alert('All cookies activated.');“>Activate all cookies</a>


Execute additional Javascript-Code

...

Info

We recommend placing only dedicated function calls in this field. Complex javascript code is best provided via an javascript include in the template and called via this field. This makes debugging far more easier.

e.g.


Code Block
functionCall1();
functionCall2();
functionCall3();



Text configuration

In order to change the text of notice and button please navigate to the snippet management at Configuration → Snippets.
Search for "MndCookie" and you'll find the relevant snippets:

Select the snippet you want to change and click on the button "Edit selected snippets" from the menu above. You can also use HTML for advanced formatting.


Info

Please note that you'll probably need to clear the Shopware cache again and eventualy the template have to be new compilated, in order to see the changes in the frontend.


Placed Cookies

Cookie nameZweckKommentar
​mnd-ga-opted-inGoogle Analytics Opt-In​valid for 100 years
ga-disable-UA-XXXXXXX-XXGoogle Analytics Opt-Outvalid for 100 years
Will be stored for each Google Analtyics Property ID configured.
<individual name>Opt-In / Opt-Out for individual trackings

valid for 100 years
Will be stored for each cofigured individual tracking


Info

You can find more information about our plugin "Facebook Pixel for Shopware" on its documentation page here: v1.x.x Facebook Pixel (MndFacebookPixel) -EN

Integration into the privacy settings is provided from version 1.1.3

...