Delivered with the MailBeez framework, the Google-Analytics-O-Pie is a powerful widget that provides you with a visual report in the form of a pie chart of all the MailBeez activity data that Google Analytics tracks for you, such as site visits resulting from MailBeez email campaigns, revenue earned with MailBeez, and a breakdown of that revenue by module so that you can see which modules are working hardest for you!
You must have a Google Analytics account set up and have it activated & configured in MailBeez for this widget to function.
Why does the Google Analytics data differ from MailBeez Analytics data?
Google Analytics can only track orders made after clicking a direct link in a MailBeez generated email, so for example, if a customer receives a MailBeez coupon email on his mobile device, but then later places his order using his desktop computer by simply typing in the discount code from the email, the Google Analytics connection to the MailBeez Email is lost.
Conversely, any orders made using MailBeez generated coupons will be tracked by MailBeez Analytics whether the customer clicks the link in the email or manually enters the coupon code from the email during checkout.
Why do I have such few clicks recorded in Google Analytics?
Some stores do not have Google Analytics tracking on their store-front. When your MailBeez emails contain a link to the store-front, these visits, (and the resulting purchases), won’t be recorded by Google Analytics.
Due to changes Google has made to the Google Analytics API, the way the MailBeez Google Analytics Dashboard Widget works has changed. There is a new process that must be followed in order for your widget to access & display your Google Analytics data.
We have created a step-by-step tutorial for you to make it easier.
Make sure you use the “old” Layout of Google Analytics
Navigate to: https://code.google.com/apis/console/ and sign in to your Google account
If this is your first time here, a “Create Project” button will appear. Click it:
Otherwise, you will see that the Google API Services Console is displayed. Select “Services” from the menu at left and check Analytics API from the API list:
Select “API Access” from the menu at left to display the Google API Access Console:
Click on the “Create an OAuth 2.0 client ID” button to bring up the “Create Client ID” popup window:
In the “Product name” field, enter “MailBeez Application” (without the quotes)
Check the “Google Account” field. It should be pre-populated with your gmail address
Click the “Next” button to display the next screen:
Select “Web application” (since PHP is mostly used for web applications). Use localhost or a domain if you would like to try it out
Click on “More Options”
Change the value for Authorized Redirect URIs – remove “https://www.example.com/oauth2callback” and replace it with the URL shown in your Google Analytics Dashboard Widget
Click on “Create client ID”
The API Setup is now complete and the information you need to configure your dashboard widget is visible:
Navigate to the Google Analytics Dashboard Widget on your MailBeez Dashboard:
Enter the the Client ID and the Client Secret from the Google API Console & click the “Confirm” button
Click the “Connect” button to connect your widget to your Google account:
If you’re not signed in to your Google account, you will be redirected to a Google login screen. Enter your login information to be redirected to the Google Authentication screen.
If you are already logged in to your Google account, you will be immediately redirected to the Google authentication screen:
Click the “Allow Access” button and you’ll be redirected back to your MailBeez Dashboard, where a list of your Google Account Profiles will display in the widget. Select the one you want to use:
If you prefer, you may instead configure this widget by clicking the “config” link beneath the widget, or by navigating to Configuration tab > Dashboard Configuration > Google Analytics-O-Pie
Found errors? Think you can improve this documentation? edit this page