Integrations

Klaviyo

Connect Klaviyo with a private API key. TierWise then sends every event to Klaviyo and keeps each customer's tier and progress on their profile.

Connecting

  1. Create a private API key in Klaviyo with Events: Full access and Profiles: Full access.
  2. Paste it under Connect Klaviyo on the Integrations page and press Connect. Every synced customer's figures are written to their profile.
  3. Press Send test events on the same page, so the seven events appear in Klaviyo before a real order fires one.

Do this before you press Launch in Setup.

The seven events

Each arrives as a metric named TierWise: …, against the customer's email, with these properties.

EventWhen it firesProperties
TierWise: Reward code issuedA customer just earned a discount code, and it's ready to use.Reward code, Reward value, Reward expires on, Tier name
TierWise: Reward code about to expireAn unused code is a few days from expiring. You choose how many days in Settings. Once per code.Reward code, Reward value, Reward expires on, Days left, Tier name
TierWise: Reward code usedA customer spent one of their codes on an order.Reward code, Reward value, Order name
TierWise: Tier reachedAn order moved a customer up a tier, or into the club.Tier name, Previous tier name, Spend this year
TierWise: About to lose tierOnce in December, for each member the January review would move down or out.Current tier name, Tier in January, Spend this year, Spend needed to keep
TierWise: Tier lostThe January review moved a member down a tier, or out of the club.Previous tier name, New tier name, Spend last year
TierWise: Campaign code issuedA member was given a code by a campaign you ran from the app's Campaigns page. Once per member.Campaign name, Reward code, Reward value, Reward expires on

Values look like SILVER-7K2M9Q, 15% off or $10.00 off, 2026-12-31, your tier names, or None where there is no tier.

Profile properties

Written to the customer's Klaviyo profile when you connect, and again after every order, so they always show the current figures.

PropertyMeaningExample
tierwise_tierCurrent tier, by name; empty for a non-memberSilver
tierwise_tier_keyThe same as a stable key, which survives a renametier-1
tierwise_spend_this_yearQualifying spend in the current calendar year210
tierwise_next_tierThe tier above, by name; empty at the topGold
tierwise_amount_to_next_tierSpend still needed to reach it this year290
tierwise_amount_to_next_rewardSpend still needed for the next reward code; empty when the tier gives none90
tierwise_unused_reward_codesCodes the customer holds and hasn't used1
tierwise_joined_onThe day they first reached a tier2025-05-08
tierwise_campaign_codeTheir code from the latest campaign you ran; empty until one hasSUMMER-7K2M9Q
tierwise_campaign_nameThat campaign's nameSummer sale
tierwise_campaign_expiresThe last day that code works; empty when it never expires2026-11-26

Emailing a campaign code

When you run a campaign, every member gets their own code and Klaviyo hears about it two ways. Pick whichever suits you:

Either way each member gets one email with their own code. Klaviyo bills by profiles, not by email, so a campaign to every member costs nothing extra.

Shopify Flow

The same seven events are also Shopify Flow triggers. See Shopify Flow.

Good to know