Skip to main content
Solved

Does Klaviyo support the |random filter in custom data feeds?

  • February 12, 2021
  • 2 replies
  • 168 views

sarah.lauden
Contributor I
Forum|alt.badge.img+2

https://docs.djangoproject.com/en/1.8/ref/templates/builtins/

 

I am hoping that custom data feeds can display 3 items in random order — not just the top 3 (slice) in the JSON file? Django offers “|random” but when I try to use it Klaviyo refuses to save the edit or gives me an error.

Best answer by caroline

Hi there,

 

Unfortunately, that filter is not supported by our template editor at this time. However, if you’re using a product feed, you should be able to order the products randomly when you create the feed (see screenshot below).

 

 

Best,

 

Caroline

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

caroline
Forum|alt.badge.img+8
  • Klaviyo Alum
  • 215 replies
  • Answer
  • February 12, 2021

Hi there,

 

Unfortunately, that filter is not supported by our template editor at this time. However, if you’re using a product feed, you should be able to order the products randomly when you create the feed (see screenshot below).

 

 

Best,

 

Caroline


sarah.lauden
Contributor I
Forum|alt.badge.img+2
  • Author
  • Contributor I
  • 2 replies
  • February 24, 2021

Unfortunately Im not using product feeds — but thanks for the help!