{% set googleAnalytics = customAttributes.attributes.googleAnalytics %} {% if googleAnalytics is defined and googleAnalytics != '' and googleAnalytics != 'UA-123456' %} {% endif %}