Analytics
1.6K members online now
1.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
star_border
Reply

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?

Thanks!

 

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.
https://support.google.com/analytics/answer/2795983?hl=en&ref_topic=2790009

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.

Reference: https://groups.google.com/d/msg/google-analytics-analyticsjs/NtwQFQAZ2Oo/kh-T0c1eHCYJ

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