Two kinds of feed
Klaviyo talks about feeds in two ways. Product feeds come from your synced catalogue and drive product blocks and recommendations, which Klaviyo covers in its guide to product feeds and recommendations. Custom web feeds are any JSON or XML URL you host yourself. The help article on custom web feeds shows how to add one under data feeds in your account settings.
Good uses for a web feed
| Feed content | Where it helps |
|---|---|
| Latest blog posts | Newsletters that update themselves |
| Store events or opening hours | Local messages for shops with physical sites |
| Live offers or prices | Campaigns where details may change before send |
| Top sellers this week | Merchandised blocks outside of the standard recommendations |
How it works in a template
Once a feed is added, you reference it by name with template tags and loop over the items in a block. You can combine it with dynamic content so different segments sees different items. Keep the feed small: fetch only the fields the email needs, and limit the number of items. Large or slow feeds can hold up rendering.
Things to check before you rely on one
- The URL is public and returns valid JSON or XML every time.
- Images in the feed are full HTTPS URLs at sensible sizes.
- There is a fallback if the feed is empty, so nobody gets a blank block.
- You preview the email with real data before scheduling.
For most Shopify brands, the product feed covers the bulk of needs. Custom web feeds come into there own for content and local information. If your team builds a lot of templates, our templates guide covers structure, and the API guide helps if your feed data lives in another system.
Questions people ask
What is a web feed in Klaviyo?
A URL that returns JSON or XML, which Klaviyo fetches when an email sends so you can show that content in the message.
What is the difference between a web feed and a product feed?
A product feed comes from your catalogue and powers product recommendations. A web feed can be any data you host, such as blog posts, events or store info.
How often does Klaviyo refresh a web feed?
Klaviyo caches feeds for a short period during a send. Check the help centre for current cache times if your content changes quickly.
Do I need a developer to set up a web feed?
Usually someone needs to host the feed. Using it in a template is then a matter of adding the right template tags.