Klaviyo is a CRM and marketing automation tool that tracks, segments, and automates marketing communication to create a personalized experience for your customers.
Integrating your Vajro app with Klaviyo enables you to collect end-user in-app behavior and send personalized and segmented push notifications. By utilizing this integration, you can (not limited to):-
Create marketing campaigns
Send automated push notifications based on user behavior
View event-based logs for each user within the app and web
Drive more revenue with personalized push notifications
Klaviyo is available only for our users in the Plus plan.
Note: The integration works only on iOS, and not on Android.
Wanna learn more about how you can integrate Klaviyo into your marketing efforts? Read this article!
In this article
If you'd like to learn how to implement the integration and get Klaviyo for your app, check out this article!
Campaigns and Flows
A campaign is a one-time email or SMS sent to a predetermined list or segment. These must be manually scheduled to be sent at a fixed point in time. A few examples of campaigns are sales promotions, educational blog content, or new product launches.
A flow is an automated sequence that is set in motion by a specific trigger and then includes one or more steps. For example, Flows can be built to send timely emails or SMS messages after a trigger action from the customer like registering for the first time, or after viewing a product or collection, etc, or they can simply apply certain actions like updating a specific field on a profile. These are usually a series of messages that are constantly running in the background hitting different customers at the right point in time with the right message. Two examples of high revenue-generating flows are the welcome series and the abandoned cart.
Setting up Push Notification Campaigns
Step 1: Head to the Campaigns section on your Klaviyo dashboard and click on Create Campaign to get started.
Step 2: Set up the campaign - give the campaign a title, select the tag (events to be captured), and recipients (segmentation). You can also exclude specific segmentations as well. Click on Continue to Content.
Step 3: Enter the title and the message of the notification. If you’d like to use sound to notify your users and display app badges, enable them. You’ll see a preview of the notification on the right. Once you’re done, click on Save & Continue to Review.
Step 4: Once you’re done reviewing, click on Schedule or Send.
Step 5: You can choose to schedule the notification based on your requirements, or have it sent right away!
Automating a Flow
Step 1: Head to Flows on the navigation panel on the left side of your Klaviyo Dashboard, and click on Create From Scratch.
Step 2: Give your flow a name and select a tag.
Once you’re done, click on Create Flow.
Step 3: Click on Metrics.
Step 4: Select the event you’d like to track.
Step 5: Drag and drop Push Notification in the flow chart
Step 6: Click on Edit on the event to configure the notification.
Step 7: Configure the notification as per your requirement and click on Save Content.
Step 8: If you’d like to have the notification sent after a set period of time, drag and drop the Time Delay item.
Step 9: Configure the time delay.
Step 10: When you’re done, enable the notification by changing its status to Live and publish the campaign by clicking on Review and Turn on.
Webhooks
To configure webhooks we need to enable Multi-factor authentication (MFA)
Configuring Multi-factor authentication
Step 1: Head to your Klaviyo dashboard and go to Settings,
Step 2: Go to the Contact Information tab and scroll down to the bottom and click on the enable button under Multi-factor Authentication.
Step 3: Follow the steps given in the screen. Download the authenticator app and scan the QR code.
Step 4: Enter the Authentication Code received on your mobile and click the Continue button.
Step 5: Copy or download the backup codes and click the continue button.
Step 6: Once the setup is complete, click on the continue button.
Step 7: You can check if the Multi-factor Authentication is enabled here.
Step 8: Go to the security tab and click on the enable checkbox
Step 9: In the pop-up that appears, click on the Enable button
The Multi-factor Authentication has now been enabled.
Enabling Webhooks
Step 1: Head to Flows on the navigation panel on the left side of your Klaviyo Dashboard, and click on Create From Scratch.
Step 2: Give your flow a name and select a tag.
Once you’re done, click on Create Flow.
Step 3: Click on Metrics.
Step 4: Select the event you’d like to track.
Step 5: Drag and drop Webhook below the trigger.
Step 6: Enter URL, Headers, and JSON body. Acquire these details from your Vajro dashboard as shown in the following step.
Step 7: Copy the URL, Header and webhook body from the Vajro dashboard and paste it into the Klaviyo Webhook configuration. (Token = Value)
Note: If the refresh button is clicked on the token field, a new token will be generated. Then the new token needs to be updated in the webhook configuration which is already live on the Klaviyo dashboard. If not the push notification will not work.
Step 8: Click on the Save button.
Step 9: Click on the Update Action Statuses button.
Step 10: Select Live to make the Webhook active.
The Automatic push notification setup is done and the webhook is live now.
Lists and Segments
Lists are a collection of people's email addresses grouped under an identifiable label; you can add people to a list manually, or people can join a list themselves by subscribing through a form. Lists are used for growing an audience that you can then keep in touch with through automated flows and campaigns.
Segments are defined by a set of conditions, rather than a fixed list of people — a segment will grow as new people meet the conditions and shrink as people no longer meet them. Segments can be used to help with a variety of additional marketing efforts:
List cleaning
One example, people who have received but not opened your last 20 emails should be segmented out of the main list you send to.Cross-sell
Build a segment of people who bought a specific product but have not purchased one or more related products.Marketing
Build a segment of people who have never purchased from a specific category or visited certain pages on your website.Loyalty programs
Build a segment of people who have spent over a certain threshold.
Creating a list
Step 1: Go to Audience > Lists & Segments on your navigation panel, and go to List.
Step 2: Click on Create List.
Step 3: Click on Upload Contacts.
Step 4: Upload your CSV file to the list.
Creating a Segment
Step 1: Go to Audience > Lists & Segments on your navigation panel, and go to Segment.
Step 2: Enter a title, select a tag, define the condition and click on Create Segment.
Events/Metrics that can be captured
There are two ways to track either of these:
Go to Audience > Profiles and click on a user profile
You’ll be able to see all events and metrics of the respective user captured here
Go to Analytics > Metrics to find all the metrics captured
Login - When a user logs in to the app
Register - When a user registers on the app
Searched - When a user clicks on the search bar AND starts typing something. Or when the user clicks on the historical search terms
Collection Viewed - When a user views a collection or a subcollection on the app
Product Viewed - When a user views a product on the PDP
Added to cart - When a user adds a product to the cart
Remove from cart - When a user removes products from the cart
Add to wishlist - When a user adds product(s) to their wishlist
Begin Checkout - When a user proceeds to the checkout screen after clicking the “checkout” CTA on the cart page
Purchase - When a user successfully completes a transaction to make a purchase
You can find more details about the events and metrics here.
Want more custom metrics? Reach out to us!
Analytics
Step 1: Go to Analytics > Metrics on the navigation bar on the left.
Step 2: Select any metric that was set. You’ll be able to view analytics and export this report as a CSV file.