Problem with Facebook signups tracking?
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?
Re: Problem with Facebook signups tracking?[ Edited ]
September 2016 - last edited September 2016
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', 'http://subdomain.site.com/facebooksigninreturn');
This should not trigger a new session or overwrite the previous referrer.
1. User lands on site.com using this customized URL: site.com?utm_source=Test&utm_medium=Email&utm_campaign=TestCampaign
2. User navigates to subdomain.site.com 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 facebook.com authentication page to sign on
5. After successfully authenticating/logging on, user is redirected back to subdomain.site.com, Check fro trigger in session storage and respectively set the referrer as the custom page explained above.
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here