Skip to main content
Solved

Show/Hide content block based on someone's device

  • January 26, 2022
  • 2 replies
  • 161 views

Forum|alt.badge.img+2

I’ve got an email in a flow pushing our app and I’d like to show/hide the CTAs based on the mobile device the email is open in (i.e. only show the iOS CTA for iOS phones). 

 

Is this doable? 

Best answer by David To

Hello @Leo Pure Electric,

Although you can designate email content to show on certain devices such as desktop or mobile, you wouldn’t be able to further target based on the OS (operating system) your recipients are reviewing the email from. 

One way this would be accomplishable would be if you were already collecting this OS data from your recipients and previously stored as a custom profile property. With this information collected, you can leverage the show/hide function to display if a recipient meets this show/hide criteria of having this particular custom profile property. 

To learn more about this work around, I recommend taking a look at our How to Show or Hide Template Blocks Based on Dynamic Variables Help Center article and some Community posts that discuss this topic. I’ve included some below that I think may help you:

I hope this helps!

David

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

David To
Klaviyo Employee
Forum|alt.badge.img+60
  • Klaviyo Employee
  • 2456 replies
  • Answer
  • January 27, 2022

Hello @Leo Pure Electric,

Although you can designate email content to show on certain devices such as desktop or mobile, you wouldn’t be able to further target based on the OS (operating system) your recipients are reviewing the email from. 

One way this would be accomplishable would be if you were already collecting this OS data from your recipients and previously stored as a custom profile property. With this information collected, you can leverage the show/hide function to display if a recipient meets this show/hide criteria of having this particular custom profile property. 

To learn more about this work around, I recommend taking a look at our How to Show or Hide Template Blocks Based on Dynamic Variables Help Center article and some Community posts that discuss this topic. I’ve included some below that I think may help you:

I hope this helps!

David


Forum|alt.badge.img+2

Gotcha. Thanks

 

Leo