The HubL code below will help you scope heatmap or anlytics tracking on one domain and exclude any previews.
{% if request.domain == 'www.yourdomain.com' and request.query is not string_containing 'hs_preview' %} {% endif %}
The HubL code below will help you scope heatmap or anlytics tracking on one domain and exclude any previews.
{% if request.domain == 'www.yourdomain.com' and request.query is not string_containing 'hs_preview' %} {% endif %}
Tags: HubSpot CMS, HubSpot Marketing
Last updated on