{% assign userAgent = globals.visitor.userAgent -%} {% if userAgent contains 'iPhone' or userAgent contains 'iPad' -%} Get App (iphone) {% elsif userAgent contains 'iPod' -%} Get App (ipod) {% elsif userAgent contains 'Android' -%} Get App (android) {% else %} Get App (desktop) {% endif -%}