Klaviyo Integration
Learn how to integrate Lantern with Klaviyo to sync customer data and trigger events
Lantern provides a rich integration with Klaviyo that pushes properties to customer profiles and triggers Metrics when events happen within Lantern.
Getting Started
-
Generate a private API key in Klaviyo following their instructions:
- Give it a name like "Lantern" to remember what you generated it for
- Select Full Access under Access Level
- Make note of the generated key
-
Go to the Lantern Admin in Shopify and navigate to Settings → Integrations in the left side nav
-
Enter the API Key you generated into the field under the Klaviyo heading and save
-
Click the Send test events to Klaviyo button to verify the integration
-
Check the Metrics Activity Feed in Klaviyo to see examples of each Metric Lantern triggers
Customer Profile Properties
Lantern syncs the following properties to customer profiles in Klaviyo:
General
LanternBirthDate
: The customer's birth date
Loyalty
LanternEnrolledAt
: When the customer was enrolled in the loyalty programLanternPotentialLoyaltyPoints
: The potential points a customer can earn if they signup for an accountLanternLoyaltyPoints
: The customer's current loyalty points balanceLanternLoyaltyTier
: The customer's current loyalty tierLanternLoyaltyCurrentTierSpendThreshold
: Spend threshold for current tierLanternLoyaltyCurrentTierSpendRemaining
: Spend required to maintain current tierLanternLoyaltyCurrentTierSpendPercentage
: Percentage progress to maintain current tierLanternLoyaltySpend
: Current period spend amountLanternLoyaltyNextTierName
: Handle of the next available tierLanternLoyaltyNextTierSpendThreshold
: Spend threshold for next available tierLanternLoyaltyNextTierSpendPercentage
: Percentage progress towards next tier (0-100)LanternLoyaltyNextTierSpendRemaining
: Spend remaining to reach next tierLanternLoyaltyTierResetDate
: Date that the tier will be recalculatedLanternLoyaltyPointExpirationDate
: Date that the user's points will expire
Wishlists
LanternWishlistItems
: A list of all product variant IDs in the customer's wishlist
Lantern also syncs any customer properties you collect using earn event forms.
Available Metrics
General
Lantern Account Created
Triggered when a customer signs up for an account.
Lantern Account Activate
Triggered when a customer account invite is sent from Shopify.
Parameters:
activationLink
: The unique link to activate the account
Loyalty
Lantern Tier Change
Triggered when a customer moves to a new loyalty tier.
Parameters:
tier
: The new tier the customer is now in
Lantern Points Awarded
Triggered whenever a customer earns loyalty points.
Parameters:
points
: The number of points awarded
Referrals
Lantern Referral Invite
Triggered when an advocate uses the email invite to send a referral.
Parameters:
advocateFirstName
: First name of the advocateadvocateLastName
: Last name of the advocatemessage
: The message the advocate wants to include with the invitereferralLink
: The advocate's unique referral link
Lantern Referral Awarded
Triggered on an advocate's profile when their friend is successfully referred.
Parameters:
code
: The unique code for the discount or gift card that was awarded
Lantern Referred
Triggered on a friend's profile when they successfully complete a referral.
Parameters:
code
: The unique code for the discount or gift card that was awarded
Wishlists
Lantern Back In Stock
Triggered when a product variant that a customer has added to their wishlist becomes back in stock.
Parameters:
productVariantId
: The ID of the product variant that is now back in stock
Lantern On Sale
Triggered when a product variant that a customer has added to their wishlist goes on sale.
Parameters:
productVariantId
: The ID of the product variant that went on sale