If you'd like to show the product's sales on the product's page, e.g. on the product page "black shoes" we will only show recent sales of that shoe, here's what you should do:
In Shopify Store Admin go to
Online Store -> Themes -> Actions -> Edit Code -> Product.liquid
And add this code in the beginning of the file:
<script type="text/javascript">
window.dq=[{ n:"Notification Name", g: {{ product.id }} }];
</script>
Don't forget to change "Notification Name" to the name of the notification in your dashboard.
Dynamic Message Template: when setting up a Shopify product page notification, keep in mind you can use variables to customize your message:
Here is a list of available variables:
{{name}}
{{product.name}}
{{product.link}}
(use markdown for linking){{location.country}}
{{location.countryCode}}
{{location.city}}
{{location.state}}
(if available){{location.stateCode}}
(if available)