Google Analytics Time Period Links

By default Google Analytics shows you the last 30 days of data when you log in. There is no built in functionality to change this default period. If you set a differet date range and bookmark the resulting page, those specific dates are hard coded in the bookmark. There is no way to bookmark a different time period such as the last year.

Once you enter your Google Analytics report ID into this page, this page will generate a variety of links into your reports for a much wider range of time periods than just the last 30 days that is available by default.

You can find your report ID by logging into your Google Analytics, viewing your site's stats, and examining the URL.

Google Analytics report ID:
First date with data (Optional):
Analytics page: (from a Google Analytics URL, default is visitors overview):

The links on this page are created using client side JavaScript. Your Google Analytics report ID is not even sent to the server. When you bookmark this page, the report ID is persisted as a hash parameter in the bookmark itself.

This makes easy to copy this page locally if you wish to tweak it. For example you may wish to change the specific set of date ranges available to suit your tastes. Or you could change the links to point to a different report rather than the visitors overview report.

More converters, calculators, and other JavaScript goodies (site index)

Copyright Stephen Ostermiller 2013-2021