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 on your site. Let's explore the new Rules 😎

The Widget rules subsection is located in the Rules tab.


Pages

This is where your widget will appear on 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.

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

In - can be used when you want to include multiple "Equals to" rules on the same widget. It can be a list separated by a comma.
Not In - can be used when you want to include multiple "Not equals to" rules on the same widget. It can be a list separated by a comma.

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 equals 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 negative rules (Not equals/Does not contains), 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:


Audience

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 Add rule + button.

Let's see the attributes you can set

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

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

Session count - the widget will or 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 it.
Play count - the widget will or won't be visible according to the number of users that clicked play on your Tolstoy.

Impressions count - the widget will or won't be visible according to the number of users that landed on a page that contains a Tolstoy.

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 on the site, I have disabled the widget for users with any email address that ends with "@mysite.com".

Example 2: I made a huge system update on 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, 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 at the end. That's why I set up a widget to only be visible to 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 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.

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

Did this answer your question?