Skip to content

Shopify - Advanced Options

These tags are optional to the setup, and can be applied in specific cases if needed.

Suppression Tag

This snippet can be used to suppress activity on specific pages of your site that you do not wish to target or mail to.

Snippet Creation

  1. On left hand menu, select Snippets > choose +Add a new snippet
  2. Name the snippet, navistone-suppression-event-snippet.liquid
  3. Paste in below snippet > save

    *Please note: update access key where placeholder is present, leaving single quotes intact.
    Ex.) AccessKey: ‘000000000000’

    javascript
    {% comment %}
    Renders a javascript code snippet that tracks a single suppression event for transaction reporting.
    Suppressions are ignored.
    
        Usage:
        {% render 'navistone-suppression-event-snippet' %}
    
    {% endcomment %}
    
    <script defer async>
    MGX = typeof MGX === 'undefined' ? [] : MGX;
    MGX.push({
      AccessKey: 'Your_Access_key',
      Info: 'suppress'
    });
    </script>

    NOTE: This MUST ONLY be triggered on a page to be suppressed. Do not use this and the navistone-page-visit-event-snippet snippet on the same page.