PX Site Kit brings Google Search Console, Analytics 4 and PageSpeed Insights into the Joomla administrator, adds the verification, GA4, Tag Manager and Google Ads tags, and points out pages losing clicks and keywords close to page one.

PX Site Kit connects your Joomla site to Google. Once connected, the administrator shows Search Console, Analytics 4 and PageSpeed Insights reports, PX Site Kit adds the Google tags to your public pages, and it tells you which pages are losing clicks and which keywords are close to page one.

  • Reports: Search Console, Analytics 4 and PageSpeed Insights, from 7 days to 16 months, compared with the previous period.
  • Tags: Google site verification, GA4, Google Tag Manager and Google Ads, added to every public page without editing the template; Google Consent Mode v2 defaults.
  • Insights: content decay (pages losing clicks) and keyword opportunities (positions 8 to 20).
  • Articles: Search Console and GA4 columns in the article list, a PX Site Kit tab in the article editor and a panel on the front end for admins.
  • Scheduled tasks: PageSpeed runs and a weekly email summary.
PX Site Kit talks to Google with your own Google Cloud OAuth client. Your data goes from Google to your site only; nothing passes through thepixel.dev.

  • Joomla 5.4 or newer, Joomla 6 included (the installer stops on older versions)
  • PHP 8.1 or newer with cURL or allow_url_fopen (the site calls Google's APIs)
  • A Google account with access to the site in Search Console and, for the Analytics reports, to a GA4 property
  • A Google Cloud project (free) for the OAuth client
  • Joomla Scheduled Tasks for the scheduled PageSpeed runs and the weekly email

  1. Download pkg_sitekit_core_v1.0.0.zip from your account (Downloads → Extensions → PX Site Kit).
  2. In Joomla go to System → Install → Extensions and upload the zip.
  3. The package installs the component, the system plugin System - PX Site Kit Tags, the task plugin and six feature plugins (Search Console, Analytics 4, Tag Manager, PageSpeed Insights, Site Verification, Google Ads) and enables them all.
  4. Open Components → PX Site Kit. The dashboard shows a short setup list until Google is connected.

You do this once per site. It takes about ten minutes.

  1. Open console.cloud.google.com and create a project, for example "My site – PX Site Kit".
  2. Under APIs & Services → Library enable: Google Search Console API, Google Analytics Data API, Google Analytics Admin API, Tag Manager API, Site Verification API and PageSpeed Insights API.
  3. Under APIs & Services → OAuth consent screen choose External, fill in the app name and your email, and add yourself as a test user. Set the app to In production when you are done (see the FAQ: test apps lose access after 7 days).
  4. Under APIs & Services → Credentials click Create credentials → OAuth client ID, type Web application.
  5. In Joomla open Components → PX Site Kit → Settings, copy the Authorized redirect URI and paste it under Authorized redirect URIs in Google Cloud. It looks like https://www.example.com/administrator/index.php?option=com_sitekit&task=oauth.callback.
  6. Create the client and copy the Client ID and Client Secret.

  1. In Components → PX Site Kit → Settings paste the Client ID and Client Secret and click Save & Close. The secret is stored encrypted and shown as ******** afterwards.
  2. Click Connect with Google, sign in with the Google account that owns the site in Search Console, and allow the requested access (read-only for Search Console, Analytics and Tag Manager; Site Verification to add the site).
  3. Back in Joomla the Connection card shows the Google account. Disconnect removes the tokens from the site.
PX Site Kit settings: Google Cloud OAuth client, Consent Mode, Pro features and the connection
Settings: your OAuth client, the redirect URI, Consent Mode, the article and event options and the connection.

Components → PX Site Kit → Services has one card per Google service. Each shows Connected when Google is connected and the plugin is enabled.

ServiceWhat to set
Search ConsolePick the Search Console property of this site (domain or URL-prefix property).
Analytics 4Pick the GA4 property. Leave GA4 Measurement ID empty to fill it in from the property's web stream; with an ID set, the gtag is added to the public site.
Tag ManagerPick a container from your Tag Manager account. PX Site Kit adds the head snippet and the body noscript iframe.
PageSpeed InsightsOptional test URL (home page by default) and an optional API key, used when Google is not connected.
Google AdsYour conversion ID (AW-…); the Google Ads gtag is added to the public site.
Site VerificationClick Get META token: PX Site Kit adds the Google meta tag to the public pages. Then click Verify with Google; the status turns to Verified. The site must be public, a local site can't be verified.
If a GA4 or Tag Manager tag is already on your home page (from the template or another extension), PX Site Kit finds it and pre-fills the ID. Remove the old tag, or clear the field, so the tag is not added twice.
PX Site Kit services: Search Console, Analytics 4, Tag Manager, PageSpeed Insights, Google Ads and Site Verification
Services: one card per Google service.

The Dashboard shows the last 28 days of Search Console and Analytics, the PageSpeed scores and the two insights. Reports has the full reports:

  1. Pick a report: Search Console, Analytics 4, PageSpeed Insights, Content decay or Keyword opportunities.
  2. Pick a range: 7, 14, 28 or 90 days, 12 months or 16 months (Search Console keeps 16 months of data). Every number is compared with the period before.
  3. Optionally enter a page URL or path to see one page only.
  4. Click Load. Only that report's API is called; the result is cached for about an hour. Refresh loads it again from Google.
Search Console report in PX Site Kit: clicks, impressions, CTR, position, chart, top queries and pages
Search Console: totals with the change, the daily chart against the previous period, top queries and pages.
Analytics 4 report in PX Site Kit: sessions, users, page views, channels and devices
Analytics 4: sessions, users, page views, engagement, channels, devices, countries and top pages.
PageSpeed Insights report in PX Site Kit: mobile and desktop scores, lab and field data
PageSpeed Insights: mobile and desktop scores, lab data and Core Web Vitals from real users.

  • Content decay compares the clicks of each page in the last month with the month before and lists the pages that lost clicks, with the drop in percent. Update or extend those pages first.
  • Keyword opportunities lists search queries of the last 28 days where your average position is between 8 and 20 and the impressions are high: people see you on page one or two but rarely click. A better title, a section that answers the query or an internal link often moves them up.
Keyword opportunities in PX Site Kit: queries in positions 8 to 20 with impressions, clicks and CTR
Keyword opportunities: queries close to page one.

Turn these on in Settings (Show page metrics for admins and Article list metrics columns):

  • Content → Articles gets three columns: Search Console clicks, impressions and GA4 sessions of each article's public URL for the last 28 days.
  • The article editor gets a PX Site Kit tab with the same numbers for that article (once it is saved).
  • On the front end, users who may see the PX Site Kit dashboard get a small PX Site Kit button that opens the numbers of the current page. Visitors never see it.
PX Site Kit tab in the Joomla article editor with Search Console and Analytics numbers
The PX Site Kit tab in the article editor.


In System → Scheduled Tasks → New PX Site Kit adds two task types:

TaskWhat it does
PX Site Kit: PageSpeed InsightsRuns PageSpeed for a URL (home page by default) so the lab and field data stay fresh.
PX Site Kit: Weekly summaryEmails a summary: Search Console and Analytics totals, content decay pages and keyword opportunities. The address is set in the task or in Settings → Weekly report email (default: the site's mail address).

Run Joomla's scheduler from a server cron job or the web cron (System → Scheduled Tasks → Options), so the tasks also run on quiet days.


In Components → PX Site Kit → Options → Permissions:

  • View Dashboard: see the dashboard, reports and page numbers (for example for editors).
  • Connect Google: save the OAuth client and connect or disconnect the Google account.
  • Access Administration Interface and Configure: the usual Joomla permissions.

Joomla shows new versions under System → Update → Extensions. PX Site Kit is a paid extension, so the Update button can't download it: get the new zip from your account (Downloads → Extensions → PX Site Kit) and install it over the current version. Settings and the Google connection stay.


The connection stops working after a week

Your OAuth consent screen is still in Testing: Google ends test tokens after 7 days. Set the app to In production in Google Cloud and click Connect with Google again. For your own site you don't need Google's app review.

"redirect_uri_mismatch" when connecting

The redirect URI in Google Cloud must match the one in Settings exactly: http or https, www or not, and the folder if Joomla is in a subfolder.

Search Console shows "Gathering data" or no property

The Google account you connected must have access to the site in Search Console. New properties need two or three days before Google has data.

The numbers are a bit behind Google's own pages

Reports are cached for about an hour, and Search Console data is usually two days behind. Click Refresh to load a report again.

My tags appear twice

The template or another extension already adds GA4 or Tag Manager. Remove one of them; PX Site Kit pre-fills the IDs it finds on the home page so it can take over.