1.0.1 • Published 17 days ago

display-private-metrics v1.0.1

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
17 days ago

Display private metrics extension for EverShop

This extension is implemented based on two npm package - Evershop @thenguyen and add-private-metrics @grebethzy.

add-private-metrics allows you to track the essential e-commerce user actions: view, click, add to cart, checkout and order. Based on this, display-private-metrics illustrates those collected actions to users, granting user with right to be forgotten by GDPR.

Note: This extension requires EverShop version 1.0.0-rc.9 or higher.

Installation guide

Step 0: Install the Evershop application

There are three approaches to install the Evershop application, please refer to:

Step 1: Install the two extension using npm:

npm i add-private-metrics
npm i display-private-metrics

Step 2: Enable the extension

Edit the config/default.json file in the root directory of your EverShop installation and add the following line to the extensions section:

{
  ...,
  "system": {
    ...,
    "extensions": [
      ...,
      {
        "name": "add-private-metrics",
        "resolve": "node_modules/add-private-metrics",
        "enabled": true,
        "priority": 10
      }, 
      {
        "name": "display-private-metrics",
        "resolve": "node_modules/display-private-metrics",
        "enabled": true,
        "priority": 10
      }
    ]
  }
}

Testing

An account for testing purpose has been implemented: Email: test@test.com Password: 123456

Some fake actions has been added to this account for illustration purpose.

1.0.1

17 days ago

1.0.0

18 days ago