Setting up custom event tracking in Klaviyo

Setting up custom event tracking in Klaviyo allows you to capture specific user actions on your website or app and use this data to trigger flows, personalize emails, and more. Here’s a step-by-step guide on how to set up custom event tracking in Klaviyo:

Step-by-Step Guide to Setting Up Custom Event Tracking in Klaviyo

  1. Log in to Klaviyo:
  • Go to your Klaviyo account and log in with your credentials.
  1. Install Klaviyo Web Tracking Code:
  • If you haven’t already, you need to install the Klaviyo web tracking code on your website.
  • Navigate to “Account” > “Settings” > “Tracking” in your Klaviyo account.
  • Copy the provided tracking code and paste it into the <head> section of your website’s HTML.
  1. Define Your Custom Event:
  • Determine the specific event you want to track. This could be actions like “Viewed Product,” “Added to Wishlist,” “Completed Survey,” etc.
  1. Implement the Custom Event in Your Code:
  • Use Klaviyo’s JavaScript API to track custom events. Below is an example of how to set up a custom event called “Viewed Product”:
  • Add this code snippet to the part of your website where the event occurs. For example, add it to the product page template to track when a user views a product.
  1. Test the Custom Event:
  • After adding the tracking code, perform the action you’re tracking (e.g., view a product) to ensure the event is being sent to Klaviyo.
  • Go to your Klaviyo account and navigate to “Analytics” > “Metrics” to see if your custom event appears.
  1. Create a Flow Using the Custom Event:
  • Navigate to the “Flows” tab in Klaviyo.
  • Click on “Create Flow” and choose “Create From Scratch” or use a pre-built template.
  • Set the trigger for the flow to your custom event (e.g., “Viewed Product”).
  1. Configure the Flow:
  • Add actions, emails, time delays, and conditional splits to your flow based on your specific requirements.
  • Use dynamic content to personalize emails with data from the custom event.
  1. Activate the Flow:
  • Once your flow is configured, review and activate it to start sending emails based on the custom event.
See also  Setting up email drip campaigns in Klaviyo

Example Use Cases for Custom Event Tracking

  1. Product View Tracking:
  • Trigger a follow-up email with related products or a special offer after a user views a product.
  1. Wishlist Additions:
  • Send a reminder email to users who add items to their wishlist but haven’t purchased them yet.
  1. Survey Completion:
  • Track when users complete a survey and send a thank you email or follow-up based on their responses.
  1. Account Creation:
  • Trigger a welcome series for new users who create an account on your website.

Tips for Effective Custom Event Tracking

  • Plan Your Events: Determine which user actions are most valuable to track and plan your events accordingly.
  • Test Thoroughly: Ensure that events are being tracked correctly and that the data is accurate.
  • Use Data for Personalization: Leverage the data from custom events to create highly personalized and relevant email campaigns.
  • Monitor and Optimize: Continuously monitor the performance of your flows and optimize them based on engagement and conversion rates.

By following these steps, you can set up custom event tracking in Klaviyo to better understand user behavior and create more targeted and effective email campaigns.

Md Tangeer Mehedi
Md Tangeer Mehedi

I'm Md Tangeer Mehedi, an email marketing specialist with extensive experience running multiple blogs, service-based businesses, and e-commerce stores. On this website, I'm fully focused on developing e-commerce email marketing systems designed to boost sales and create flawless flowchart automations, helping businesses maximize their revenue through effective email strategies.

Articles: 344

Leave a Reply

Your email address will not be published. Required fields are marked *