How to use Smart Snippets™ on your blog
In this guide, you’ll learn how to create and manage Smart Snippets™. Smart Snippets™ allow you to create reusable content blocks, such as CTAs, forms, images, or messages, and automatically place them anywhere on your blog.
Adding a new Smart Snippet™
In your DropInBlog admin account, find the Smart Snippets™ tab in the menu on the left and click it to open the Smart Snippets™ page.

On the page that opens, click the Add your first snippet button.

Clicking this button will open the Smart Snippets™ editor.
Once in the editor, you can choose between the Editor View and the Code View.

Customizing Smart Snippets™
We’ll select the Code View to show you how you can use Smart Snippets™ to add an online form to your blog.
To do that, you’ll need to create a form using an app like Jotform or Tally.
Then, within the selected app, you should find the option to share the form.
With Jotform, you’ll get the code to embed the form in an iframe, which you can then copy and paste inside the Smart Snippets™ editor using the Code View.

After that, you should do the following:
- Name your Smart Snippet™.
- Make sure the Active switch is on.
- Select where you want the Smart Snippet™ to appear.

When it comes to Snippet Location, you can choose one of the three options: Targeting, Insert with Post Editor, or Both.
Snippet location: Targeting
If you select Targeting, three options will appear to help you decide on the exact placement of your Smart Snippet™.
These options include Targeting Position, Target Element, and Posts to Target.

Targeting Position lets you choose whether you want the Snippet to show before or after a specific element. That specific element is located in the dropdown below Target Element. Available options include Post Title, Featured Image, Post Info, Content, and Target Element.

The last option, Target Element, is only available to DropInBlog customers on Business and Business Plus plans and gives them even more control over their Snippet placement, allowing them to set their Snippet location to target specific elements (more information on this below).
You can then decide in which of your blog posts the Smart Snippet™ will appear by selecting one of the available options under the Posts to Target section.

You can show a Smart Snippet™ in all posts, in posts from a specific category, by a specific author, or in the posts you select manually.
Below these options, you’ll see Advanced Filters that allow you to include or exclude specific authors, posts, and categories from the previously selected option.

For example, you can include your Smart Snippet™ in all posts on your blog, except the posts in the Tips category.
To make things simple, we’ll choose the All Posts option, without additional filters.
Before you can view your Smart Snippet™, you should click the Create Snippet button at the bottom of the page.
To view the Snippet you just created, click the View Blog button in the top-right of the Snippet editor and open one of the posts in which you selected the Smart Snippet™ to appear.
For this guide, we selected a Jotform form to appear on all our posts below the post content, and this is how that looks on the live site.

Advanced Smart Snippets™
The Advanced Smart Snippets™ feature is only available on Business and Business Plus plans.With Advanced Smart Snippets™, you have greater control over where your content will appear. If this feature is enabled for your account, open the Target Element dropdown and select the last option, also called Target Element.

Selecting this option will allow you to add your content before or after a specific number of paragraphs or headings (H2, H3, H4).
In the screenshot below, the Smart Snippet™ is set to show after the second H2 heading in all blog posts.

If a post doesn't have as many paragraphs or headings as the number you set, the Snippet will show after the last available one, whether you selected Before or After.
By combining the numbers and post elements under Target Element Before or Target Element After, you can fine-tune the positioning of your reusable content blocks.
Snippet location: Insert with Post Editor
Another option you can select when you create a Smart Snippet™ is to add it from within the post editor.
To do that, upon creating a Smart Snippet™, select the Insert with Post Editor option from the menu on the right.

Click the Create Snippet button and exit the Snippet editor.
Then, go to the Posts tab, open the post where you want to add a Snippet, and click the Smart Snippet™ icon in the editor’s navigation bar.

A pop-up window will appear where you’ll see a list of available Snippets. If you don’t see your Snippet, use the search bar at the top to find it, then click Insert.

When you add a Snippet into the editor, it will look like the image below.

After you publish the changes you made, the Snippet will look like a form, CTA button, or anything else you selected.
Snippet location: Both
If you select Both, you can use the two methods together. The Snippet will appear in the posts you set under Targeting, and you can also add it to any other post from the post editor.

Editing and deleting Smart Snippets™
To edit a Smart Snippet™, open the Smart Snippets™ page and click on the Snippet you want to edit. Alternatively, click the kebab menu on the right and select Edit Snippet.

Selecting Edit Snippet will open the Smart Snippets™ editor, where you can edit the Snippet.
To delete a Smart Snippet™, on the same page, look for the kebab menu to the right of the Snippet you want to delete.
Click this menu, then select Delete from the dropdown.

You can create a copy of an existing Snippet using the same menu and edit it as you’d like. Just select Duplicate from the dropdown.
Using Smart Snippets™ via the DropInBlog API
Smart Snippets™ work differently for users who have integrated DropInBlog via API and aren’t inserted into posts automatically. Instead, your application needs to use the snippet data from the API response to position each snippet accordingly.
When you fetch a post via the API, two main properties control how Smart Snippets™ appear: snippetsPositioning and snippets. These work together to tell you what snippets exist and where they should be inserted within the post layout.
"snippetsPositioning": {
"before_title": [],
"before_featured_image": [],
"before_meta": [],
"before_content": [],
"before_elements": [],
"after_title": [],
"after_featured_image": [],
"after_meta": [],
"after_content": [],
"after_elements": [129]
}
"snippets": {
"129": "<p> <a href=\"#\" class=\"dib-cta-break\" rel=\"\">Download your free PDF Now</a></p>"
}
If you have any questions about this feature or how to use it, drop us a line.
Happy blogging!
Updated on: 12/11/2026