Shopify
Overview
CleverTap plugin provides an easy way to integrate your Shopify stores within minutes without any code. All you need is a CleverTap account and you can have a seamless flow of events and user data from your Shopify store. You can also send personalized messages to your users through channels such as Web Push notifications, Web Pop-up, and Web Exit Intent.
Note
Enable the Web Push notifications from the CleverTap dashboard before integrating the plugin with your Shopify store.
Setup Web Push
You can send personalized communication to your users through Web Push notifications. However, you must enable them first from the CleverTap dashboard, before integrating the plugin with your Shopify store.
Step 1: Enable Web Push
To enable Web Push:
- Navigate to Settings > Channels > Web Push .
- Save the keys for Chrome and Firefox, and turn on the toggles for Web Push.
Disable Web Push
If you do not want to continue sending personalized communication to your users through Web Push notifications, you can disable it by turning off the toggles for Chrome and Firefox.
Step 2: Integrate Shopify Store with CleverTap
To integrate your Shopify store with CleverTap:
- Log in to the dashboard and navigate to Settings > Project > Shopify.
Alternatively, you can also click Integrate on other platforms. The integration page displays. Select Shopify from the list.
-
Enter the Shopify store name and then click Connect. The Shopify login page opens in a new tab.
-
Enter your Shopify username and password and proceed with the suggested steps to install the CleverTap app.
After connecting successfully, CleverTap starts receiving events and user properties of users visiting your Shopify store.
Release Date
The new Shopify plugin was released on June 25, 2021.
Supported Events
The following table displays all the events supported by the new plugin.
Event Name | Description | Properties |
---|---|---|
Page Browse | This event is recorded when the user visits a page | Page - The store page. For example, Index page. Title - Title of the page. For example, Acme home. * URL - URL of the page. For example, https://mystore.myshopify.com/. |
Product Viewed | When the user views a product | Available - Availability of the product. For example, TRUE. Currency - Shopify store currency. For example, INR. Handle - Product Handle. For example, nike-sneakers-shoe. ID - Product ID. For example, 6744256675993. Price - Product Price. For example, 2999. Title - Product Title. For example, Nike Sneakers Shoe. TotalVariants - Number of variants available. For example, 3. URL - URL of the product page. For example, /products/nike-sneakers-shoe. |
Searched Product | When a product is searched | Currency - Shopify store currency. Term - Search terms used. For example, red shoe. * TotalItems - Number of items in search results. For example, 1. |
Added To Cart | When a product is added to cart | Currency - Shopify store currency. For example, INR. Image - URL of the product image. For example, https://cdn.shopify.com/s/files/products/RedT-shirt.jpg. Price - Product Price. For example, 2999. ProductId - Product ID. For example, 6744249139353. ProductType - Type of the product. For example, T-shirts. Quantity - Product Quantity. For example, 1. Title - Product Title. For example, Red T-shirt. URL - Product URL. For example, /products/red-t-shirt-1?variant=39972529471641. VariantId - Variant ID. For example, 39972529471641. VariantTitle - Variant Title. For example, Nike Sneakers Shoe. * Vendor - Vendor name. For example, Acme stores. |
Removed from Cart | When a product is removed from cart | Currency - Shopify store currency. For example, INR. Image - URL of the product image. For example, https://cdn.shopify.com/s/files/products/RedT-shirt.jpg. Price - Product Price. For example, 2999. ProductId - Product ID. For example, 6744249139353. ProductType - Type of the product. For example, T-shirts. Quantity - Product Quantity. For example, 1. Title - Product Title. For example, Red T-shirt. URL - Product URL. For example, /products/red-t-shirt-1?variant=39972529471641. VariantId - Variant ID. For example, 39972529471641. VariantTitle - Variant Title. For example, Nike Sneakers Shoe. * Vendor - Vendor name. For example, Acme stores. |
Customer Registered | When a customer registers on the Shopify store | Email - Customer's email address. For example, [email protected]. Name - Customer's name. For example, John Doe FirstName - Customer's first name. For example, John. LastName - Customer's last name. For example, Doe. * ID - Customer ID. For example, 5204453556377. |
Customer Logged In | When a customer logs in to the Shopify store. | Email - Customer's email address. For example, [email protected]. Name - Customer's name. For example, John Doe FirstName - Customer's first name. For example, John. LastName - Customer's last name. For example, Doe. * ID - Customer ID. For example, 5204453556377. |
Customer Logged Out | When a customer logs out of the Shopify store. | None. |
Checkout | When a customer checks out items. | TotalItems - Number of items in the cart. For example, 5. Currency - Shopify store currency. For example, INR. |
Charged | When a customer successfully completes the purchase . | Items - List of items charged with individual item properties such as Title, Vendor, quantity, price, productID and so on. For example, Items | 6612076593358|Running. Shoe|1|Acme, where Product ID - 6612076593358, Product Title - Running Shoe, Quantity - 1, and Vendor - Acme. TotalItems - Total number of Items charged. For example, 3. * Currency - Shopify store currency. For example, INR. |
Supported User Properties
The following table displays all the user properties supported by the plugin.
User Property | Property Description |
---|---|
Name | The customer's name. For example, Jack. |
Phone | The customer's mobile number. For example, 97650000. |
The customer's email address. For example, [email protected]. | |
Identity | The customer's CleverTap ID. For example, 3645910. |
Tags | The list of tags associated with the customer. For example, Gold customer. |
City | The customer's city. For example, Mumbai. |
Accepts Marketing | This property returns the value as true if the customer accepts marketing. If the customer does not accept then returns the value as false. |
Has Account | This property returns the value as true if the email associated with the customer is linked to a customer account. The property returns the value as false if the email is not linked to the customer account. |
Orders Count | The total number of orders from a customer. |
Tax Exempt | Whether or not the customer is exempt from taxes. |
Total Spent | Total amount spent on all orders. For example, 5400. |
Shopify Id | The Shopify ID of the customer. For example, 29873645910. |
First Name | The customer's first name. |
LastName | The customer's first name. |
Setup Shopify Webhook
Webhooks are a useful tool for apps that want to sync with Shopify or take some action after a specific event occurs in the shop. You can use webhook subscriptions to receive notifications about particular events in a shop. For example, you might want to trigger an action such as an SMS or email when a customer places an order.
Follow these steps to configure each event through Shopify webhooks.
- Go to the Shopify admin panel in your store.
- Go to Settings > Notifications.
- Scroll down to the Webhooks section.
- Click Create Webhook. The Add webhook window appears.
- Select the supported event from the list.
- Enter the CleverTap endpoint URL. For example, https://api.clevertap.com/shopify/m/<Account-ID>
- Click Save.
Webhook Supported Events
The following events are supported via the Shopify webhook:
- Checkout Created
- Checkout Updated
- Checkout Deleted
- Customer Created
- Customer Updated
- Draft Order Created
- Draft Order Updated
- Fulfillment Created
- Fulfillment Updated
- Order Cancelled
- Order Created
- Order Fulfilled
- Charged
- Order Partially Fulfilled
- Order Updated
Checkout and Order events
The Checkout Created, Checkout Updated, Checkout Deleted and Charged events are available automatically via webhooks for all Shopify plugin installs/reinstalls after 1st October 2021. There is no need to subscribe to these events manually.
Create Web Campaigns
The CleverTap Shopify plugin provides support for web channels such as Web Push , Web Pop-up , and Web Exit Intent without the need for any manual code integration.
To create a Web campaign:
- From the dashboard, navigate to Campaigns.
- Click + Campaign.
- Create a Web Push , Web Pop-up , or Web Exit Intent campaign to engage your users.
Migrate from Previous Plugin
The new version of the Shopify plugin was released on June 25, 2021. The previous version of this plugin supports events such as Search, Category Viewed, Product Viewed, Added to Cart, and Charged. This version also provides support for Web Pop-up and Web Exit Intent channels.
If you want to upgrade to the latest version of the plugin, please reach out to your Customer Success personnel or raise a support ticket from the dashboard.
FAQs
Q. Does my current billing plan include integration with the Shopify plugin?
Yes. This Shopify plugin is available for all CleverTap billing plans.
Q. I have already installed CleverTap’s Shopify plugin. How can I migrate to the new Shopify Plugin released by CleverTap on June 25, 2021?
Please reach out to your Customer Success personnel or raise a support ticket from the dashboard.
Q. I have a Shopify web store and a mobile app. How do I target users who have performed an event on my Shopify store?
Follow the steps:
- Select that the event (for example added to cart) in the CleverTap segment builder.
- Filter by event property CT Source equal to Shopify.
Q. I see a warning "Shopify installation seems to have a few missing files" displayed at the end of the Project page. How do I resolve this warning?
It is recommended to reinstall the plugin by clicking Reinstall.
Q. Will this plugin work for Shopify Plus customers?
Yes. This Plugin works for Shopify Plus customers too.
Updated over 2 years ago