Content publishers have an important role on the web: They make information available to the world so that people know what is happening at any given time and place. They can take the form of large news portals, personal blogs, or anything in between, and they have different ways to monetize content—advertising, subscriptions, premium content, and others. Among the publishers that monetize their content through advertising, both small and big, there is a large number who use AdSense, a solution offered by Google to serve text, image, video, or other advertisements that are targeted to a site's content and its audience.
Because AdSense is so important to so many users, the Google Analytics team developed an integration between the tools that provide a wealth of information about the performance of ads served in a website, along with other behavioral data. This integration helps publishers understand the behavior of their readers by identifying which traffic sources, geographies, pages, and other segments bring the highest-value users to their websites. It empowers publishers to understand who clicks (or not) on an ad, enabling a data-driven approach to optimizing content for AdSense revenue.
In this chapter, you learn how to link AdSense accounts to Google Analytics properties and how to analyze the reports that come with the integration. You also learn tips for advanced analyses of AdSense performance using Google Analytics standard features.
In this section, you learn about the process of linking, unlinking, and managing access to AdSense data within Google Analytics. Next, you learn what can potentially cause data discrepancies between the stats returned from each tool.
Before you link the accounts, it is important to understand what will and what will not be seen in your Google Analytics reports. Google Analytics shows clicks, impressions, and earnings for ad units shown through AdSense for content. However, it will not show link units, search boxes, mobile ads, or any other AdSense product.
When it comes to user access, the integration can be accomplished only if you have Edit rights on Google Analytics and are an Administrator on AdSense. Here are links to the relevant Help Center articles for information on how to grant the right access levels:
In order to link your Google Analytics and AdSense, log in to your Google Analytics account and click Admin at the top of your screen. Then, choose the property you want to link to your AdSense account and look for a menu item named AdSense Linking or All Products.
NOTE The linking happens at the property level, but as you will learn, you can still make the data available on a view basis.
If you have no AdSense accounts linked, you will see a table similar to Figure 3-1.
Click on the + New AdSense Link button (top-left of the table in Figure 3-1) in order to start the linking process. You will see a list of all the AdSense accounts you are the Administrator for. Check which AdSense Publisher ID you would like to link to and then click on the radio button to choose which AdSense property from that account you want to link to. In Figure 3-2, you can see a Google Analytics user with access to only one publisher ID (pub-5054206726270162) and one AdSense product (AdSense for Content).
After you choose the AdSense account and property to be linked to, you will be asked which views should include this data (see Figure 3-3). This is an important step, as in some companies not every person who has access to Google Analytics data should have access to AdSense data. Either some employees should not have access to revenue data (but still have access to behavior data) or the company works with service providers who should not have access to this data.
In cases where access to AdSense is not open to every Google Analytics user, I recommend that you create a separate Google Analytics view (see the guide at http://goo.gl/MSVGW6) where you have all the necessary settings discussed in Chapter 1, “Implementation Best Practices,” excluding the AdSense data. This will help you manage who has access to your AdSense revenue data.
Once you choose which views will report on AdSense data, click on Enable Link and you are done! Figure 3-4 shows the summary page when you finish the linking process.
If you have multiple AdSense accounts, you can link all of them to one Google Analytics property; in this case, you would see a sum of the revenue brought by all accounts. For example, if one AdSense account brought $2 in a specific page and another brought $1 to the same page, you would see $3 revenue originating from that page reported on Google Analytics, but you wouldn't be able to determine from which AdSense account the revenue was generated in the Google Analytics interface. For that you need to check your AdSense reports at www.google.com/adsense.
If you have multiple Google Analytics properties implemented in one website, you can also link all of them to one AdSense account. In this case you would see the data attributed across all Google Analytics properties as reported on AdSense. For example, if you have two Google Analytics properties implemented in a specific page that generated $2 of revenue in a specific time range, you would see $2 attributed to it in both Google Analytics property reports.
It is also important to note that once you link the accounts, you will still be able to access each product separately and provide access to data only to the people that need it. For example, if you want people to have access to Google Analytics only, you can still do that (check Step 4) or you can provide access only to AdSense through its interface as well.
In order to manage or unlink AdSense from Google Analytics, follow the steps described in Step 2 to reach the Product Linking section. You will reach a page similar to Figure 3-5.
When you click on the AdSense Publisher ID, you will reach a page similar to Figure 3-4. From there, you can edit your link configuration both by choosing a different Publisher ID linked to your user or by changing which views have access to your AdSense data.
In addition, if you want to delete the link between the accounts, you will see a link on this page to Delete Link. Click the link and you will receive a popup to confirm if you would like to unlink the accounts. Note that if you decide to delete the link, Google Analytics will stop receiving data from AdSense, but data up until the time you unlink the property will still be available. It is not possible to delete data that was already collected.
If you performed the process just described, you should have your reports populated with accurate AdSense data. However, sometimes stats might differ between the two platforms. This list describes the top five reasons for discrepancies in the data. Please take a few minutes to go over it to minimize the chances that your data will be inaccurate.
In this section, you learn about the default reports you get as a result of the integration; you also learn advanced techniques to use standard Google Analytics features to analyze your AdSense performance. But before diving into the reports, let's look at the metrics that will be available on Google Analytics after the integration:
In the following sections, you learn about the reports and analyses that can be performed using the integration between Google Analytics and AdSense, starting from the default AdSense reports and proceeding to more advanced ways to analyze data using Google Analytics features.
This report provides a bird's-eye view, including all AdSense metrics available in Google Analytics. You can reach the report by visiting http://goo.gl/dEZa22 or on Google Analytics's left sidebar under the Behavior section. By default, the line chart displays the total daily AdSense revenue for your site, but you can graph any two metrics by choosing them on the top-left drop-down above the graph.
In addition, the overview report can be segmented using the Segment Builder, which is an effective way to compare two to four different groups of users (learn more about it at http://goo.gl/Us97e8). In Figure 3-6, you can see such a comparison, where each line represents a different age group—18–34, 35–54, and 55+. As you can see, it is possible to understand the trends for each segment at a glimpse.
If you want to perform the same analysis, you can import those three segments into your Google Analytics account by following these links:
NOTE In order to receive demographic data in your account, you might need to change your settings. Here is an article explaining how: http://goo.gl/eh7WnM.
This report provides information about the pages that contributed most to AdSense revenue. It will show each of the pages on the website and how well they performed in terms of AdSense.
As you can see in Figure 3-7, for each page in the website that contains an AdSense unit, you can analyze the following metrics: AdSense revenue, AdSense ads clicked, AdSense CTR, AdSense eCPM, AdSense impressions, and AdSense page impressions. If you want to have all AdSense metrics in one single table, you can import such a custom report by following this link: http://goo.gl/rHneN6. This might be useful if you are interested in downloading or emailing your AdSense report.
Note that in the top-left corner of the table in Figure 3-7, you will find a drop-down where you can choose a secondary dimension. This will allow you to add an extra dimension that can be used to segment the primary dimension shown in the table.
So, for example, if you are interested in seeing, for each page, if there is a difference in performance based on gender, you would choose Gender as the secondary dimension. Figure 3-8 shows how the resulting table would look for such an analysis. This example uncovers that while female sessions result in less revenue for this specific article, this happens because the female audience is smaller. Females actually have both a higher CTR and a higher eCPM.
This report provides an interesting view of which page performed best, and it can be used to optimize website content. For example, if you find that posts about celebrities generate more revenue than posts about football, you might consider writing more about celebrities (if your main objective is making money through AdSense).
However, using Content Grouping is a more scalable approach to optimize AdSense placements and content categories to generate more revenue. Content Grouping is a Google Analytics feature that lets you group content into a logical structure that reflects your business needs. Once you define Content Groupings, you will be able to compare aggregated metrics by group name. Most websites work with templates and each template may have different AdSense placements. This means that an important analysis would be to compare performance by template (or by category) rather than by page.
In order to analyze template performance, you need to create a Content Grouping for it. There are three ways to do so:
This example uses the third option, but you can learn more about the other options at http://goo.gl/yXMscZ. Suppose your website has the following page templates:
In this case, click on Admin on the top of the Google Analytics reporting interface and search for Content Grouping below the view you want to create the group for. Click on it and then click on + New Content Grouping, and name it in a way that will make sense when analyzing your data. Figure 3-9 shows the configuration for this example.
After creating the Content Grouping based on your website structure (such as content type, content category, content authors, and so on), you will be able to choose them in many reports. However, it might be a better approach to create a custom report, where you can choose the metrics and dimensions you want to analyze alongside your AdSense performance. An example of how to configure such a custom report is shown in Figure 3-10. To reach the configuration page, visit http://goo.gl/q4dxOn and click on + New Custom Report (note that you can return to the previous URL in the future to find all your custom reports).
The configuration shown in Figure 3-10 will create a custom report where the primary dimension is the Content Grouping defined in Figure 3-9 (named Content Type). In addition, by clicking on a group you can drill down to the specific pages inside that group and see how they performed for the same metrics.
Figure 3-11 shows the final table, where you see the main AdSense metrics per Content Type (the Content Group defined in Figure 3-9). This table serves as a bird's eye view to how content performs on the website when it comes to AdSense (you might also want to add metrics to broaden the scope of the table).
In Figure 3-11 you can see, for example, that while the Analytics section has higher revenue, this is a consequence of a significantly higher number of impressions. When you analyze the table further, you see that the Videos section has the greatest potential, with a higher CTR (more than 50%) and AdSense eCPM. Based on these metrics, you can understand which templates or types of content are the most effective.
This report provides information about the performance of referral traffic that brought users to the website when it comes to AdSense revenue (direct link: http://goo.gl/xkMPbo). This information is extremely valuable; however, I suggest using a different report, which is part of the standard reports and provides more in-depth information about acquisition performance. Visit the All Traffic report at http://goo.gl/otYhAr and click on AdSense in the Metric group selector, as shown in Figure 3-12.
From this report, you can analyze the sources, mediums, campaigns, or any other dimension on Google Analytics (such as browser, country, landing pages, and so on) that are driving revenue on AdSense; this can be done through the Primary Dimension selector. Here is an example of one interesting way to analyze this data.
Figure 3-13 shows an interesting visualization to analyze AdSense performance by GEO location (the letters A, B, and C show the steps explained previously). You can see, for example, that in the United States returning visitors are more likely to click through than new visitors in the same country. You can also see that while the United States has a higher overall revenue, Australia's new visitors might be a good opportunity, with a CTR 83% higher than the website average.
Dashboards are a comfortable and sometimes effective way to monitor the performance of a website. A good dashboard aggregates all the necessary information in one place for quick access. And since Google Analytics offers the capability to create and share dashboards, I created the one in Figure 3-14 to help you monitor your AdSense performance.
The dashboard in Figure 3-14 can be used to measure your most profitable channels, pages, and demographics when it comes to AdSense revenue. You can add the dashboard to your Google Analytics account by following http://goo.gl/c031f8 (make sure you are signed in to your Google Analytics account before clicking).
Each column of the dashboard in Figure 3-14 has a theme. The first column shows overall performance metrics over time (widgets 1–4); the second focuses on demographics (widgets 5–7); and the third shows important information on behavior and acquisition (widgets 8–10). You will learn more about each widget in the next sections.
Widgets 1–4 are visualized in the first column of Figure 3-14 using line charts; this data visualization type is most effective when visualizing trends and small changes in data, which makes sense when looking at performance trends over time. Following is an explanation of each of the widgets:
Widgets 5–7 are visualized in the second column of Figure 3-14 using bar charts; this data visualization type is most effective when showing comparisons among categories, which makes it a good option to visualize the differences between segments of users. Following is an explanation of each of the widgets:
NOTE Widgets 5–7 depend on having demographics enabled for your account. Learn more about it at http://goo.gl/eXGbmX.
Widgets 8–10 are visualized in the third column of Figure 3-14 using tables, the most effective way to present detailed data on dimensions and metrics; tables make a good option to visualize acquisition channels and content consumption. Following is an explanation of each of the widgets:
NOTE To download the dashboard, visit http://goo.gl/c031f8.
In this chapter you learned about the integration between Google Analytics and AdSense. This integration is very helpful as it enables publishers to use advanced Google Analytics features in order to understand and optimize AdSense performance for a website.
A few recommendations:
*These metrics can be segmented using the Segment Builder on the Google Analytics interface.