Accurately reporting referrer from payments made with PayPal in Google Analytics

倖福魔咒の 提交于 2019-12-02 18:33:35

Per request.. I am moving the answer from a followup in the question to the actual answer.

Based on some various articles on how to improve accuracy of data reporting I just happened to be messing with property settings in Analytics and came across the Referral Exclusion List. I've mostly used this to just cancel out links from other sites in our domain structure; subdoimain.foosite.com -> foosite.com, but decided to investigate adding PayPal to this and came across this support doc from Google.

After reading that article I wondered what would happen. The result = NO MORE PAYPAL referrals and referrals from the original source without having to worry about utm=nooverride=1 usage.

I have verified with a Google support specialist that the below has no negative effects on ecommerce reporting and they have submitted my case to their help team for future use. He also mentioned that this methodology actually recently added which is why there is little documentation about it.

Here is how.

  1. Make sure you are using Universal Analytics
  2. Admin -> Property Settings -> Tracking Info -> Referral Exclusion List
    • Add Referral Exclusion
  3. Insert referral domain - my case was paypal.com but you may have this issue with others - key here is to identify any domain that might be hijacking ecommerce transactions. So if you are seeing anything that has ecommerce credit that you don't think should; add it

This should solve the problem but I would suggest taking things a few steps further.

  1. Adjust your session settings. Admin -> Property Settings -> Tracking Info -> Session Settings

    • A few notes about session settings- depending on your site and how users engage I would initially adjust the session timeout so that session is longer than 30 mins. I set mine to 2 hours for testing. Then for campaign timeout I set it 1 day (much shorter time than our normal campaigns.
    • This allowed me to initially see that it was indeed eliminating PayPal from the referral source and but that my transactions in GA matched my internal reports.
    • After verification I set the session timeout to 45 mins - 15 mins longer than our site session settings and set the campaign timeout to 7 days.
  2. Make use of Google URL builder and add parameters to your URLs.

    • This is not only good practice it saves you tons of time trying to segment out your referral sources in GA. It is especially helpful if you collect acquisition source in your internal reports or logs because you can compare those to GA to ensure you are getting accurate ecomm numbers from GA.

Let me share my experience with the 'referral exclusion list' in UA:

I added paypal.com and another similar payment provider to the list.

Consequence: The traffic attributed to those referrers was reduced from that moment on - but far from beeing zero. (Let's say it was halfed.)

No idea why it is working for parts of the traffic only.

Just wanted to add my answer in case anyone comes across this same issue.

From my understanding the following no longer works with newer GA code:

utm_nooverride=1

However if you pass the _ga parameter google analytics will be able to relate the two instances before being transferred to paypal. Okay great so all you have to do is add the _ga parameter to the return URL...but how do you get it?

Unfortunately you need to grab it client side first:

ga(function(tracker) {
   var linkerParam = tracker.get('linkerParam');
});

Hope this helps someone.

Reference

https://ecommerce.shopify.com/c/ecommerce-marketing/t/tracking-true-referrals-in-google-analytics-when-using-paypal-163514

https://developers.google.com/analytics/devguides/collection/analyticsjs/cross-domain

I just wanted to add my experience. I have been having the very same problem, and as you have mentioned the solution is putting paypal.com on the Referral Exclusion List. You must be upgraded to the new Google Universal Analytics in order for to have access to it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!