Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Facebook referral URL in Google Analytics

In my Google Analytics reports I get "facebook.com / referral" as the source. Is it possible to get the exact URL?

like image 554
Cudos Avatar asked Apr 23 '12 14:04

Cudos


People also ask

How do I find my referral URL in Google Analytics?

Select the website for which you want to check the referral URLs. Click on Acquisition, press Traffic Acquisition and scroll down to view the table. The table will show you traffic from all the mediums/sources. Narrow it down to view the referring URLs by typing "referral" in the search bar.

How do I create a referral link in Google Analytics?

1. Navigate to the URL Builder page at Google.com (see link in Resources) and review the fields that appear in the URL Builder form. This form takes the information you enter into it and constructs a link containing the information Google Analytics needs to track referrals and measure your campaign's success.

What is a referral link Google Analytics?

The referrer is the web page that sends visitors to your site using a link. In other words, it's the web page that a person was on right before they landed on your page. Referrer URLs are logged by many web analytics programs including Google Analytics.

How do I filter a referral in Google Analytics?

Set the Filter Type to Custom. Click the Select filter type drop-down menu and select Exclude. Set the Filter field to Campaign Source​ . Enter a Filter Pattern containing the domain of the referring source which you would like to exclude.


2 Answers

I don't think it's possible. as @yahelc pointed on a previous comment most traffic from facebook goes through a facebook controlled redirect on page facebook.com/l.php .So if you want to have campaigns on facebook you can use urls with campaign query parameters to keep track of it.

eg: link to

http://www.example.com/?utm_campaign=Facebook&utm_medium=social&utm_source=facebook.com

Now they will show up in GA as a separate campaign and you can tell how many visitors come from that specific link. You probably want to minify that link using bit.ly or goo.gl.

Create multiple campaigns on facebook and change the utm_campaign parameter as much as you want. You can also create different utm_content parameter to separate your marketing efforts on facebook. Keep the utm_medium and utm_source as static as on the example above.

This is how social marketing analytics measures marketing efforts on social networks. Anything that comes from facebook is not tagged you know comes from people posting links to your site other than you.

At the same time it really makes no sense to have the referral url at all. If you think about it most of the times it will be from private posts that you don't even have access to see, even if you had a url for it. That's just not the way facebook works. It doesn't have pages, it has streams and posts.

More about url tagging:

http://support.google.com/analytics/bin/answer.py?hl=en&answer=1033863

like image 198
Eduardo Avatar answered Sep 26 '22 06:09

Eduardo


The answer is yes and no. You can drill down to referral path for facebook source in the report Traffic Sources -> Sources -> Refferals by simply pressing facebook.com at the Source coloumn, just like for all other visits from the referring site.

But that would be not much of a use, because for facebook you'll always see /l.php. And that's how facebook works, it doesn't allow visitors to visit the link immedeately, instead it redirects user to the page with url facebook.com/l.php?u=<link-to-your-site.com> with a redirect or maybe with some text like "if you're sure you want to leave", so technically, the referring page would be this /l.php that GA shows.

So if you need to track the efficency of your Facebook activities - use utm tags, like @Eduardo Cereto mentioned. Here's a very nice video tutorial on link tagging for GA: http://services.google.com/analytics/breeze/en/v5/campaigntracking_adwordsintegration-v23_ia5/ (starts from p. 17, you can skip all that goes before).

Hope it helps!

like image 25
Nikolay Avatar answered Sep 23 '22 06:09

Nikolay