Search code examples
emailwoocommercehtml-emailmeta-tags

Meta tag with condition tag in emails


I need to add the following meta tag to the WooCommerce email header.

<meta name="x-apple-disable-message-reformatting" />

This meta tag is to fix formatting issues in IOS email. But I cannot find a conditional tag to add the meta tag only if IOS.

Is the condition tag necessary here ? Does this have any effect on other email clients or will be neglected ?


Solution

  • You can add this meta tag without conditionals. Other email clients will ignore it.

    The most comprehensive 'how to target' site, FWIW is here - but mostly this will have nothing to do with meta tags, because the targetting available is generally only for content in the <body>: https://howtotarget.email/