Registered Your Domain To Use Google Service API

Google has many services and you can use their API to access and send your website data. For example you can use Google Analytics, Google Calendar, and Google URL shortener with the API. Not just that, almost all Google services have their API and you can access it for free. But you need to add your domain to Google Services so your website can use Google Services.

If you haven’t added your domain you will see an error message like this:

The page you have requested cannot be displayed. Another site was requesting access to your Google Account, but sent a malformed request. Please contact the site that you were trying to use when you received this message to inform them of the error. A detailed error message follows:

The site “http://ivankristianto.com” has not been registered.

See the screenshot below:

Google-account-error

To add your domain to Google Services, follow the steps below:

  • You need to have a Google Account; register if you don’t have one.
  • Add your domain to the Service here.
  • You need to verify your domain. Under the heading “Manage Registrations”, click on the link for the domain you just added. You may need to upload an HTML file or use meta tags in your website.
  • When your domain is verified and active:
Google-Domain-Manage
  • Now it is set up; try to grant web application access to your Google Service.

WordPress plugins that try to access Google Services such as Google Analytics for WordPress and Goo.gl Shortlinks