Forum Discussion
Latency when refreshing Banner
Hi!
We're having some issues with a Banner in our app.
We have a flow where
1. User clicks on Banner
2. We log a custom event
3. Custom event Triggers an IAM
4. When user clicks on the IAM, it assigns a custom attribute using the brazeBridge method
5. We flush the data
6. The user dismisses the IAM
7. We refresh the banner (after a 20 sec delay)
8. The banner re-runs the liquid to check if there is a value present in the attribute we assigned in step 4. If it is, then show a different UI.
However, between step 7-8, there is a very long and inconsistent latency, between 10 seconds up to minutes. So the banner doesn't refresh. And we usually run into rate-limit issues trying to refresh the banner over, and over.
Has anyone had any similar use-case, leveraging banners to trigger a modal, and then updating the banner depending on actions taken in the modal? If so, did you also have similar issues as above, and how did you solve them?
1 Reply
- TedScottVisionary
To avoid the delay / api rate limit and solve your problem, you might consider a script to set a value in a cookie or local storage when the IAM is clicked (I suggest local storage), and then check for the presence of that value to before loading the banner.
Related Content
- 1 year ago
- 1 year ago