Shopify Integration

Shopify Integration

Shopify D·engage Integration

In a matter of minutes, without a single line of code you can connect your Shopify store to your D·engage account. This integration is a one-way sync that sends your product catalog as well as your contact and order data directly from your Shopify store into your D·engage account for both logged in customers and guests. 
You can use this data to send personalized follow-up emails to your contacts, trigger automations to run based on behavioral data, create targeted micro-segments, define campaign conversion goals, and more.


Enable the Shopify Integration

  1. In your D·engage account click Data Space > Integrations and click Connect to start the configuration.



  1. Enter your Shopify Store URL, API Key and API Password


How to get Shopify API Details

  1. Log in to your Shopify admin panel and go to “Apps” menu. Click on “Manage Apps”



  1. Click on "Create New Private App"


  1. Enter App details; "Private app name" and "Emergency developer email"


  1. Go to ADMIN API PERMISSIONS Section.



  2. Click on “Show inactive Admin API permissions”. This will expand the list of permissions. From this list, please provide read and write access to the following:
    - Contacts
    - Products
    - Orders
     For the other options, you can set permissions as per your preference.



  3. Make the following selections in "Storefront API" and press "Save"


  1. Your API Key and Password will be available once you have saved your changes



Adding Webhooks for Real-Time Data Sync

  1. Log in to your Shopify admin panel and go to “Settings” menu. Click on “Notifications”


  1. You will be redirected to a new screen. Scroll this page to bottom to find the "Webhooks" section
  2. Click "Create webook"
  3. You have to add six endpoints for six events as shown below. (Customer Creation, Customer Update, Order Creation, Order Update, Product Creation and Product Update)


  1. The second parameter is the Format of Webhook and it should be JSON
  2. The third parameter is the URL found in the Step 2 of the Integration Steps in the D·engage platform.


SynchingData

Once your Shopify store is connected select the type of data you want to sync: Contacts, Products and/or Orders.
  1. All Contacts and Product data are synched. Order history can be synched up to a year.

Pre-Mapped Data Fields

Contact, Order and Product data come with pre-mapped fields. Please view the tables below for details.

Contact Data Pre-Mapped Fields

Shopify
D-engage
accepts_marketing
email_permission
accepts_marketing
gsm_permission
accepts_marketing_updated_at
email_consent_date
accepts_marketing_updated_at
gsm_consent_date
created_at
subscription_date
email
email
first_name
name
id
contact_key
last_name
surname
phone
gsm
last_order_id
last_order_id
marketing_opt_in_level
marketing_opt_in_level
orders_count
orders_count
state
state
tags
tags
total_spent
total_spent
verified_email
verified_email


Product Data Pre-Mapped Fields

Shopify
D-engage
id
product_id
title
title
product_type
category_id
image.src
link
image.src
image_link
variants.price
price
status
availability
variants
stock_count
tags
tags

Order  Data Pre-Mapped Fields

Shopify
D-engage
customer_id
contact_key
referring_site
order_source
process_at
order_date
total_amount
total_price
total_price
total_price_discounted_price
payment_method
if added credit is not null
coupon_code
gift_card
order_detail
every line item
unit_price
price
discount_price
calculated and reflected in total_disounted_price
order_product_status
fulfillment_status
quantity
quantity

Managing Your Integration

You can manage the connection and view sync history at any time from the Data Space > Integrations page.


  1. Disconnect Button: Clicking the "Disconnect" button will prevent future contact, product and order data from syncing into your D·engage account. Any data already synced from that Shopify store will not be deleted and will remain even after the store has been disconnected




    • Related Articles

    • 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 ...
    • 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 ...
    • Shopification

      Basic: The Shopify is a Canadian e-commerce company, which was founded in 2006 in Canada. It offers online retailers a suite of services including payments, marketing, shipping and customer engagement tools. In other words, it's a subscription-based ...
    • Data Integration

      If you are using only our Email and SMS channels, you will only need to integrate the master_contact table. If you are using our Mobile and Web Push channels, you will need to integrate the master_device table as well. Sending your Contact Data to ...
    • Dengage Wordpress integration

      In this article, we will guide you through the process to implement the SDK and service worker on your WordPress website. Below are the steps to set up SDK and service worker on wordpress. 1. log in to the admin panel of your account and navigate to ...