Skip to main content
Question

Calculating Anniversary Year

  • January 14, 2026
  • 1 reply
  • 29 views

Forum|alt.badge.img

Hi All,

I am new to Klaviyo and have an anniversary gift business.  I want to set up an anniversary reminder flow but I want to be able to reference which anniversary it is e.g. 5th, 10th etc and then use that both in the body of the email (e.g. Your 5th anniversary is coming up) but also to select suitable products to highlight.

 

I have been going round in circles trying to add liquid snippets and have followed advice in various AI tools to add the calculation logic in a text box using the source code function (still shows as text) or add it in an html box (still shows as text) etc.  Even if I find a way to get the code apparently embedded without being visible it still isn’t rendering results when I insert the liquid tags into the paragraph.

 

Is anyone able to help? I am clearly pasting it in the wrong place but I simply cannot figure out what I shold b e doing

 

Thank you!

1 reply

Byrne C
Community Manager
Forum|alt.badge.img+28
  • Community Manager
  • January 15, 2026

Hi ​@TVGirl,

While I don’t personally have the answer, I’d recommend posting screenshots of the HTML/code that you’re currently using, so members of the community can take a look at what you have so far, and what needs to be done in order to make your goal work! Calculating the number of years since a certain date property and inserting that number into a message isn’t a feature that’s native to our platform, but hopefully, a champion or other community member can step in to help determine if some custom code can make this work.