If you have a Shopify store and you want to show the latest conversions or the conversions count of certain products that you are selling on your Shopify store, then this is the guide for you.
Connecting Shopify with ViralSales is a easy process but can be quite confusing for someone who never used Webhooks before.
A quick glance at end product
- A Shopify order is completed/paid for
- Shopify sends a “message” to ViralSales with the details of the order
- ViralSales receives, parses and stores the “message” from Shopify
- Now the Notification created with ViralSales will show the latest conversion that happened on Shopify. (Note: You can create your own random notifications. If you like it)
Here is how it would look like:

First, Make sure you created your campaign for your website correctly and installed the ViralSales pixel code on your website.
Lets start:
- Go to the campaign that you have ready
- Click the Create Notification button
- Fill out the name of your new notification and select the type as either “Latest Conversion” or “Conversions Counter” and submit.
- Make sure that the notification is Enabled!
Configure Shopify
Go to your Shopify account and from the Shopify admin page, go to Settings and then access Notifications.

Scroll down to the Webhooks section and then, click the Create Webhook button.

Now you must go to the freshly created notification with ViralSales in the Settings > Data tab.

Now make sure to copy the Webhook Trigger URL that is highlighted in the picture above.
Go back to the Shopify store and paste it in the URL field.

You can now select the Event of the Webhook. More exactly, when should Shopify trigger the execution of the webhook.
In this case, I selected “Order payment” because we want to track the latest order payments with ViralSales.
Make sure to select the Format to JSON and click Save webhook.
Should look like this:

As you can see, now that you have this webhook set up, you can also test it out.
Click on the Send test notification button now.
Now, if we go back to the Notification from ViralSales and access the Data page, we will see something like this:

You will be able to see that there is a new “Conversion” registered in ViralSales dashboard.
If you “Click to get conversion data” then you will be able to see even more details and the caught variables, which you can use in the title or description.
Now, you can go to the Settings of the notification and configure your notification as you’d like.
Here is how I have configured it myself:

You can see that the Title is using the {email} variable from the conversion data and also that the Description is using the {total_price} variable. Note: You can use Shopify Official variable in ViralSales configurations
Here is the final result, just like we wanted:

You can clearly see that the notification is using the variables from the latest registered conversion now.
Hope you found this tutorial useful, keep in mind that this is just a test and further configurations can be done, which are totally up to you!