npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@geins/ralph-module-hello-retail

v1.0.2

Published

Hello Retail module for Geins PWA strorefront

Downloads

6

Readme

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 activity | Event tracked | Information sent | | ----------------- | ------------------------------------------------| ------------------- | | Add to cart | User adds a product to the cart | Canonical URLs and product IDs for all items in your cart | | Remove from cart | User removes a product from their cart | Canonical URLs and product IDs for all items in your cart | | Viewed product | User navigates to a product page | Canonical URL and product ID |

Module Options

Add extra options to module configuration in nuxt.config.js file. | Parameter | Default | Required | Example | |-|-|-|-| | enabled | true | No | Enables the module | | debug | true | No | Enables debug info to console | | trackEvents | false | No | If 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