How does shopify know the source of the traffic

In the analytic secition, you can see the traffic source as per screenshot below. May i know where shopify get the data? do we need to add something in the url? or something else? thanks.

1 Like