Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I generated the following Google Analytics tracking URL to use in a Facebook ad:


I know the ad is being clicked (Facebook ad manager data) but the referred traffic is not appearing in my site's Google Analytics data. I think it's because Facebook is doing some weird redirect URL modifying.

Any ideas?

share|improve this question
What do you think Facebook did with the URL? Did you check your own server logs to see what happened with these visitors? –  Michael Hampton Oct 16 '13 at 2:36
add comment

migrated from serverfault.com Oct 16 '13 at 2:36

This question came from our site for professional system and network administrators.

1 Answer

Facebook does support using Google Analytics for tracking ads. They publish a free guide about using Google Analytics to track Facebook ads (in PDF format)

Their guide suggests that you use the Google Analytics URL builder with the following information:

  • Website URL: Enter the URL of the web page that you’re going to create an ad for.
  • Campaign Source: facebook
  • Campaign Medium: cpc, cpm, ocpm
  • Campaign Term: Type a descriptive term for your target audience
  • Campaign Content: Type the name of the individual ad here.
  • Campaign Name: Type the name of the Facebook ad campaign here

Then you should test your URL by coping it into your browser’s window. It will take you to your landing page. Go to "Google Analytics" -> "Traffic Sources" -> "Sources" -> "Campaign". You should see your click identified with your chosen campaign name.

Given that this is supported by Facebook, it seems unlikely that they are mangling the URLs as you suggest.

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.