Overview
Use the Google Analytics Widget to integrate tracking with your campaign. Unlike most other widgets, this widget is invisible and will not change the appearance of your campaign. As a result, you cannot add a background image.
However, you can use some visibility settings to determine when tracking takes place.
Creating a Google Analytics Account
If you don’t have a Google Analytics account, you can create one for free, right here: http://www.google.com/analytics. In the Account Name field, you may want to enter your business name, or if you are a professional Facebook Page manager, something like Client Facebook Pages.
Google lets you have multiple Google Analytics accounts, so you’ll need to decide how many accounts to create. If you are a designer creating campaigns for your clients, you may want to create a different account for each client's campaigns. If you are a small business owner, you can use the account you're already using to track your website.
Setup
Google Analytics UA Code
Each Google Analytics property has its own unique UA code. It’s called a UA code because the code starts with the letters "UA." Copy and paste the code into the widget’s Google Analytics UA Code field.
If you are publishing to Facebook, you should have a unique Profile ID for each Facebook Page (not tab) you want to track.
Campaign Title
Next, enter a title in the Campaign Title box. The title can be anything you wish, but the name of the app works well. The title should be unique within the Facebook Page or website you are tracking.
Tracking Referring URLs
When advertising your campaign, make sure you use the Campaign URL. This allows ShortStack to send referring page information to Google Analytics. If you advertise your app using a Facebook URL (http://www.facebook.com/…), the Google Analytics Widget will not be able to send the referrer URL to Google Analytics. For more information on Campaign URLs, see: Mobile Campaigns.