• Features
  • API Docs
  • Help Center
  • Log in
  • Sign Up
  • Features
  • API Docs
  • Help Center
  • Log in
  • Sign Up

Snippets

210 views January 18, 2019 0

HTML Code “Snippets” are small, reusable pieces of code that can be integrated into a larger codebase. You can use these code fragments in templates.

The main difference from variables is that it is not a single word or link, but a piece of HTML code or text that can be inserted into templates.

How to create the snippet?

Step-by-step instructions:

  1. Navigate to Snippets Management page (Menu -> Content -> Snippets)
  2. Click “Add Snippet” button
  3. Type in name of the Snippet
  4. Insert the piece of reusable code, then click “Save” button
  5. You may edit or delete the snippet when it needed. Click the “Action” button for corresponding snippet and then choose edit or delete.

How to use the snippets in templates?

Step-by-step instructions:

  1. Navigate to Email Templates Management page (Menu -> Content -> Email Templates)
  2. Add new template (Drag & drop editor)
  3. Choose the Custom HTML Snippet block, click or drag to add the Snippet block to the template
  4. Go to edit content options and click the Snippets button
  5. Pick the snippet
Similar posting
  • What is E.164 ?
  • Designing an Email for Dark Mode
  • Stripo template
  • How do I integrate Stripo with SmartSender?
  • Telegram Template
  • Web Push Template
Company
  • About us
  • Team
Legal
  • Terms of Use
  • Privacy Policy
  • Anti-Spam Policy
  • Cookie Statement
Resources
  • Api Documentation
  • FAQ
  • Knowledge Base
  • SmartSender Blog
  • Marketplace

We use cookies to make SmartSender’s website a better place. Cookies help to provide a more personalized experience for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).

got it