How can we get the full landing page URL (including query string parameters) through the APIs?

How can we get the full landing page URL (including query string parameters) through the APIs?

OmarTrejoPM
Shopify Partner
1 0 4

We'd like to pull the full URL on which users land (including query string parameters). We've tried doing so through `customerVisit.landingPage` in the Admin GraphQL API [1] and the Reports API [2], but we were only able to retrieve the landing page URL without the query string parameters. How can we get the full URL including query string parameters through the APIs? We see the data being available in the sales report in the GUI.

 

Thanks

 

[1] https://shopify.dev/api/admin-graphql

[2] https://shopify.dev/api/admin-rest/2022-01/resources/report

Reply 1 (1)

AmyBranvibe
Visitor
1 0 1

I think this is a Bug of Shopify, landing_site, referring_site ( the 'REST Admin API version of customerVisit.landingPage and customerVisit.referrerUrl) contains query parameters, but if you're using Grapqlql Admin API, query strings all gone for the same order.