Weather is a triggering criterion that enables defining a trigger.Â
To learn how to create a trigger, please refer to this article.
đ Definition
The weather criterion enables you to test or personalize your visitors' experiences based on real-time weather data.
âď¸Â Configuration
AB Tasty offers you different dimensions to work with based on weather conditions. In the first field, you can either include or exclude the audience youâll be configuring. Then, two main elements will help you define your trigger:Â
- A specific type of weather: You can choose between Clear, Clouds, Drizzle, Dust, Fog, Mist, Rain, Smoke, Snow, Thunderstorm, or All.
-
A range of temperature: select here the range of temperature you want your campaign to be based on, starting from the minimum value to the maximum value of this range
- If you put only one min temperature, the targeting will be done on all the values equal to or above that value.
- If you put only one max temperature, the targeting will be done on all the values equal or under that value.
đĄ Use case
The weather criteria is a key pillar in terms of personalization and will help you build a strong strategy based on what your visitors are experiencing in real-time. Letâs imagine a big drop in temperature in mid-season. You could promote and display with ABTasty a specific card or banner on your website to highlight your snow/winter coats with specific price discounts.
Inside the trigger builder, you can proceed as follows:
- Select the weather criteriaÂ
- Select the âisâ operatorÂ
- Select the âSnowâ type of weatherÂ
- The range could go from 0F° to 32F°
With that kind of configuration, your campaign will be displayed only when your visitors are exposed to snowy conditions đ
đ How does it work?
To display the right temperature metric (either Celsius or Fahrenheit), AB Tasty refers to your account language settings. We will display Fahrenheit by default if your language configured is the English, and Celsius for the other languages. The trigger will automatically use the right reference system.
Weather detection goes through a few different steps:
- We interpret the visitor geolocation from its IPÂ
- We call a specific service called âOpen weather mapâ to know what is the current weather on that particular geolocation
- We store this information in the session storage, inside the same object as the Geoloc one (âABTastyGeolocâ)
This specific weather service is called only when our tag detects the weather triggers being used in one active campaign on your account. When the session is initiated, the tag checks if we already have the information stored in the session storage. If not, he proceeds with the weather verification based on the userâs IP (only if we have his/her consent) that we described before.Â
Need additional information?
Submit your request at product.feedback@abtasty.com
Always happy to help!Â