So, How do you Flow it?
Trigger, fetch and store dataWe start our Flow of the week by triggering on a website visit - passing through the visitor IP. We then get the saved IPs and check if this is a new visitor or returning. If new - set the initial banner priorities to return the set decided on for first visit. Here you could also route based on user country/city to return different initial banner sets per country/city. This is all done in milliseconds and will not slow down your site. The banners are returned to load the site in no time! In the flow we can also set default values if they have not been defined in the call - such as banner names, banner count and any other variable you might want to use.
Can Flows randomise which banners to show?Yes of course! If all banners were to have the same or no priority - then Flows would simply return a complete random banner set on every website visit. If instead, like in our Flow of the week, there is a priority set at the start, then there will be a set of banners for the first visit based on that priority. And for each unique IP visit after that; the priority score for the banners would be updated and Flows would return a new set of random banners for each visit. But still with the priority as a base so those with high priority would be shown more times than those with low. As shown above, Flows can query the full list of Banners and return the count asked for, in ascending order based on Priority score. Then for each banner returned - add to response list to display onsite and change their priority score for next time that IP will trigger the flow. Remember - this is all done in real-time milliseconds! No heavy loading for your site or lots of code added in the frontend - just Flow it!
If you want to find out more about how flows can help you to accelerate delivery and supercharge your innovation, get in touch