What is a custom widget?
A custom widget template is a piece of code (it can include JavaScript, CSS and HTML) configured to be used in one or several campaigns. It serves as a base for a custom widget and must contain the minimum code to make a custom widget work. Custom widget templates can be created and managed from the Widgets library of the platform.
When to use a custom widget?
Using a custom widget can be useful in the following cases:
- You want to set up a string of messages (pop-ins, banners, overlays, etc.) for your marketers to use systematically the same layout (to preserve UI, design system, and consistency though your website).
- You want to share and spread this previous work on your different AB Tasty accounts (because you manage several websites or several language versions of your website through different AB Tasty accounts).
- You plan to reuse the custom widget in another account, campaign, variation, or in the future recurring campaigns, instead of duplicating your campaign.
- You want to reduce the back-and-forth communication on low-value edits (colors, font sizes, images...) between your digital marketing team and your design team.
- You want to keep control over time.
What can a custom widget be used for?
Here is a non-exhaustive list of custom widgets you can create:
- Pop-in or another kind of promotional widget with a specific behavior/ UI path you can’t find in the AB Tasty widget library.
- A complex tracker, such as “event sent each time the user puts an item in their basket, then goes to the basket page, then comes back to the homepage”.
- Reusable buttons, bullet point lists, popovers, product tours, carousels, and so on: every single element which already exists in your design system and will be usable in the AB Tasty visual editor as an infinite source of small custom widgets to create design system friendly campaigns.
Can I nest custom widgets?
Yes. For example, you may need to create a collapsible block using a custom widget.
You may also want to create a carousel custom widget and a button custom widget.
If each of these custom widgets is freely disposable (through the "form" or JavaScript code), you can also nest them together.
Can I enjoy custom widgets between accounts?
For the moment, it's not possible to import a custom widget from one account to another directly from the editor. The account that owns the custom widget needs to duplicate it to the new account first.
What is the difference between widgets and custom widgets?
The widgets are pieces of code you can edit in the editor thanks to the Widget Configurator.
They are created and maintained by AB Tasty.
For more information about widgets, refer to our documentation.
Maintenance of template custom widgets
In case of a bug or bad display of custom widgets, AB Tasty Maintenance won’t be available. Ab Tasty maintains only the free custom widgets that are available in every AB Tasty account and the AB Tasty widgets of course.