How to get all user activities from conversion summary using GraphQL API

AR77
Visitor
3 0 0

Hello,

 

My requirement is to get all the user activities done for an order starting from user's first visit till the conversion actually happened. I am using GraphQL to fetch this data. I found there are customerJourneySummary and customerJourney objects and they have options to fetch customer's first and last visits. But I also want to get all the visits in between the first and the last. Presently I am only getting the dates of all visits made by the customer for an order using customerJourney.moments. 

 

Is it possible to get all the activities in human readable text like a description seeing which it can be understood what customer actually did on that date?

 

A reply is much appreciated.

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1357 224 473

Hi @AR77

 

I will add a feature request for more fields on the CustomerMoment interface. 

 

In the mean time, you might be interested in looking at our web pixel documentation, and the customer event reference in particular to build a timeline based on the CustomerMoment.occurredAt details.

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog