Lantern provides a rich integration with Klaviyo that pushes properties to customer profiles and triggers Metrics when events happen within Lantern.
Getting started
You will first need to 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 as we will need it for the next step.
Now go to the Lantern Admin in Shopify and Go to Settings and then Integrations in the left side nav.
Enter the API Key you generated into the field under the Klaviyo heading and save.
Once that is saved, you can press the Send test events to Klaviyo button.
If you now go into the Metrics Activity Feed in Klaviyo, you will see an example of each Metric Lantern triggers in Klaviyo.
Customer Profile Properties
Lantern syncs the following properties to customer profiles in Klaviyo.
LanternLoyaltyPoints - The customers current loyalty points balance
LanternLoyaltyTier - The customers current loyalty tier
LanternEnrolledAt - When the customer was enrolled in the loyalty program
LanternPotentialLoyaltyPoints - The potential points a customer can earn if they signup for an account
LanternBirthDate - The customer's birth date
It also will sync 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 advocate
advocateLastName: Last name of the advocate
message: The message the advocate wants to include with the invite
referralLink: The advocated unique referral link
Lantern Referral Awarded
Triggered on an advocates 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 an friends 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 on 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