Skip to main content
annasophiefc
2025 Champion
Apr 4, 2025 3:27 PM UTC

Hi ​@ayomi56987 

 

Thank you for posting in the community!

 

If you want to remove the “-” and replace it with a simple space, you can use the following django syntax:

 

{{ event.SearchQuery|find_replace:”-| ” }}

 

I hope this helps!

Champion & Klaviyo Partner based in Aarhus, Denmark. It is all about communicating the right message to the right people at the right time!

4 replies

annasophiefc
Partner - Platinum
2025 Champion
Apr 4, 2025 3:27 PM UTC

Hi ​@ayomi56987 

 

Thank you for posting in the community!

 

If you want to remove the “-” and replace it with a simple space, you can use the following django syntax:

 

{{ event.SearchQuery|find_replace:”-| ” }}

 

I hope this helps!

Champion & Klaviyo Partner based in Aarhus, Denmark. It is all about communicating the right message to the right people at the right time!
annasophiefc
Partner - Platinum
2025 Champion
Apr 4, 2025 3:28 PM UTC

...from this django gloassary: https://developers.klaviyo.com/en/docs/glossary_of_variable_filters#replace

 

^^ A really helpful resource!

Champion & Klaviyo Partner based in Aarhus, Denmark. It is all about communicating the right message to the right people at the right time!
Contributor I
Apr 5, 2025 1:36 AM UTC

hello ​@annasophiefc 
Thank you very much for the response and even providing links. However, I am still quite confuse, because i am yet to get it right.

 

annasophiefc
Partner - Platinum
2025 Champion
Apr 5, 2025 7:28 AM UTC

Hi again ​@ayomi56987 

 

Happy to help!

Are you able the send a screenshot of the payload (event data), that is causing you troubles?

Champion & Klaviyo Partner based in Aarhus, Denmark. It is all about communicating the right message to the right people at the right time!