google analytics api - Shopify display Most viewed Products via API
I've been working to develop a shopify app. I've used Shopify API to display data like, Top Products, Top Customers etc.
Now i want to display products based on their number of views in ascending or descending order.
How can i achieve that using Shopify API? If It is not possible via API and I need to integrate Google Analytics to it, then is there any guide that can tell me how to get products views data from the store?
Any help would save my day.
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.