Skip to main content

Introduction

Snowplow is an open-source, event analytics platform. Snowplow empowers organizations to generate trustworthy, first-party Customer Data to power Marketing and Advertising performance.

MoEngage × Snowplow

With the MoEngage and Snowplow integration, you can forward the events captured on Snowplow to MoEngage via GTM server-side tagging, without writing any code on your website. The MoEngage GTM Tag allows you to:
  • Control the data you want to ingest into MoEngage
  • Have the flexibility to pick, choose, and remap Snowplow attributes to MoEngage attributes
  • Update user attributes in MoEngage with an event

Use Cases

  • Create dynamic user segments using Snowplow’s behavioral data collection
  • Make use of Snowplow’s extensive data points to create hyper-personalized customer flows using omnichannel campaigns.

Integration

Prerequisites
  • Ensure you have a Snowplow pipeline already set up.
  • Ensure you have GTM Server Side deployed with the Snowplow Client for GTM SS already set up.
  • Ensure you have a Google Tag Manager account with permission to import templates and add new tags.
With the Google Tag Manager template built by MoEngage, you can forward your Snowplow events from GTM to MoEngage.

Step 1: Download and import the MoEngage GTM Tag for Snowplow

MoEngage GTM tag for Snowplow editor view
  1. Download the MoEngage GTM tag for Snowplow (right-click and Save).
  2. To import the tag into your GTM workspace, go to the Templates screen from the left-side menu. GTM Templates screen showing the Tag Templates section
  3. Under Tag Templates, click the New button > Actions menu (top-right) > Import. Select the MoEngage tag file you just downloaded.
  4. Click Save when you see the MoEngage logo on the left.

Step 2: Select and configure the MoEngage Tag

The MoEngage Tag template lets you forward Snowplow events, and update custom as well as standard user attributes inside MoEngage.
  1. On your GTM dashboard, click Tags > New.
  2. Click Tag Configuration, and under Custom look for the MoEngage Tag.
  3. Setup the tag according to your needs.
MoEngage Tag configuration screen in GTM

User Identifier

User Identifier mapping section in the MoEngage Tag Here you need to map the user identifier to identify the user in MoEngage. You can map this value using multiple ways:
  • From Variable: Select this option if you want to use a GTM Variable as the user identifier value.
  • From Event Property: Select this option if you want to extract the user identifier from an event property. Enter the attribute key here, for example, user_id. Note that we can only pick values only from the root level keys. If you want to extract values of nested keys, please use GTM Variables and then select “From Variable” option.

Snowplow Event Mapping Options

Snowplow Event Mapping Options section in the MoEngage Tag Here you can customize the configuration to ingest Snowplow events into MoEngage. We support Snowplow events collected by the Snowplow Client for GTM SS.

Additional Event Mapping Options

Additional Event Mapping Options section in the MoEngage Tag

Additional Event Data

Additional Event Data section in the MoEngage Tag If you want to extract values from nested objects or arrays, you can create GTM Variables for the same and use this section to directly use the variable as an event attribute. Click Add Row to add a new event attribute.

Additional User Data

Additional User Data section in the MoEngage Tag You can also use the above method to extract values from nested objects or arrays and use this section to directly use the variable as a user attribute. Click Add Row to add a new user attribute.

Advanced Event Settings

Advanced Event Settings section in the MoEngage Tag You can use this section to rename your event or change your event time.

Step 3: Select the trigger condition

Triggering section in the MoEngage Tag setup Under the Triggering section, you can select an event as a trigger or create a new trigger as per your requirements. Click Save when you’re done with the tag configuration. You can preview the tag and verify if all your expected events are being ingested in MoEngage as per your configuration.