How to apply code snippets

Follow

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

Screen_Shot_2021-11-23_at_4.53.37_PM.png

  • 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.

Screen_Shot_2021-11-23_at_4.51.09_PM.png

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

Screen_Shot_2021-11-23_at_4.51.58_PM.png

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

Screen_Shot_2021-11-23_at_4.52.46_PM.png

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.