Supported Targeting Rules
Produktly supports a wide range of different rules that you can use to target the features.
The same rules are currently available for all of our features
Available rules
Show on all pages
This is the easiest one, simply show the feature on every page where the Produkly script is installed
Url
The most common one, filter the feature based on the current url of the user.
There are multiple operators you can use to check for a match, such as Equals, Contains, Doesn't contain, Starts with, Ends with, Not equal, Is one of, and Is not one of
Dynamic urls
Sometimes you might have an url that changes, for example, per user. Produktly supports dynamic urls, you just have to mark the parts of the url that are dynamic by enclosing them in these brackets {}. You can also define multiple dynamic parts of the url.
For example, if you have an url like https://example.com/users/321, and the 321 might change, you would enter https://example.com/users/{321} to the tour url.
Note that currently, this only works when you have selected the "Equals" matcher.
Current time
Use the current time to target. For example you might want to show an announcement only for certain days, and schedule it ahead, so you can use the current time filter for that.
You can use the following operators: Greater than or equal, Greater than, Less than or equal and Less than.
Note that the current time always uses UTC as the time zone
Location
We support targeting multiple different locations on the country level. For now these are only on the country level, and they are based.
Location is based on the browser's time zone currently, which in most cases includes granular information about the country the user is located in (or configured their browser to).
Please don't hesitate to reach out at support@produktly.com if you don't see the location you would like to use.
Language
We support targeting multiple different languages.
Language is based on the browser language.
Please don't hesitate to reach out at support@produktly.com if you don't see the language you would like to use.
Device Type
Target based on the user's current device type. You can select from Desktop/Laptop, Mobile and Tablet
Screen width
Simply filter by the screen width. Produktly automatically checks the current screen width of the user and can then use that to determine whether to show the feature or not.
You can use the following operators: Equals, Greater than or equal, Greater than, Less than or equal, Less than, Not equal, Is one of, and Is not one of.
Screen height
Simply filter by the screen height. Produktly automatically checks the current screen height of the user and can then use that to determine whether to show the feature or not.
You can use the following operators: Equals, Greater than or equal, Greater than, Less than or equal, Less than, Not equal, Is one of, and Is not one of.
Custom
By identifying users, you can use any of custom attributes you want to target Produktly features. Requires little bit of Javascript.
For custom attributes you can use the following operators: Equals, Is one of, Is not one of, Greater than or equal, Greater than, Less than or equal, Less than, Not equal, Contains, Doesn't contain, Starts with, and Ends with. (Note that not all operators work for all data types, e.g. for numbers we don't support "contains" or "starts with" etc.)
The "Is one of" and "Is not one of" operators allow you to match against multiple values at once. For example, you can check if a user's country is one of "US, CA, MX" or if a user's ID matches one of several specific values.
Or to further customize, you can technically build any kind of custom filtering with our Client SDK. This does require coding though.
Something else?
Does your use-case need a filter we don't support yet? Please don't hesitate to reach out at support@produktly.com and describe your use-case. We would be happy to help you, and potentially implement new filters