Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@geins/ralph-module-hello-retail

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geins/ralph-module-hello-retail

Hello Retail module for Geins PWA strorefront

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

NPM Package NPM Downloads Geins

Start Geins Free Trial Geins Docs

geins-hello-retail

Hello Retail module for Geins PWA Storefront

A module for Geins PWA Storefront Ralph that allows you to effortlessly integrate Hello Retail features into your storefront. With this module, you can enhance your online store with powerful Hello Retail functionalities in just a few seconds.

Pre-requisites

Description

The Hello Retail module integrates the Hello Retail tracking SDK into your Storefront Ralph.

Hello Retail offers a suite of tools and capabilities that can enhance your online store's performance, improve user experience, and boost conversions.

Installation

To install the Hello Retail module, follow these steps:

1. Install the module

Open your terminal and run the following command:

npm i @geins/ralph-module-hello-retail

2. Add the module to your Geins PWA Storefront Ralph

To add the module to your Geins PWA Storefront Ralph, open your nuxt.config.js file and add the following code snippet:

...
  modules: [
    [
      '@geins/ralph-module-hello-retail',
      {
          enabled: true,
          debug: true,
          trackEvents: true
      }
    ]
  ]

User tracking with Hello Retail

To track user activity on your online store, you need to:

  1. Register your website with Hello Retail. here
  2. Install the Ralph Hello Retail module (see installation above) and publish your site.
  3. Configure your website on Hello Retail. Click Check JavaScript Installation. (Important! This will only work if you have published your site after the installation of this module.).

Once your website has been configured, Hello Retail will start tracking page visitors, assigning each of them to a unique ID (which can later be matched with an e-mail).

In order to track ralph events such as add to cart, viewed product etc, you will need to set the module option trackEvents to true.

The ralph events that will currently be tracked are:

Type of activityEvent trackedInformation sent
Add to cartUser adds a product to the cartCanonical URLs and product IDs for all items in your cart
Remove from cartUser removes a product from their cartCanonical URLs and product IDs for all items in your cart
Viewed productUser navigates to a product pageCanonical URL and product ID

Module Options

Add extra options to module configuration in nuxt.config.js file.

ParameterDefaultRequiredExample
enabledtrueNoEnables the module
debugtrueNoEnables debug info to console
trackEventsfalseNoIf set to true, ralph events will be tracked

Usage

Once the Hello Retail module is installed and configured, you can start leveraging the power of Hello Retail features in your Geins PWA Storefront Ralph. Explore the various functionalities provided by Hello Retail and integrate them seamlessly into your online store to enhance user experience and drive conversions.

Components (TBA)

  • Search autocomplete
  • Product recommendations

Keywords

FAQs

Package last updated on 17 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc