What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Landing Site and Referring Site Fields

Landing Site and Referring Site Fields

M_J_A
Visitor
1 0 0

Hello! We are having some troubles to understand "landing_site" and "referring_site" from the REST API reference. Their descriptions on API reference seems incomplete, since they are respectively described as "The URL for the page where the buyer landed when they entered the shop." and "The website where the customer clicked a link to the shop", but it doesn't explain if it represents customer's first visit, last visit before an order is completed, or something else.
Searching some forums (https://community.shopify.com/c/shopify-apis-and-sdks/tracking-campaign-conversions-properly/m-p/674...
and  https://community.shopify.com/c/shopify-apis-and-sdks/rest-api-landing-site-field/m-p/1276579#M70817) the explanations from shopify staff seems contradictory. The first forum says that those fields reports the customer first interaction with the site and the last one says it represents customer's last visit. When comparing with GraphQL API "first visit" and "last visit" fields, sometimes "landing_site" and "referring_site" data match "first visit", sometimes match "last visit" and sometimes it doesn't match any of them. Does anyone have an answer of what those fields really represents?
Thank you

Reply 1 (1)

PaulNewton
Shopify Partner
7516 662 1577

 the customer first interaction with the site and the last one says it represents customer's last visit

Those two things are not mutually exclusive.

For forum posts tend towards viewing the latest as more accurate.

It would be nice if there was a clear description of the logic, or graphic of the flow of how/when these different things change as the internet is not linear.

 

Also https://community.shopify.com/c/shopify-apis-and-sdks/rest-api-landing-site-field/m-p/1282964 

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org