AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

2.6K members online now
2.6K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
Guide Me

Problem with Facebook signups tracking?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I have a problem with the tracking of users who want to register on my site with Facebook. The problem is that because they are redirected momentarily  to Facebook when they register, Analytics attribute that conversion as a referral from Social channel regardless of the campaign that was actually used to bring that user to the site.

Is there a way to stop this from happening and attribute the correct marketing channel to users who register with the Facebook button?



1 Expert replyverified_user

Re: Problem with Facebook signups tracking?

[ Edited ]
Top Contributor
# 2
Top Contributor

Hi :-)
Unfortunately facebook cannot be added to the referral exclusion list or you will lose all other referral info from them that is not generated
by the signups.


I did have a hunt around online and found the following info:

What I could get here, is as there's a new referrer, it overwrites and starts a new session.

Universal analytics still behaves a bit differently than other veteran analytics packages, even though server side.
Referrals are processed differently than in in previous versions of Google Analytics.
By default, all referrals trigger a new session in UA.

Decorate link method just visitors across domains by overwriting user id.
What you could do is, force the referrer now to be a custom page on the same domain - using
ga('set', 'referrer', '');
This should not trigger a new session or overwrite the previous referrer.
1. User lands on using this customized URL:
2. User navigates to via a "sign in" button in the header
3. User clicks "log in with facebook" button Save a trigger in a session storage variable (than cookie).
4. User is sent to authentication page to sign on
5. After successfully authenticating/logging on, user is redirected back to, Check fro trigger in session storage and respectively set the referrer as the custom page explained above.


Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here