Support Menu

How to apply code snippets in Klavyio email templates

To include the Route snippet picture above in your Klaviyo | Route email templates, take the following steps:


  • Go to Klaviyo and open the email template you’d like to use or create a new one. 
  • Add a text block in the email template where you’d like the code snippet to show up.


  • Copy this Code Snippet in full
  • Click “Source” and remove any existing text. Paste the code snippet into the input box and click “Save”.


4) The text block will now show the code snippet!


Note: The format may look off at times in the preview, but not to worry. If you send yourself a test email you’ll see that it’ll look as expected. The formatting and sizing of the code snippet has been set up to work with many different device sizes and lighten/darken accordingly.