We are constantly working on expanding our customization options for our clients - now, you can set up a unique logic for your widget, to determine exactly when and where you want it in your site. Let's explore the new Rules & triggers 😎

The Rules & triggers subsection is located in the Settings tab, on the left column.

Where Rules

The Where rules dictate where your widget will appear in your site, by setting conditions specific URLs you want the widget to appear or not appear in.

Let's explore our operators -

Any value - basically means "Set to all pages". The widget will appear on all URLs of the site, except for URLs you specifically excluded in other rules.

Equals to - means that the widget will appear in that exact URL, no digit more or less.

Not equals to - the widget will be excluded from that exact URL.

Starts with - the widget will appear at any URL that begins with the inserted value, regardless of what comes after.

Ends with - the widget will appear at any URL that ends with the inserted value, regardless of what came before.

Contains - the widget will appear on any URL that includes the inserted value.

Not contains - the widget will not appear on any URL that included the inserted value.

Bear with us! Let's see this unique logic for example, and how it would actually impact my widget.

Let's say that I have a clothing store, and I made a widget that I want to add to my homepage, to the entire shirts category and to any product that contains the word pink 🌷

I will set the rules as follows:

The widget will appear on the homepage, because it is set to appear on a value that is equal to my homepage URL. It will also appear in any url that starts with www.mystore.com/shirts, due to the Starts with operator. Lastly, it would appear on any URL that Contains the word "pink".

To set multiple positive rules, it's important to use the Or operator and not the And (the Add Rule button). Let's say that I want the widget to also appear on my About Us page.

This is how it looks like as an And rule -

The widget will not appear in any of the defined pages, because the system would look for an address that contains both "www.mystore.com", "www.mystore.com/shirts", "pink" and "www.mystore.com/about-us". That's why it's important to use the Or operator.

To set multiple negative rules (Not equals/not contains), use the And rules. Let's say I want to exclude my widget from pages that contain Stilettos, Shorts and Dresses.

This will be the correct way to set rules:

Who Rules

You are also able to set up conditions based on who is visiting your site, and set different rules that will apply to users or visitors, by clicking on the Users and exposing the drop down menu.

Let's see the attributes you can set -

Email - conditions will be set according to the user email.

Sign up date - the widget will or will not appear for certain clients, depending on their sign up date you will choose.

Session count - the widget will/won't be visible according to the number of visits of your users.

Last seen at - the widget will only be visible (or not) based on the date where the visitor has last seen.

First seen at - the widget will only be visible (or not) based on the date where the visitor has first seen.

You can also check this developer article to add your own custom visitor attributes, or contact us at support@gotolstoy.com to add them for you.

Let's explore some useful conditions for these attributes!

Example 1: The email handle of my site's team members is @mysite.com. Since I don't need the team members to see the widget any time they are in the site, I have disabled the widget for users with any email address that ends with "@mysite.com".

Example 2: I have made a huge system update in my site on October 24th 2021, and I have a new widget explaining the changes. It may not be relevant for new clients, as they were not familiar with the previous system. However, for older clients, they may need some guidance in order to readjust to the new system. That's why I set the widget to be visible only for clients who have registered before the update.

Example 3: I want to include a special widget for clients on their first sign up day, which offers them a discount code in the end. That's why I set up a widget to only be visible for clients on their first day of sign up.

Example 4: I made a special widget welcoming back visitors who've returned to the site after 30 days they didn't visit it.

Example 5: I made a special widget for old customers who have joined more than a year ago, which offers them a discount code.

GIF by Late Night with Seth Meyers

That is it! You can completely customize the widget's location to your preference. If you wish, you are also welcome to watch our walkthrough for a live demonstration.

Have any questions? Feel free to send us a note to support@gotolstoy.com.

Did this answer your question?