Magento 1 GDPR Compliance: Anonymisation of order data

Select GDPR countries - This setting allows you to  will be able to choose which consent parameters to be sent to Google as granted or denied. Users from countries not included on the list will always send consent parameters as granted to Google.

Installation and User Guide for Magento 1 GDPR Compliance: Anonymisation of order data

Table of Contents

  1. Installation
    • Disable Compilation Mode
    • Upload Package
    • Clear Caches
  2. Configuration Settings for GDPR Compliance
    • General Settings
    • Cookie Notification Message
    • Cookie Notification Message
    • Privacy Settings
  3. Configuration Settings for Cookie Popup
    • General Settings
    • Popup Styling
    • Additional Tabs
  4. Admin Configuration for Cookie Choice
    • Manage Cookie Choice List
      • ID
      • Choice Name
      • Cookie Name
      • Store view
      • Required
      • Default State
    • Cookie Choice
    • Add new Cookie Choice
    • Choice Name
    • Cookie Name
    • Store view
    • Choice Description
    • Created by List
    • Required Record
    • Set by Default
  5. Customers Detail in Privacy Policy Consents
  6. Anonymize Orders from Admin Section
  7. Newsletter Subscription
  8. Enable / Disable Tracking
  9. Integrate Cookies with GTM Pro Tracking
  10. Front-end site view
    • Cookie Popup - Cookie Accept
    • Cookie Preferences
    • Cookie Preferences for store view
    • Strictly Necessary Cookies
    • Performance Cookies
    • Statistics Cookies
    • Marketing Cookies
    • Check the Value of the Accepted Cookies on the Front-end
    • Visibility of "Accept all" Button on the Cookie Popup
    • Newsletter Subscription
    • Privacy Policy Checkbox on Registration and Checkout Page
    • Delete Account from my Account Section

Installation

Configuration Settings for GDPR Compliance

Go to Admin > Stores > Configuration > Scommerce Configuration > GDPR

General Settings

image - 2025-07-02T194901.259.png

image - 2025-07-02T195330.106.jpg

image - 2025-07-02T195505.699.jpg

Privacy Settings

image - 2025-07-02T195601.972.jpg

Configuration Settings for Cookie Popup

Go to Admin > Stores > Configuration > Scommerce Configuration > Cookie Popup

General Settings

image - 2025-07-02T170200.227.png

Popup Styling

image - 2025-07-02T170234.977.png

image - 2025-07-02T170307.396.png

Additional Tabs

image - 2025-07-02T170339.784.jpg

Admin Configuration for Cookie Choice

image - 2025-07-02T170450.194.png

image - 2025-07-02T170553.115.png

image - 2025-07-02T170708.472.png

Customers Detail in Privacy Policy Consents

When customer check the privacy policy agreement checkbox in the process of registration then it saves the details of the customers in backend privacy policy consents at Admin > Customers > Privacy Policy Consents

image - 2025-07-02T170814.118.jpg

Anonymize Orders from Admin Section

When you select action "Anonymise Orders" from Admin > Sales > Orders > Actions> Anonymisation Order > Click on Submit Button, then it anonymise customers data, which can't be reversed. Before "Submit" it asks for confirmation and displays a message popup says "Are you sure you want to anonymise selected transaction data because of this action can't be reversed?"

image - 2025-07-02T170905.783.jpg

Newsletter Subscription

To see newsletter subscription records go to Admin > Marketing > Newsletter Subscription

image - 2025-07-02T171126.507.jpg

Enable / Disable Tracking

If you are using any of our tracking extension or any other third party extensions and you don't want to send information to Google then you need to check for the cookie name e.g. "statistics_cookie" and this will be set to 1 for "accept" and 0 for "decline" , based on cookie value it will enable or disable the tracking.

Here is the function which will force your tracking not to run unless the cookie has been accepted by the customer from cookie notification message.

e.g. You can add name of your GDPR cookie, here for our GDPR extension the name of cookie key is statistics_cookie", which we have been using in below code. 

/**
Check if the third-party cookie has been accepted or not
*
@return bool
*/
protected function hasCookie()
{
}
/**
$cookieKey = 'statistics_cookie';
$cookie = (string)Mage::getModel('core/cookie')->get($cookieKey); return ($cookie=="1" ? true : false);

Here is the function which will turn off your tracking only when customer declines from cookie notification message

*
@return bool
*/
protected function hasCookie()
{
$cookieKey = 'statistics_cookie';
$cookie = (string)Mage::getModel('core/cookie')->get($cookieKey); return ($cookie=="0" ? false : true);
}

Integrate Cookies with GTM Pro Tracking

You can integrate cookies with GTM Pro by following the below steps in GTM: -

Step 2 - Create a new trigger named "Acceptance Cookie", trigger type could be anything like GTM.DOM, Pageview, Custom Event etc and based on the trigger type choose some custom events or some pageview and add the following condition

Step 3 - Associate the trigger created in Step 2 ie.. "Acceptance Cookie" with any existing tag and that tag will only fire when customers accept the cookie on your website

Front-end site view

Cookies are used to improve the experience for user. Once you accept, the file is added and the cookie helps analyse web traffic or lets you know when you visit a particular site. Cookies allow web applications to respond to you as as individual.

image - 2025-07-02T171614.531.jpg

You can configure cookie choices from Admin > Customers > Manage Cookie Choices > Manage Choice list, configured cookie choice will be shown on the front-end under "Cookies Settings" link, a customer will open a Cookie Preferences pop up, from where a user can Accept or Decline cookies. Below is the description under each cookies category that clarifies how the cookies it contains are used.

image - 2025-07-02T172542.637.png

image - 2025-07-02T172633.154.png

Check the Value of the Accepted Cookies on the Front-end

You can check the value of the accepted cookies by using developer tool (F12). Here is the path to check, Press F12 > Network > Storage > Cookies > Click on site URL > Check the cookies status/value under "Value" column.

Visibility of "Accept all" Button on the Cookie Popup

The "Accept All" button will shown on the cookie popup, if all cookie choices are Not required and "Set by Default" for cookie choices set to "No" from Admin > Customers > Manage Cookie Choices > Manage Choice List > Select Cookie Choice > Edit > Set by Default - "Yes/No". If set to "Yes" then "Accept All" won't appear.

Newsletter Subscription

Once Enable Newsletter is configured from Admin > Stores > Configuration > Scommerce Configuration > GDPR > Privacy Settings > Enable Newsletter - "Yes", then you can see the privacy agreement checkbox on the newsletter "Privacy Policy" link redirects to privacy policy page.

Privacy Policy Checkbox on Registration and Checkout Page

The privacy policy checkbox will be shown on the registration and checkout page.

Delete Account from my Account Section

You can delete the account from Front-end > My Account > Delete Account section

If you have a question related to this extension please check out our FAQ Section first. If you can't find the answer you are looking for then please contact support@scommerce-mage.com.


Revision #31
Created 2 July 2025 10:47:18 by scommerce
Updated 14 July 2025 07:06:14 by scommerce