Using Category Custom Dimensions in Google Analytics Reporting

As part of standard data collected by Google Analytics, Rayos also passes two custom dimensions to your Google Universal Analytics (UA) property.

    1. Post Primary Category – This is the category assigned to articles with the Primary Flag selected. It can be used in custom reports and is also useful as a secondary dimension in all of the built UA reporting.
    2. Post All Categories – A comma separated list of all of the categories that my be assigned to an article for organizational purposes.  It also includes the category designated as the Primary Category. This can be used to filter traffic by any combination of categories.

Using Post Primary Category to create a report on a specific category in UA standard Reporting

To utilize Primary Category in a Google Analytics report, follow these steps:

  1. In your Google Analytics account, on the left side menu, go to Behavior > Site ContentAll Pages
  2. Click  the Secondary Dimension button at the top left of the table.
  3. Search for “Post Primary Category” and click to select.
  4. Now, click on Advanced next to the Search bar on the right.
  5. In the Advanced Search options, you can determine which primary category to report on. Choose to include “Post Primary Category” Now type to find the name of the primary category you’d like to report on then click Apply to apply the search to this report.
  6. Now the report can be saved, exported, and shared using the buttons at the top right of the page, like any other standard report in UA.

Using Post Primary Category to get a report that can be exported as an Excel or CSV file

  1. In your Google Analytics account, on the left side menu, go to Behavior > Site ContentAll Pages
  2. Click  the Secondary Dimension button at the top left of the table.
  3. Search for, find and select the Post Primary Category custom dimension. This will give you all pages in the date range you have selected and include the primary category for each in its own column.
  4. Now you’ll want to prepare the data for export. Make sure you select the appropriate date range from the top right of the report. To set the number of items to export, scroll to the bottom of the report to the paging navigation. By default it will show only the top 10 URLs. When you export the report, it will only show what is on the current page, so you will want to increase this by clicking Show Rows option to display all available rows. If you have too many rows to display (5000 max), then you will have to use a narrower date range to get all the data.
  5. Now that all of the pageview are visible in the report, you can export it via the button on the top right of the page as a CSV or Excel file.
  6. Now you have a spreadsheet that can be manipulated to sort by Primary Category and also it is useful to use a pivot table which can be used to easily summarize stats according to category.

Creating a custom report using Post Primary Category that groups traffic according to Primary Category

  Option #1 : Import an “explorer” type custom report so that you initially see how many total pageviews each primary category has of a period of time and then click into it to see the traffic for the individual pages included in that primary category.

  1. Click on this link https://analytics.google.com/analytics/web/template?uid=zq3d_p47R7esvxMjfiLiyA
  2. You will see a dialog asking you to choose the Google Analytics view that you want to import the custom report into. All views (accounts) that your google account has access to will be available in the dropdown menu.

 Option #2: Import a “table” type custom report that lays out pageview information for each page to include category so that it can be exported as an Excel file, organized and manipulated as you see fit. (For those of you who prefer working with data in spreadsheets)

  1. Click on this link https://analytics.google.com/analytics/web/template?uid=vQUomGtETS6RDt5bIA7f3Q
  2. You will see a dialog asking you to choose the Google Analytics view that you want to import the custom report into. All views (accounts) that your google account has access to will be available in the dropdown menu.