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

Snippets

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

Things to know before you start:

  • The name of the Snipped cannot be longer than 50 characters.
  • The Content section cannot be blank.

Create the snippet

Step-by-step instructions:

  1. Navigate to the Snippets Management page (Menu->Content->Code Snippets).
  2. Click the “Create” button.
  3. Type in the name of the Snippet.
  4. Place the reusable code, then click the “Save” button.
  5. To edit the Snippet – click on the Snippet’s name. IMPORTANT Do not forget to save your changes.
  6. You can delete the Snippet if necessary. Click the “Trash bin” button for the corresponding Snippet or select the check box next to the desired Code Snippet and press the “Delete” button.
  7. You can sort Code Snippets by Name.
  8. The preview function is also available. Press the thumbnail of the desired Snippet or find the preview during its creation on the right side of the page.

How to use the snippets in Templates?

Step-by-step instructions:

  1. Navigate to the Email Templates Management page (Menu->Content->Email Templates).
  2. Add a new Template in Drag & drop editor.
  3. Choose the Custom HTML Snippet block by clicking or dragging the Snippet block to the Template.
  4. Go to edit content options and click the “Snippets” button.
  5. Pick the Snippet and click the “Insert” button.
  6. Press the “Save” button.
Similar posting
  • Manage Templates
  • What is E.164 ?
  • Designing an Email for Dark Mode
  • Stripo template
  • How do I integrate Stripo with SmartSender?
  • Telegram Template
Company
  • About us
  • Team
  • YouTube
  • Facebook
  • Google Business
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