June 12, 2022 at 8:04 pm #11313
I want to serve specific messages to iOS users — hey download my iOS app… and specific messages to Android users…download my Google Play app. How would you recommend setting this up with conditions?June 13, 2022 at 1:01 am #11315Aakash ChakravarthyKeymaster
You can create 2 announcements for iOS and Android.
For the iOS announcement, set the visitor condition rule like “Operating system” is “iPhone” or “iPad” like in screenshot below.
Similarly, for the android announcement set value as “android”
AakashJune 14, 2022 at 2:08 am #11316
Thank you! One last question. I’ve wrapped my website, which includes your plugin in an iOS wrapper. The iOS app is live on the app store. Is there a way to not show an Announcer banner inside my specific iOS app?June 14, 2022 at 2:10 am #11317
Oh, one more question, is there a setting to make the banner show only once per user until the message is changed?June 14, 2022 at 5:35 am #11319
As an FYI, I created one banner for operating system “is” iPhone and another banner for operating system “is not” iPhone and both banners showed up. Not sure why.June 14, 2022 at 5:52 am #11320
Also, after I press update, how long should it take for changes/setting to take effect? Seems like there may be a long delay? (i.e., 15 to 20 minutes)June 14, 2022 at 11:56 pm #11321Aakash ChakravarthyKeymaster
I tried the same in my local setup.
When the operating system is set to “iPhone” then the announcement displays only on iPhone devices.
Please see the images below.
As mentioned in the documentation page, the type of browser, OS is deducted from the user agent string.
You can learn more about user agent string here – https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent
Regarding identifying web view or browser, you need to know the UA string. On the below page, you can find how UA string varies for apps. Similarly you must identify the UA and put that keyword in the visitor condition.
Regarding the time taken for the update, the changes are reflected immediately. Make sure you are not looking at the cached page.
AakashJune 15, 2022 at 12:19 am #11322
Thank you for all the info. I’ll give it a go. Have a good week!
- You must be logged in to reply to this topic.