Create the Google Pagespeed API Key

An extended version of the following instructions as well as other documentation is included in the “documentation” folder of the Goole Pagespeed Insights plugin.

Google Pagespeed Insights requires a Google API Key. Keys are free and can be obtained from Google. In order to get a key, you will need a Google account such as a GMail account. If you do not already have a Google account you can create one here: https://accounts.google.com/SignUp.

  1. Navigate to https://code.google.com/apis/console
  2. Login with your Google Account (Create a Google account if you do not have one)
  3. Click the “Create Project…” button
  4. You should now be looking at the “Services” page, if you are not, click “Services” from the menu on the left.
  5. Scroll down the Services page until you find “PageSpeed Insights API”. Click the Switch to turn it on. You must agree to Google’s Terms and Conditions to continue.
  6. After enabling the API, navigate to the “API Access” page from the left menu. Your API Key can be found under “Simple API Access.” Copy this key to your clipboard.
  7. Paste this API Key into the Options page of Google Pagespeed Insights for WordPress