Klaviyo - Geofencing
Last updated: June 9, 2026
I. About the Integration
What is it?
The Klaviyo Geofencing integration enables Appbrew mobile apps to send geofence-based enter and exit events to Klaviyo via the Klaviyo mobile SDK. This allows brands to trigger automated flows, build segments, and send campaigns based on real-world location behavior.
This functionality builds on the existing Klaviyo integration (identity mapping and event forwarding) and adds location-triggered automation capabilities
II. How It Helps Customers & Their Business
Core Business Impact
Business Area | Impact Description |
|---|---|
Revenue | Drives in-store conversions through location-triggered offers. |
Conversion Rate | Enables timely contextual messaging during store visits. |
Retention | Encourages repeat store visits with automated flows. |
Operational Efficiency | Eliminates need for manual campaign triggers based on store visits. |
Marketing Efficiency | Connects physical behavior with digital marketing automation. |
Customer Insights | Allows segmentation based on real-world movement patterns. |
Key Benefits
Trigger automated flows when users enter or exit physical store locations
Build location-based audience segments in Klaviyo
Combine geofencing events with profile, ecommerce, push, and email data
Drive in-store engagement through personalized push notifications
Leverage existing Klaviyo automation infrastructure
Strategic Positioning
For brands operating physical retail stores or pop-ups, Klaviyo Geofencing bridges offline behavior with mobile app marketing automation.
This integration is especially relevant for:
Omnichannel brands
Retail-first brands expanding into mobile commerce
Brands running local promotions or store-specific campaigns
Mobile apps provide a high-intent, logged-in user environment. Geofencing allows brands to convert real-world visits into automated digital engagement.
III. How Customers Can Use the Integration
Setup Process
Ensure Klaviyo account is connected in Appbrew.
Configure geofences inside Klaviyo (Audience → Geofences).
Update mobile app with Klaviyo SDK version supporting geofencing.
Enable “Klaviyo Geofencing” toggle in Appbrew dashboard.
Deploy app update with location permission prompts.
Create Klaviyo flows using “Entered Geofence” or “Exited Geofence” events.
Test with a physical device to confirm event tracking.
How It Works (High-Level Architecture)
App initializes Klaviyo SDK.
App requests user location permissions.
Klaviyo SDK fetches merchant-configured geofences.
Device monitors geofences using OS-level location services.
On enter/exit → event is captured and sent to Klaviyo.
Events appear in Klaviyo for use in flows and segments.
Event Data Sent to Klaviyo
Event type (Entered / Exited Geofence)
Geofence name or identifier
Latitude, longitude, radius
Device OS (optional metadata)
Use Cases
Use Case 1: Store Entry Offer
Problem: Customers walk into stores without targeted incentives.
Solution: Trigger push notification when user enters store geofence.
Business Outcome: Higher in-store conversion rates.
Use Case 2: Post-Visit Follow-Up
Problem: Customers leave store without purchasing.
Solution: Trigger follow-up email or SMS after exiting geofence.
Business Outcome: Recapture missed revenue opportunities.
Use Case 3: Location-Based Segmentation
Problem: Brands lack segmentation based on store visits.
Solution: Build segments of users who visited specific stores multiple times.
Business Outcome: Targeted loyalty or VIP campaigns.
Step-by-Step: Creating a Geofencing Flow in Klaviyo
1. Initialize the Flow
Log in to your Klaviyo dashboard.
Navigate to Flows > Create Flow > Build Your Own.
Name your flow (e.g., "In-Store Welcome – SoHo Store").
2. Select the Trigger
Click on Trigger Setup and select Metric.
From the dropdown, search for the Appbrew Geofence events:
Entered_Geofence: Use this to greet customers or offer in-store discounts.Exited_Geofence: Use this to ask for a visit review or offer an "online-only" follow-up coupon.
3. Add Flow Filters (Crucial for Targeting)
If you have multiple store locations, you don't want to send a generic message. Use Flow Filters to trigger specific messages for specific stores.
Click on Flow Filters in the trigger sidebar.
Add a filter: While setting up you can use location (latitude/longitude) filter or anything else out of the options to sent more personalised notifications.
4. Configure "Smart Sending"
Recommendation: For geofencing, it is often best to Turn OFF Smart Sending for the specific push message.
Why? If a customer receives a "Welcome" push when they walk in, you want them to get it immediately, even if they received a marketing email earlier that day.
5. Craft the Push Notification
Drag a Push Notification action into the flow immediately after the trigger.
Click Configure Content.
Personalize with properties: Use dynamic variables to make the message feel local.
Example: "Welcome to our {{ event.Store_Name }} branch! Show this at checkout for a surprise gift. 🎁"
6. Set Time Delays (For Exit Flows)
For an Exited_Geofence flow (e.g., a "Thank you for visiting" message):
Add a Time Delay component (e.g., 30 minutes or 1 hour).
This ensures the customer has actually finished their shopping trip before they get a "How was your experience?" nudge.
Constraints & Platform Limits
Platform | Limit | Notes |
|---|---|---|
iOS | ~20 geofences per device | OS restriction |
Android | ~100 geofences per device | OS restriction |
Permissions | User opt-in required | No events without permission |
IV. FAQs
Q1. Are geofences configured in Appbrew?
No. Geofences are configured inside Klaviyo. Appbrew forwards events once SDK and permissions are active.
Q2. What happens if users deny location permission?
No geofence enter/exit events will be generated.
Q3. Does Appbrew manage geofence radius or shapes?
No. Klaviyo manages geofence definitions and configurations.
Q4. Do geofence events work in the background?
Yes, subject to OS limitations and user-granted permissions.
Q5. Is backend development required?
No additional backend changes are required. Events are handled by the Klaviyo SDK.
Q6. Can brands with hundreds of locations use this effectively?
Yes, but OS-level geofence limits apply. Merchants may use regional geofences or dynamically load nearby geofences.