# Testing the Klaviyo integration

For Klaviyo's app review team. How to install One Counter, connect Klaviyo, and see the data it sends.

Source: https://onecounter.app/guides/klaviyo-review/

One Counter: Drive Loyalty is a Shopify app: a rewards and loyalty drawer for the store's online storefront. The Klaviyo connection is made from inside the app, by the merchant, and only ever reaches the merchant's own Klaviyo account.

## The quickest route: our test store

Email **matt@quickbyte.digital** and we'll give you access to our test store with One Counter installed, the drawer on and a quick way to earn switched on. Then start at step 2.

## 1. Install and set up One Counter

To use your own store instead, install **One Counter: Drive Loyalty** on a Shopify development store from the Shopify App Store, then open it in Shopify admin: **Apps → One Counter: Drive Loyalty**. On **Home**:

1. Click **Turn on the drawer** and save the theme editor.
2. Under **Quick ways to earn**, switch one on and save. Without one, the drawer has nothing to complete in step 3.

## 2. Connect Klaviyo

1. Open **Settings**. On the **Klaviyo** card, click **Connect Klaviyo**.
2. A new tab opens and names the store. Click **Continue to Klaviyo**.
3. Approve on Klaviyo's consent screen. The tab says Klaviyo is connected; close it.
4. Back on the Klaviyo card: **Connected to** your Klaviyo account **via Klaviyo sign-in**.

One Counter asks only for the access its features use, and the store's own One Counter service holds and refreshes the connection.

## 3. Create some activity

1. Open the storefront and the rewards drawer. Click **Create account**, enter an email address, and sign in with the code Shopify sends.
2. Complete the **quick way to earn** that is switched on, then save a product to the wishlist with the heart on a product page.

## 4. See the data in Klaviyo

- **Analytics → Metrics** shows **Loyalty Points Earned** and **Wishlist Item Added**.
- The shopper's **profile** shows those events in its activity feed, plus the One Counter properties `qb_loyalty_points_balance` and `qb_loyalty_tier`.

## 5. A flow built for the merchant

In One Counter, open **Wishlist → Wishlist reminders → Create the flow for me**. A draft flow, **[One Counter] Wishlist reminder**, appears in Klaviyo **Flows**. It stays a draft until the merchant reviews it and sets it live.

## 6. Disconnect

On the **Settings → Klaviyo** card, click **Disconnect Klaviyo**, then **Yes, disconnect**. That revokes the grant at Klaviyo, and One Counter stops sending.

## Contact

matt@quickbyte.digital
