Accessing Google Using TF Tools
The TF Tools component allows you to connect to the Google services. Following services are supported: Search Console, Analytics, Indexing, Page Speed and Google Drive.
First, you need to create Google app.
Step 1: Google App
Visit Google Developer Console. Click Create Project to create a new project. Enter a name for your API project. Next, click the Create button to create your API project.
From the sidebar ("hamburger" menu), navigate to: API and Services > Enabled API and Services.
Step 2: Enable API
Click on Enable APIs and Services Button. Here, you have to enable several APIs (depending on the services to connect). You can use search bar to find these:
- Search Console API
- Indexing API
- Analytics Data API
- Drive API
- Sheets API
Step 3: Consent Screen
From the sidebar, visit OAuth consent screen.
- User Type: Select External and click Create.
- App name: Fill in the Application Name.
- User support email: Select the email address.
- Authorized domains: Add the domain name(s) for the sites.
- Developer contact information: Enter your email address.
After filling in the information, click on Save and Continue button. Again, click Save and Continue button for Scopes.
In the Test Users, add the email address for your Search console account. Click Save and Continue. From the summary page, click Back to Dashboard.
Step 4: Credentials
Now, from the Credentials page, click Create Credentials and then select OAuth Client ID. Select Application type as Web application.
Under the Authorized redirect URIs, add Uri in the format:
https://www.example.com/administrator/index.php?option=com_tftools&task=channel.google
Replace www.example.com with your website URL. Click on Create button.
You will see Client ID and Client Secret. Note them down. You will need to enter them while creating new channel in the next step.
Step 5: Create New Channel
From the component dashboard, navigate to the channels. Create new channel and select type "Google". After saving, you will see the Options tab.
Enter the Client ID and Client secret obtained from the previous step. Save the channel.
Step 6: Connect to Google
From the Channels page, click "View Channel" and then Connect to Google. You will be redirected to the Google for the required permissions. Grant the permissions and click Continue.
Integrations
- Improve SEO using Automation
- Google Search Console Integration
- Google Analytics Integration
- Google Drive Integration