Referring site and Landing Page

Stuart_Whitman
Excursionist
292 0 10
Just been reading the Wiki and found out that by adding the following email variables you can get the referring site and landing page. So I've just added these onto the bottom of my New Order Notification template.

Referring Site
--------------
{{ referring_site }}

Landing Page
------------
{{ landing_site }}
Might also be able to tie this in with what "Matt Cutts":http://twitter.com/mattcutts pointed out on Blogstorm http://bit.ly/3CCRGg regarding the new Google referrer string.
Stuart Whitman http://stuartwhitman.co.uk + http://wiki.shopify.com/Stuart_Whitman + http://twitter.com/stuartwhitman + http://hookedonshopify.com
0 Likes
Caroline_Schnap
Shopify Staff
Shopify Staff
5710 1 350

Thanks Stuart, that’s great! :-)

Wiki link here: http://wiki.shopify.com/Order

{{ referring_site }}

Contains the url of the referrer that brought the customer to your store

Example: http://www.google.com/?s=great+products

{{ landing_site }}

This is the first page that the customer saw when he/she reached the store.

Example: /products/great-product?ref=my-tracking-token

{{ landing_site_ref }}

Looks at the landing site and extracts a reference parameter from it. Reference parameters are:

  • ref
  • source
  • r

Example:

order.landing_site was /products/great-product?ref=my-tracking-token

order.landing_site_ref will be my-tracking-token

0 Likes
rawsterne
Shopify Expert
172 0 4
Well spotted Stuart. Hadn't seen these before, thanks :)
John --- http://experts.shopify.com/patternhead --- www.rawsterne.co.uk --- http://twitter.com/patternhead --- A few Shopify sites that I've worked on... http://oreedesign.com/ ::: www.carstache.com ::: www.waltzingmousestamps.com ::: http://shoprustyknuckles.com ::: www.papermash.co.uk ::: http://shop.mulberryroad.com
0 Likes
Caroline_Schnap
Shopify Staff
Shopify Staff
5710 1 350

Rawsterne, Tobi added these on March 4th. That’s why we hadn’t noticed.

0 Likes
tobi
Shopify Staff
Shopify Staff
2002 0 52

I added these for a customer who is heavily advertising through affiliate networks like CJ and Airmiles. The reason is that at the end of the checkout he has to include a little 1px transparent gif with the value of the order if a user came with a certain ref such as ?ref=cj .

We store those will all orders, i’ll soon enable the 3 values you discovered for the API. This should allow people to make nice analytical tools with the API.

Tobias Lütke - Shopify CEO // http://twitter.com/tobi
0 Likes
ravisingh
New Member
6 0 0

Hi All,

 

Can anyone please look into this contradicting post and suggest the reason and clarify maybe.

https://community.shopify.com/c/Shopify-APIs-SDKs/referring-site-value-is-not-working/m-p/331798/thr...

 

Thanks and regards

0 Likes