It is always important for the marketers to track the source of the traffic in Google Analytics. It is a very easy thing to do if you promote with the help of the Adwords. In this case it is enough to link your Adwords and Google Analytics accounts and all the data about traffic source, impressions, clicks and costs will be automatically imported into your Google Analytics property. But it you advertise with the help of other systems like Facebook you should use utm-marks to attribute your traffic correctly.
UTM-marks are url variables that are used to keep track of the campaign and ad that has generated traffic.
There are 3 parameters that are normally used for Facebook links:
- utm_source: Identify the advertiser, site, publication, etc. that is sending traffic to your property. for facebook links you will normally use “facebook”.
- utm_medium: The advertising or marketing medium, for example: cpc, banner, email newsletter. If you create a paid ad you should use cpc or cpm, for other links you should use social.
- utm_campaign: The individual campaign name, slogan, promo code, etc. for a product.
There are also 2 additional parameters that can be used:
- utm_term: Identify paid search keywords. If you're manually tagging paid keyword campaigns, you should also use utm_term to specify the keyword.
- utm_content: Used to differentiate similar content, or links within the same ad. For example, if you have two call-to-action links within the same email message, you can use utm_content and set different values for each so you can tell which version is more effective.
So if you want to use this page in your Facebook ads http://domain.com/some-page/ when you create your ad in ads manager add your utm-marks (utm_source=facebook&utm_medium=cpc&utm_campaign=new-marketing-campaign ) into URL Parameter field.
Adding utm-marks into URL Parameter field will automatically attach url variables to the link in the add and send traffic to the following url: http://domain.com/some-page/?utm_source=facebook&utm_medium=cpc&utm_campaign=new-marketing-campaign
If you use links in any of your posts on facebook or in ads text fields it will also be a good idea to use utm-marks with link. However URL Parameter field will not be available in this case. But you can use URL Builder tool to generate your links. Here is a tool from google that allows to generate links with utm-marks: https://ga-dev-tools.appspot.com/campaign-url-builder/.
It is even a better idea t use the following spreadhseet to generate urls https://docs.google.com/spreadsheets/d/1X1majvTGwobYB93KTYZUAEpULnk79vWcS_911JGJ904/edit?usp=sharing. Just open it and make a copy for yourself. The sheet has Settings tab where you can adjust which traffic sources and medium should be available while generating the urls. Using the spreadsheet allows to keep track of all used urls and utm-marks for consistent and systematic setup. Otherwise you may get very similar but different in one letter or event in case of some letters utm-marks which will be treated by Google Analytics as different traffic sources and different medium.
Once you have your Facebook ads set with proper utm-marks it makes sense to import your Facebook ads costs into Google Analytics in order to analyze your marketing performance in monetary terms. Read more about uploading Facebook costs into Google Analytics here.