Skip to content

bigcommerce-labs/catalyst-klaviyo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catalyst + Klaviyo

Getting Started

  1. Clone this repository and install its dependencies
git clone git@github.com:bigcommerce-labs/catalyst-klaviyo.git && cd catalyst-klaviyo && pnpm i
  1. Copy the environment variable template and enter values for each variable. To help with the BigCommerce variables, you can run the create-catalyst CLI's init command
pnpm create @bigcommerce/catalyst@latest init
  1. The .env.local file created by the init command above will not create the NEXT_PUBLIC_KLAVIYO_PUBLIC_KEY variable, so we'll need to add that. To create a public key, install and configure the Klaviyo application for BigCommerce.

Note

For Step 5 in the Klaviyo help article above, you most likely want to uncheck the Onsite Tracking box; onsite tracking scripts are taken care of for you by the files contained in the integrations/klaviyo directory at the root of this repository.

  1. Now that your Klaviyo account is linked to your BigCommerce store, grab your Klaviyo Public Key from your Klaviyo account: https://www.klaviyo.com/settings/account/api-keys, and then run the command below replacing YOUR_PUBLIC_KEY with the value retrieved from your account
echo "\nNEXT_PUBLIC_KLAVIYO_PUBLIC_KEY=YOUR_PUBLIC_KEY" >> .env.local

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages