1.0.2 • Published 1 year ago

add-private-metrics v1.0.2

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
1 year ago

Add private metrics extension for EverShop

This extension is implemented based on another npm package - Evershop @thenguyen.

It allows you to track the essential e-commerce user actions: view, click, add to cart, checkout and order.

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 extension using npm:

npm i add-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
      }
    ]
  }
}

Testing guide

The extension has preloaded some products for testing purpose. It also pre-set the shipping zone to include the US. User can directly create a new account and perform the five actions, which will be reflected in the backend database. Use psql -U postgres -d evershop to check the updates.

1.0.2

1 year ago

1.0.0

1 year ago

1.0.1

1 year ago