I have an online store built using Rails and Spree. While I am using the Google Analytics e-commerce tracker (analytics.js) for tracking conversions and other data, I would like to know whether a given conversion has come from either a paid ad, or an organic search, social networks, referrals, whatever.
Is is possible to dynamically extract this kind of info from Google?
How could I set this up? Any useful pointers on this?