Find your Klaviyo private API key
Klaviyo is optional in KiteTrack. If you email or text your customers with Klaviyo, KiteTrack can send your site's events to it from your own tracking server. It needs one thing: a private API key.
Before you start, you need:
- A Klaviyo account where you are an Owner, Admin or Manager. Klaviyo lets only those roles create private API keys.
- At least one ad or analytics platform in KiteTrack as well: Meta, GA4 or TikTok. Klaviyo goes alongside them; it can't be the only platform.
What Klaviyo will receive
For an online store, these events go to Klaviyo, under the names its flows already use:
- Active on Site when someone browses your store
- Viewed Product when they open a product page
- Added to Cart when they add something to their cart
- Started Checkout when they begin checking out
- Placed Order when they buy
For a website with lead forms, Klaviyo receives Active on Site, Lead when a form is sent, Contact when someone clicks your email or phone link, and Schedule when someone books (if you added a booking page).
Klaviyo needs to know who the visitor is. Events from someone it already knows (a customer who clicked one of your emails, or who gave their email at checkout or in a form) land on their profile. Events from an unknown visitor can't be matched to anyone, so Klaviyo has nothing to record for them. Your dashboard counts Klaviyo the same way: only events from a visitor Klaviyo can name, so its numbers are lower than Meta's or GA4's, and that is expected.
How this helps your flows
- Abandoned cart: Added to Cart starts the flow for shoppers who leave with items in their cart.
- Abandoned checkout: Started Checkout starts the flow for shoppers who got as far as checkout and didn't buy.
- Browse abandonment: Viewed Product starts the flow for people who looked at a product and left.
- Flow filters: Placed Order lets a flow stop for someone who has already bought, so nobody gets a reminder about an order they just placed.
The events come from your tracking server, so ad blockers and browser privacy settings that stop Klaviyo's own script don't stop them.
1. Open your API keys in Klaviyo
- Sign in to Klaviyo.
- Click your organization name in the bottom left.
- Go to Settings → API keys.
You will see a public API key (also called a site ID) of six characters. That one is not what KiteTrack needs.
2. Create a private API key
-
Click Create Private API Key.
-
Name the key, for example
KiteTrack. The name helps you find it later if you ever need to delete it. -
Under Select Access Level, choose Custom Key, then set:
- Events: Read/Write Access
- Profiles: Read/Write Access
Everything else can stay at No Access. A Full Access Key works too, but it can do far more than KiteTrack needs.
-
Click Create.
-
On the confirmation page, copy the key. It starts with
pk_followed by a long string of letters and numbers.
Klaviyo shows the full key only on that page. If you leave without copying it, create a new one.
3. Add it to KiteTrack
- Open Setup in KiteTrack and go to the Add the tracking files step (step 5).
- Under Where should we send your data?, tick Klaviyo along with your other platforms and press Continue.
- On the Klaviyo page, paste your Private API key.
- Press Next.
KiteTrack checks that the key starts with pk_. The field hides what you type, and KiteTrack never shows the key again after you save it.
Your files are already made? Use Add a platform on step 5 instead. KiteTrack makes your files again with Klaviyo included; import them again with Merge → Overwrite conflicting and publish.
4. Keep the key private
A private API key can read and change data in your Klaviyo account. Treat it like a password:
- Don't paste it into emails, chat messages, support tickets or shared documents.
- Your server.json file from KiteTrack contains the key, so don't share that file either.
- If you think the key has leaked, delete it in Klaviyo under Settings → API keys and create a new one. On the setup page, open step 5, click Change an ID or token, pick Klaviyo and paste the new key. Then download the files again, import them in Tag Manager with Merge → Overwrite conflicting, and publish.
What success looks like
- The Klaviyo page in KiteTrack's setup is complete and Next is no longer grayed out.
- After you import your files and send a test purchase or lead, Klaviyo turns green in KiteTrack's test step.
- In Klaviyo, Analytics → Metrics lists Placed Order and the other events, and a profile you used for the test shows them in its activity feed.
Stuck anywhere? Press Get it done for me on the setup page, or reply to any of our emails. It comes to a person.