I have an activity with an audience to only include desktop devices.
My Audience is set as:
EXCLUDING:
I've also tried with fewer criteria, and added more as I've been testing. I've also attempted an "Including" where Mobile: is NOT Mobile Device AND NOT Mobile Phone, AND NOT Tablet AND OS does not match iOS or Android.
No scenario appears to work for iPad 12th gen, on Safari. Interestingly, the audience applies correctly on the same device on Chrome.
How can I get this audience to work for Safari iPad?
Solved! Go to Solution.
Hi @ALB15 Yes, seems that's correct. I just did google and seems like this default option iPad automatically requests desktop versions of sites however user can request for mobile version site through Safari settings.
Now in this scenario, seems there is no built in option in Adobe Target so you've to look into workaround and write a custom script to identify iPad.
1) You can use the navigator.platform
property which returns a string identifying the platform on which the user's browser is running and
navigator.maxTouchPoints
returns the number of touch - so this helps you to identify the device with touch (like iPad)
here are the example.
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/platform
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/maxTouchPoints
https://stackoverflow.com/questions/57776001/how-to-detect-ipad-pro-as-ipad-using-javascript
2) Screen dimension - you can detect height and width of iPad using methods like window.screen.width;window.screen.height;
You can try this options or you can combine both scripts results while creating the audience and see if this works for you.
Hope this helps.
Hi @ALB15
If I understood correctly, you're facing issues with Safari browser for iPad12 right?
I would suggest to check below things and see if this helps to get the things done for you.
1) Check the User agent string for your safari browser on your iPad 12 ..
you can check here https://www.whatismybrowser.com/detect/what-is-my-user-agent/ and then compare this with the user-agent for Chrome on the same iPad to identify discrepancies.
2) Based on the above result you can adjust audience criteria.
See if this helps and please post your findings here so we can see.
Thanks
Views
Replies
Total Likes
User Agent comes back as:
iPad Safari:
Mozilla/5.0, (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15
iPad Chrome:
Mozilla/5.0, (iPad; CPU OS 16_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/92.0.4515.90 Mobile/15E148 Safari/604.1
I've found some details about Safari where iPad automatically requests desktop versions of sites. When switched to "request mobile website", I'm getting "iPad" in the Safari user agent one would expect. This appears to have been an issue with Safari for years.
Does Adobe have any workaround for this (detection of iPad when requesting a desktop site)?
Views
Replies
Total Likes
Hi @ALB15 Yes, seems that's correct. I just did google and seems like this default option iPad automatically requests desktop versions of sites however user can request for mobile version site through Safari settings.
Now in this scenario, seems there is no built in option in Adobe Target so you've to look into workaround and write a custom script to identify iPad.
1) You can use the navigator.platform
property which returns a string identifying the platform on which the user's browser is running and
navigator.maxTouchPoints
returns the number of touch - so this helps you to identify the device with touch (like iPad)
here are the example.
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/platform
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/maxTouchPoints
https://stackoverflow.com/questions/57776001/how-to-detect-ipad-pro-as-ipad-using-javascript
2) Screen dimension - you can detect height and width of iPad using methods like window.screen.width;window.screen.height;
You can try this options or you can combine both scripts results while creating the audience and see if this works for you.
Hope this helps.
Views
Likes
Replies
Views
Likes
Replies