Skip to content

Analytics Templates & Instructions

Christine Thomas edited this page Sep 6, 2022 · 18 revisions

DAP templates

If you have a DAP account, you can use these links to import our onrr.gov reports (these are not direct links to the reports). Select DOI Agency Profile when prompted for a profile during the import process.

Dashboard

https://analytics.google.com/analytics/web/template?uid=D1ZqT6y5SEmpRJrSjXvrrA

Custom reports

User segment

ONRR.gov Users: https://analytics.google.com/analytics/web/template?uid=MtdwOtPATmqjkiimMyNwUQ

Requesting DAP access

DAP access request form: https://docs.google.com/forms/d/e/1FAIpQLSc002Xp2hMjH0KxzilzfKG-ei8TzHLK-uady-qQbbAZms7jNQ/viewform

Instructions for updating the analytics page

We update the analytics page monthly.

Users, session & page views

  • Data is in the ONRR.gov 1 report, Page Views tab.
  • Chart is generated using the Page Views worksheet in this spreadsheet (limited access).
  • In the excel, add in the month's: Total Page Views, Total Sessions, and Totals Users.
  • Make sure the chart in the Excel is updated to incorporate the most recent month's data.
  • Take a screenshot of the chart in the excel, save the file as ONRR_gov_Users.png, and upload it to the analytics folder in the research repo. That will update the chart on the analytics page.
  • Then update the data in the markdown table on the Analytics wiki page.

Monthly Dashboard Report

  • Data is in the Dashboard Report.
  • Apply the ONRR.gov Users Segment to the report and export it to pdf.
  • Save the file as ONRR.gov_YEAR_MONTH.pdf and upload it to the appropriate Fiscal Year folder within the analytics folder in the research repo.
  • Add a row to the markdown table.

Landing Pages

  • Data is in the ONRR.gov 2 report, Landing Pages tab.
  • Add the top 3 landing pages and the number of Sessions for the month to the markdown table.

Most Viewed Pages

  • Data is in the ONRR.gov 1 report, Page Views tab.
  • Add the top 3 pages and the number of page views for the month to the markdown table.

Referrers

  • Data is in the ONRR.gov 1 report, Referring Pages tab.
  • Add the top 3 referrers and the number of sessions for the month to the markdown table.

Devices

  • Data is in the ONRR.gov 1 report, Devices tab.
  • Add a row with the percentages for desktop, tablet, and mobile to the markdown table.

Browsers

  • Data is in the ONRR.gov 2 report, Browsers tab.
  • Add Device Category as a Secondary Dimension (the control for this is in the table header).
  • Add any browsers over 1% to the table and bold any over 10%.

Downloads

  • This one's not in a report.
  • Add the ONRR.gov Users Segment.
  • Use the left nav to go to Behavior > Events > Overview > Event Category: Download - In the top of the display table, click on Event Label.
  • Add the top three downloads to the table.

Outbound Links

  • This one's not in a report.
  • Add the ONRR.gov Users Segment.
  • Use the left nav to go to Behavior > Events > Overview > Event Category: Outbound - In the top of the display table, click on Event Action.
  • Add the top three links to the table.

Site Searches

  • Data is available from search.gov. https://search.usa.gov/login, which you have to have an account for.
  • For total searches, login to search.gov and go Analytics -> set month -> generate report.
  • To get Total Unique Searches, go to Monthly Reports and select the correct month.

Requesting unsampled reports

If you need to get more than about 3 months of data (like when you want data for the whole fiscal year), Google Analytics samples the data. You know it’s sampling when the badge by the report title is yellow. If you mouse over the badge, it will tell you what percentage it’s bringing back.

Image showing a yellow badge next to a report title with a hover dialog showing 37.78% of sessions.

If the percentage is less than 100%, you will need to request an unsampled report. Sometimes on behavior reports, the badge is yellow, but the percentage is 100%. I’m not sure why it does this, but you do not need to run an unsampled report if the percentage is 100%.

Image showing a yellow badge next to a report title with a hover dialog showing 100% of sessions.

To request an unsampled report:

  1. Make sure all of the rows are showing in the report using the drop-down in the bottom right.

Image showing the number of rows to display at the bottom of a report. Shows 5000 visible of 2011 records.

  1. Go to the Export menu in the top right and select Unsampled Report.

Image showing the Export > Unsampled Report menu.

  1. I usually leave the default settings, but you may want to rename it to make it clear which report you’re generating. On multi-tab reports, it will only export the selected tab. Click on Request Unsampled and then wait for an email. It will take a few hours to send.

Image of the dialog to request an unsampled report. Includes fields for Report name, Frequency, Report format, Notification, Meta data, Tokens required, Tokens used, and Completion estimate. Has buttons for Request Unsampled and Cancel.

You get an allotment of tokens to use, so it’s possible to run out, especially when generating all the reports at the end of the fiscal year. If you run out for a day, it will usually send the report the next day.

  1. You can check on the status of your unsampled reports on the Customization > Unsampled Reports page.

Image of the Unsampled Reports page. Includes a table with columns for Title, Date Created, Status, and Creator.

Clone this wiki locally