惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
S
SegmentFault 最新的问题
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
DataBreaches.Net
F
Fortinet All Blogs
TaoSecurity Blog
TaoSecurity Blog
D
Docker
C
Cybersecurity and Infrastructure Security Agency CISA
K
Kaspersky official blog
宝玉的分享
宝玉的分享
腾讯CDC
Google Online Security Blog
Google Online Security Blog
Recorded Future
Recorded Future
T
The Exploit Database - CXSecurity.com
T
The Blog of Author Tim Ferriss
V
V2EX
S
Securelist
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
C
CERT Recently Published Vulnerability Notes
A
Arctic Wolf
Scott Helme
Scott Helme
L
LINUX DO - 热门话题
Y
Y Combinator Blog
P
Proofpoint News Feed
T
Tor Project blog
AWS News Blog
AWS News Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
The Last Watchdog
The Last Watchdog
博客园 - 聂微东
T
Threat Research - Cisco Blogs
B
Blog
Attack and Defense Labs
Attack and Defense Labs
L
Lohrmann on Cybersecurity
C
CXSECURITY Database RSS Feed - CXSecurity.com
阮一峰的网络日志
阮一峰的网络日志
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
N
News and Events Feed by Topic
博客园 - 司徒正美
H
Help Net Security
C
Cisco Blogs
C
Check Point Blog
S
Secure Thoughts

How to Guides Archives - GTmetrix

How to Connect the GTmetrix MCP With Claude - GTmetrix How to Connect the GTmetrix MCP With Codex - GTmetrix How to Connect the GTmetrix MCP With GitHub Copilot CLI - GTmetrix How to Connect the GTmetrix MCP With ChatGPT - GTmetrix How to Connect the GTmetrix MCP With Cursor - GTmetrix Introducing GTmetrix MCP: What It Is, How It Works, and Why It Matters - GTmetrix Image Optimization With Imagify WordPress Optimization Using WP Rocket WordPress Optimization Guide How to properly size images How to avoid multiple page redirects
Using GTmetrix History Exports in Google Sheets
Ian · 2024-11-19 · via How to Guides Archives - GTmetrix

We’ll show you how to create simple KPI dashboards using Google Sheets and our export history CSV feature.


Overview

If you’re monitoring multiple pages, you can make use of the generated GTmetrix data in more ways than just in the GTmetrix web application.

View GTmetrix + Google Sheets Example
 

Create your own KPI Dashboard with Google Sheets and GTmetrix History exports.


 

We’ll show you how you can import this data using =IMPORTDATA("linktocsv.csv") to do a simple KPI dashboard, with an example for you to customize.

With our history export “Link to CSV” feature, you can get a direct link to performance history data and import it to Google Sheets (or any other supporting tool) and have it dynamically updated with the latest report data.
 

With our Link to CSV file feature, you’ll get a single URL to the CSV file containing all selected pages and desired metrics.


 

Setting up the Import

It’s simple to get your GTmetrix Report History imported into a sheet. Here’s how to get started:
 

1) Ensure you have a GTmetrix API Key generated

To ensure your link to CSV is accessible, you’ll need to generate an API key.

Generate your API key in your Account page.

Visit your Account page and generate one if you haven’t already done so.

2) Export GTmetrix Report History for desired reports

Choose the GTmetrix Report you wish to export history for. You can do this in multiple ways:

  • Single Report
    • View a single GTmetrix Report and visit the History Tab
    • Click Export History
    • Select “Link to CSV file” as the format
    • Copy the link
       
  • Bulk Reports
    • On the Dashboard (or Bulk Status Completed page), select reports you wish to export
    • Click on the Bulk Actions dropdown, then “Export Reports”
    • Select Collection or Aggregate depending on your needs
    • Select “Link to CSV file” as the format
    • Copy the link(s)

 
More on how to bulk export history data in our detailed article here.
 
 
3) Create a spreadsheet and import data

In Google Sheets, create a new sheet and in one of the cells, type the formula for importing data:

=IMPORTDATA("linktocsv.csv")
 

Use =IMPORTDATA() to dynamically import GTmetrix history data into your Google Sheet


 

where linktocsv.csv is the GTmetrix link to the CSV file obtained from the Bulk Export History widget.

Allow access when prompted to:
 

Allow Google Sheets to access data from external parties


 

That’s it! Your data should now be imported and updating dynamically:

Your GTmetrix Report history data is now imported and updating dynamically


 

From here, you can use any spreadsheet formula function you wish on the GTmetrix data provided, create graphs and charts relevant to you, correlate performance with other data you may have on your website (Analytics, sales, etc.) – it’s up to you!


Important Notes

There are a few things to note and adjustments needed to get data to display correctly.
 
1) Take note of units
Units are displayed in their column headings, but remember that:

  • Grades and Scores are in percentages
  • Timings are in milliseconds (ms)
  • Page Sizes are in bytes

 
2) Adjust format to display dates properly

Google Sheets will attempt to display dates as some odd number value instead of a formatted date.
 

Change the cell format for the Date column to display dates properly


 

You can change the format of the Dates column to ensure dates are displayed correctly by selecting the column, clicking on Format -> Number -> Your preferred date format.


Example Google Sheet

We created a simple KPI Dashboard using Google Sheets and some popular domains:

View GTmetrix + Google Sheets Example

Feel free to duplicate this sheet and add your own data, charts and visualizations!
 


Are you using our history CSV in an interesting way?

Let us know! We have users integrating their history CSV file with Google Sheets/Excel graphing, internal tracking and BI tools, Google Drive linking and more.


Get more history visualization and longer data retention

Basic GTmetrix Splash

Keep track of your performance history and track trends over time.

Get more history visualization and longer data retention

Basic GTmetrix Splash

Keep track of your performance history and track trends over time.

Sign up for a Basic GTmetrix account for more historical tracking – It’s FREE!


Get Started for FREE

Upgrade to GTmetrix PRO and get to more history visualization and longer report retention.


Upgrade to GTmetrix PRO today