Google Console
The Google Console plugin brings Search Console, Analytics (GA4) and AdSense into a single admin dashboard, and injects your GA4 / Tag Manager / AdSense snippets on the frontend — all through one Google connection.
What it does
- Search Console — clicks, impressions, CTR, position; top queries & pages;
URL Inspection (index status & errors); submit a URL for indexing.
- Analytics (GA4) — users, sessions, page views, channels.
- AdSense — earnings (today / yesterday / this month / 7 & 30 days).
- Snippet injection — GA4 (
G-…), Tag Manager (GTM-…), AdSense
(ca-pub-…) in the page <head>. Logged-in admins are excluded by default.
Setup (one-time)
- Activate Google Console under Admin → Plugins.
- In Google Cloud Console (console.cloud.google.com) create a project and
enable these APIs (APIs & Services → Library): - Google Search Console API - Web Search Indexing API - Google Analytics Data API - AdSense Management API
- Configure the OAuth consent screen (External). Under **Audience → Test
users add the Gmail address you use in Google Cloud** (this fixes the Error 403: access_denied screen).
- Create an OAuth client ID (Web application) and add this **Authorized
redirect URI**: https://YOURSITE/admin/plugins/jek-google/oauth-callback.php
- In Admin → Google Console → Settings, paste the Client ID + Secret,
click Connect, then pick your Search Console site, GA4 property and AdSense account.
Notes
- All tokens are stored encrypted; API responses are cached 15–60 min to
respect quotas.
- The Diagnostics card shows a ✓/✗ per API so you can see exactly what is
connected.
- Snippet injection works without OAuth — just tick the box and paste your IDs.