Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accurately reporting referrer from payments made with PayPal in Google Analytics

In our Google Analytics ecommerce PayPal is getting credit as the referrer. I've found many articles outlining use on the utmnooveride to ensure PayPal transactions pass the data so that the original referrer gets credit.

We use PayPal to process our credit cards as well as allow people to pay with their PayPal account. When a visitor pays with credit card they never leave our site, so we are only seeing this inaccuracy when a user leaves our site to pay with their PayPal account.

More accurately we are using PayPal express checkout and using NVP (name value pair) API. https://developer.paypal.com/docs/classic/api/NVPAPIOverview/

We've implemented the suggestions and code changes we have found but PayPal is still getting credit. We've even talked with PayPal and Google techs and aren't getting any thing more from them than what we are finding online.

Is anyone else encountering this issue, have you found a solution or have any suggestions? Your help is much appreciated.

-- Solution Update --

Moved to the answers.

like image 471
Cory Avatar asked Jan 07 '14 15:01

Cory


People also ask

How do I track PayPal transactions in Google Analytics?

To confirm PayPal orders in Google Analytics, go to Conversions > Ecommerce > Sales Performance and search for the “Transaction ID(s)” from PayPal. To confirm the PayPal orders in Google Analytics, go to Conversions > Ecommerce > Sales Performance.

What is PayPal referral on Google Analytics?

Essentially, Google Analytics tracks the last website visited before the conversion as the referral source for that conversion. Hence, it attributes PayPal as the referral source for the transaction. But, in reality, the referral source is where the customer found your website or product link, not PayPal.

How Google Analytics determine referrer?

A referral in Google Analytics occurs when one website refers to your website, and the user clicks through to wind up on your website. This can happen through a URL, media embed or another website mention. Referral traffic in Google Analytics is just one of three types of traffic.

How do I add a Payment method to Google Analytics?

Updating billing information already set up and then under 'Billing', select Settings. Select Payment methods from the left menu. Select Add payment method.


2 Answers

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.
like image 199
Cory Avatar answered Dec 25 '22 08:12

Cory


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.

like image 27
Axel Avatar answered Dec 25 '22 09:12

Axel