nuxt-gre-pixel-module
v0.0.1
Published
A nuxt module for integrating event pixel for Vertex AI Search for retail
Readme
nuxt-gre-pixel-module
A nuxt module for integrating event pixel for Vertex AI Search for retail
Please refer to the official documentation for more information on how to use the retail event pixel.
Setup
- Add
nuxt-gre-pixel-moduledependency to your project
yarn add nuxt-gre-pixel-module # or npm install nuxt-gre-pixel-module- Add
nuxt-gre-pixel-moduleto themodulessection ofnuxt.config.js
{
modules: [
// Simple usage
'nuxt-gre-pixel-module',
// With options
['nuxt-gre-pixel-module', {
/* module options */
apiKey: 'your-google-cloud-api-credentials-key',
projectId: 'your-google-cloud-project-id',
locationId: 'global',
catalogId: 'default_catalog',
debug: false,
}]
]
}Please refer to the official documentation on how to obtain the apiKey for retail event pixel.
Development
- Clone this repository
- Install dependencies using
yarn installornpm install - Start development server using
npm run dev
License
Copyright (c) William Chong [email protected]
