D·engage GTM Integration

D·engage GTM Integration

There are two different ways for GTM integration. You can create new google tags as well as, you can use existing ones.

(a) Using Existing Tags for Sending Events Data


In order to use your existing triggers to send data to the D·engage platform you have to follow these steps:

  1. First, define an application in the D·engage platform by going into the settings>Application>Add new once you fill in all the details. And create a tag in the google tag manager with custom HTML using the script that’s provided to you.

  2. If you have existing tags and triggers for example for add to cart click, confirm the order, or Buy now click, etc. you can use these triggers to create corresponding tags to send data to the D·engage platform.


More information can be found on the link here.


Events can be sent to the D·engage platform using  sendDeviceEvent function


For example: If you have a table in the D.engage admin panel named events_table you need to use the existing variables in the GTM for that specific event to create a tag for sending that variable's data to D·engage.




The productId, productName, product price, and brandName are the variables that you already have in the GTM so to use these in our tag we will need to specify them in this format {{variable name}}.

(b) Creating Tag for Sending Variable Data: 


  1. Go to the GTM and in the Tags section click >Add new and in the tag configuration select custom HTML and paste the code according to the corresponding table and variables. 
  1. And in the triggers menu you have to select the existing triggers that you were using for the specific tag for example for add to cart you have already created triggers “add cart click” and “buy cart click” you have to select these triggers for this tag.
  1. To use any commerce events in the SDK, you can use this link to find the events. Here is the link for Pre-defined Ecommerce Events.
  2. This link will provide you the scripts for all the standard e-commerce events that you can use in the tags. 


  1. Similarly for the confirm order event you can select confirm order click trigger if it's already there for sending data to Facebook pixel or google analytics and use the data layer variables for those tags.
  2. If there are some Table columns for which you don’t have variables you can pass a default value or leave it empty. Like in the above add to cart tag as there is no variable for a quantity that’s why we are sending 1 as a default value.



    • Related Articles

    • Neto Integration

      Neto D·engage Integration In a matter of minutes, without a single line of code you will become able to connect your Neto store to your D·engage account. This integration is a one-way sync that sends your product catalog as well as your contact and ...
    • SurveyMonkey - D·engage Integration

      With the SurveyMonkey integration, you can now import survey responses directly into your D·engage account, enabling you to enrich your Master_Contact table and build segments based on audience responses to create a more personalized experience. ...
    • Mixpanel - D·engage Integration

      Mixpanel is a leader in the product analytics space, that provides real-time insights into app/website interactions and leverages brands to devise effective marketing strategies according to their customer behavior. D·engage provides an ...
    • Event Data Integration

      There are two options to send Event Data to D·engage: 1. Send event data via D·engage SDK First, you need to create a website application to use the dEngage Web SDK. Go to D·engage Event SDK page for detailed instructions to 'create an ...
    • How to create Shopify Coupon Codes in D·engage

      You can create generic as well as unique coupon codes in D·engage platform for your Shopify Store. These codes can be inserted into the email and SMS. Shopify enforces a limit of 20 million unique discount codes for each Shopify store. If you reach ...