Focus items allow you to engage users on your site through bars, modals, notifications and full page takeovers. These can be initiated at different times and with different actions such as exit intent.
Focus Items are listed under the Channels menu.
When creating a focus item, you'll see that there is a place to enter a website.
Some websites will not allow the preview to be displayed. For the preview to work, the site must be secured with an SSL certificate, and it must not block iframe previews with the x-frame-options: SAMEORIGIN header. An error will be displayed in the builder if these conditions are not met.
After entering the website, click the builder button top right. This is where the magic happens.
On the left, you'll see a button to switch between mobile and desktop views. A mobile snapshot is also attempted - it may not match your website exactly due to the snapshot process but it should at least give you the general look. On the right is the builder toolbar.
The first step to building the focus item is to choose what the focus or goal is. There are three options:
Each focus/goal will have slightly different settings but all have a few in common:
Visitor intends to leaveis chosen, an option appears that allows the ability to trigger engagement if links within the site have been clicked.
There are four styles supported -
Each style has its own settings such as position, size, sticky, etc.
By default, Mautic will determine the top colors extracted from the snapshot. Four colors are currently supported for primary color, text color, button color, and button text color.
Again this will vary based on the selected focus/goal and style is chosen. Some support a headline and a tagline while some support only a headline due to space constraints. If the goal is to collect data, a list of forms will be available to choose from. Remember that the form should be simple.
It is possible to format content in Basic, Editor or HTML mode. This opens the door for even more creativity when engaging visitors to your site.
Switching between Basic, Editor and HTML mode will not carry over the content between modes.
Inserting a focus item into a website is as simple as copying one line of code and inserting it into your page's source. After creating and saving the focus item, view the details page, where you can see engagement graphs and other detailed information.
On the right, you'll see a "Focus Installation" box which includes the line of code needed. Click on it, copy, then paste it into your website's source before the closing body tag if possible.
Focus Items action depends on page visits. This means that you must add it just after 'Visits a page' decision.
Found errors? Think you can improve this documentation? edit this page