Shared assets provides a convenient way to reuse snippets of code across multiple email templates. Re-using shared assets such as headers or footers across emails, allows you easily manage changes or updates while also simplifying template logic.

Common use-cases for shared assets include:

  • Header
  • Footer
  • Product Grids
  • Promotion banners
  • Subject line
  • Rich text

You can define the shared asset once and reuse it across multiple templates. Each shared asset has its own unique tag, which can be used to reference a shared asset from the template.

Sample reference tag:

  • HTML
<shared_asset> header </shared_asset>

You can access shared assets here.

This page lists all the shared assets. Against each shared-asset you can also see the list of templates where its being used:



Here is an example for building a Footer:

Simply enter the asset name, pick the asset type and enter the HTML. You would see a preview of HTML pasted. You can use user or recommendation variables, as well as Liquid logic within the shared asset.

Once you create the shared asset, note the "reference tag", which is used to refer the shared asset in email templates.


You can also enable the Plain Text field to override the system generated plain text content of the asset and specify your own. However, we recommend that you exercise caution when you use this option since the content you specify here is used in all the emails that use this asset.  


Usage notes

  • You can create an email template which is composed of multiple shared assets.
  • Shared assets support Liquid macros including user and recommendation variables.

Delete an asset

  • A shared asset cannot be deleted if it is being referenced in any templates.
  • The remove option on the shared asset listing page provides an option to delete a shared asset.


Lock an asset

As an owner of a shared asset or an admin user, you can lock the asset so that other users can’t accidentally edit it. Other users can request edit access to your assets and you can unlock them as and when appropriate. 





The functionality to lock/ unlock assets is available both on the shared asset index page and the shared assets detail page.



A note about subject line and rich text shared assets

In addition to HTML shared assets, that you can use include HTML code across templates, you can also you rich text and subject line shared assets. 

The rich text assets provide an option to include text content in email templates that have some formatting applied to them. Such as, font color, font family, and lists. 


The subject line shared assets provide an option to include short, plain text messages. Since email subject lines only take plain text content, you can create shared assets of the type subject line and use them across templates. 


Contact support@blueshift.com to enable this feature for your account.



Was this article helpful?
0 out of 1 found this helpful



Please sign in to leave a comment.