Solved

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

  • 12 February 2021
  • 2 replies
  • 150 views

Badge +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.

icon

Best answer by caroline 12 February 2021, 17:54

View original

2 replies

Userlevel 5
Badge +8

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

Badge +2

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

Reply