Linux 软件免费装
Banner图

Cliredas - Client Dashboard for Google Analytics (GA4)

开发者 vzisis
更新时间 2026年11月2日 02:20
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

analytics google analytics google analytics dashboard wordpress analytics ga4

下载

1.3.0 1.0.0 1.1.0 1.2.0 1.0.1 1.5.0 1.6.0 1.7.0 1.8.0 1.9.0 1.10.0 1.4.0

详情介绍:

Cliredas adds a clean, client-friendly Google Analytics 4 (GA4) reporting dashboard directly inside the WordPress admin. Give clients, editors, marketers, and site owners the GA4 metrics they need without requiring them to navigate the full Google Analytics interface. Cliredas is designed for WordPress agencies, freelancers, and site owners who want simple Google Analytics reporting inside WordPress. Connect an existing GA4 property through Google OAuth, choose the property you want to report on, and view important website performance metrics from wp-admin. A simple GA4 dashboard inside WordPress Cliredas turns key Google Analytics 4 data into a focused WordPress dashboard. Instead of sending clients or content teams into the full GA4 interface, you can give them a simpler view of website performance directly inside WordPress. The dashboard includes: This makes Cliredas useful when users need to understand website performance without working through the full Google Analytics reporting interface. Built for client reporting Cliredas is especially useful for agencies and freelancers that manage WordPress websites for clients. Keep reporting inside the same WordPress admin area clients already use to manage their website. Use Cliredas to give clients a focused view of: Administrators can also optionally allow users with the Editor role to view the dashboard. Compare performance over time Dashboard KPI cards include previous-period percentage changes so users can quickly see whether important metrics increased or decreased. Available date ranges include: Calendar-based ranges such as This month and Last month use aligned comparison periods. The main line chart can switch between Sessions over time and Total users over time. See your top-performing pages The Top Pages report shows up to 25 pages and includes: Columns can be sorted to make it easier to identify high-traffic and high-engagement content. Top Pages sorting is accessible and persists across date-range changes and browser visits. Understand where visitors come from Cliredas includes a traffic-source breakdown that groups GA4 traffic into useful categories such as: Use this alongside the device report to get a quick picture of how visitors discover and access the website. See desktop, mobile, and tablet traffic The device breakdown summarizes traffic across: This gives clients and site owners a simple view of the devices visitors use without requiring them to build reports in Google Analytics. Export GA4 reports to CSV Export the current dashboard date range as a CSV file. The export includes the plugin's built-in report blocks so analytics data can be used for: CSV exports identify sample or fallback data when applicable and include protection against spreadsheet formula injection. Guided GA4 setup Cliredas includes a rerunnable GA4 Setup Assistant to help administrators configure and troubleshoot the Google Analytics connection. The setup flow helps with: Protected diagnostics help identify common configuration problems without exposing OAuth credentials, access tokens, refresh tokens, or raw Google API responses. Connect Google Analytics 4 with OAuth Cliredas connects to Google Analytics 4 through Google OAuth. No service account is required. To connect:
  1. Create or use Google OAuth credentials.
  2. Add the Client ID and Client Secret in Settings > Client Report.
  3. Add the Redirect URI shown by Cliredas to the Google Cloud Console.
  4. Connect Google Analytics through the OAuth consent flow.
  5. Select the GA4 property you want to display.
  6. Run the built-in diagnostics to verify token and property access.
After the connection is configured, Cliredas uses the Google Analytics APIs to retrieve reporting data. Built-in caching for faster reports Google Analytics report data is cached for 15 minutes by default. Caching helps: Administrators can use Clear Cache to force fresh data to be fetched on the next dashboard load. Optional Editor access By default, analytics configuration remains an administrative task. Administrators can optionally allow users with the WordPress Editor role to view the Client Report dashboard. This can be useful for: Key features Who is Cliredas for? WordPress agencies Give clients a simpler way to see website performance without sending them into the full GA4 reporting interface. Freelancers Keep basic client analytics reporting inside the WordPress websites you manage. Site owners Check important Google Analytics metrics without switching between WordPress and GA4 for routine reporting. Marketing and content teams Give eligible WordPress users access to traffic, content, source, device, and engagement information alongside the site they manage. Reporting dashboard, not a full analytics suite Cliredas focuses on presenting useful GA4 reporting data inside WordPress. It is designed for users who want a straightforward client-facing or site-management dashboard rather than the full set of reports, explorations, configuration tools, and analysis features available directly in Google Analytics. Cliredas connects to an existing Google Analytics 4 property to retrieve reporting data.

安装:

  1. Install Cliredas from Plugins > Add New, or upload the cliredas-analytics-dashboard folder to /wp-content/plugins/.
  2. Activate the plugin.
  3. Go to Client Report in the WordPress admin menu.
  4. Open Settings > Client Report and launch the GA4 Setup Assistant.
  5. Add your Google OAuth Client ID and Client Secret.
  6. If the site is behind a public tunnel or reverse proxy, enter the public site URL in Public OAuth base URL and save the settings.
  7. In Google Cloud Console, add the Redirect URI shown by Cliredas as an Authorized redirect URI.
  8. Click Connect Google Analytics and complete Google's OAuth consent flow.
  9. Select the GA4 property you want to use.
  10. Run the connection diagnostics to verify refresh-token health and property access.
  11. Open Client Report to view your Google Analytics dashboard.

屏幕截图:

  • Google Analytics traffic-source and device reports showing how visitors discover and access the website.
  • Client Report settings with the GA4 Setup Assistant, OAuth configuration, diagnostics, and property selection.
  • Guided GA4 Setup Assistant showing successful OAuth, token-health, and property-access diagnostics.

升级注意事项:

1.10.0 Top pages can now be filtered locally without changing totals or CSV exports. Filters persist across range changes and refreshes and reset on page reload. Clearer empty states and accessible chart data tables preserve existing reports, settings and weekly digest behavior. 1.9.0 The new weekly owner digest remains disabled after upgrade. Choose and save one recipient before enabling it. Sending depends on WP-Cron and the site mail transport; mail handoff does not confirm inbox delivery. Missed Mondays are skipped, and no stale/sample data is emailed. 1.8.0 Existing report caches are rebuilt on first use. Last-good data can remain available for up to 24 hours for the same reporting dates and connection. Background refresh requires WP-Cron execution; use Clear Cache for a new synchronous fetch on the next dashboard load. 1.7.0 OAuth secrets migrate to encrypted storage on supported hosts. Preserve your WordPress security salts when restoring databases; changed salts may require re-entering the Client Secret and reconnecting.

常见问题:

How does Top pages filtering work?

Filter Top pages searches the currently loaded first 25 rows by title or URL using trimmed, case-insensitive text. It combines with sorting and makes no Google requests. Clear filter or Escape removes the query; changing the reporting range or completing a background refresh keeps it. Reloading starts with an empty filter. KPI totals, report data, CSV contents and email digests are unchanged. Zero activity, empty results, unmatched filters, unavailable blocks, sample data and stale reports have distinct explanations. View chart data exposes exact dates, Sessions and Total users even without JavaScript; traffic-source values remain in their table. Without JavaScript, the current report remains readable but local filtering and sorting are unavailable.

Can I receive a weekly owner summary?

Yes. Under Settings > Client Report, save one recipient and explicitly enable Weekly owner digest. It is disabled by default, including after upgrades. The initial recipient defaults to the site admin email; later admin-email changes do not silently redirect an enabled digest. The unbranded plain-text email includes the four KPIs and comparisons, top five pages, device/source summaries, retrieval time, actual reporting/comparison dates, and a dashboard link. Last 7 days includes the current day, which Google may still be processing. No logo, attachments, tracking, or external email integration is added. The schedule is Monday at 08:00 in the WordPress site timezone. Late execution is allowed only during that Monday; missed Mondays are skipped without a backlog. WP-Cron needs site requests or a configured cron runner. Only complete real reports within the configured freshness window are sent. An expired report is refreshed synchronously; failed, stale, partial, mock, and obsolete reports are skipped. Settings shows the next run and the last weekly/test outcomes. A successful outcome means handoff to the configured mail transport, not confirmed inbox delivery. Uncertain interrupted mail attempts are not retried automatically. Send test email sends once to the saved recipient even with weekly delivery disabled. It does not enable or advance the weekly schedule. Save address changes first. Disable digest removes future events and invalidates work still preparing. Mail already handed to a transport cannot be recalled. The non-autoloaded cliredas_digest_settings option stores consent and recipient; cliredas_digest_state stores bounded timestamps, scheduling/lease metadata, opaque identifiers, and allow-listed outcomes. No message bodies, report payloads, recipient addresses, or raw transport errors are copied into operational history. Digest audit events share the existing 100-entry limit. Deactivation stops digest work; uninstall removes owned options and events for each site.

What does Cliredas do?

Cliredas displays key Google Analytics 4 reporting data inside the WordPress admin. It provides a simplified GA4 dashboard with traffic KPIs, trends, top pages, traffic sources, device information, previous-period comparisons, and CSV export.

Can I view Google Analytics 4 inside WordPress?

Yes. Cliredas connects an existing Google Analytics 4 property to WordPress and displays key reporting data directly in wp-admin.

Is Cliredas suitable for client reporting?

Yes. Cliredas is designed to provide a simpler, client-friendly view of GA4 data inside WordPress. It can be useful for agencies and freelancers that want clients to see important website metrics without navigating the full Google Analytics interface.

Is Cliredas useful for WordPress agencies and freelancers?

Yes. Agencies and freelancers can use Cliredas to keep basic GA4 reporting inside the WordPress websites they manage for clients. Administrators can also optionally allow WordPress Editors to view the reporting dashboard.

Does Cliredas connect to Google Analytics 4?

Yes. Use Settings > Client Report to connect GA4 through Google OAuth and select the Google Analytics property you want to display.

Do I need a Google Analytics service account?

No. Cliredas uses Google OAuth rather than requiring a Google Analytics service account.

Do I need an existing GA4 property?

Yes. Cliredas retrieves reporting data from a Google Analytics 4 property. You connect the plugin to Google through OAuth and then select an available GA4 property.

Does Cliredas install Google Analytics tracking on my website?

Cliredas is focused on reporting from an existing Google Analytics 4 property. You should already have GA4 measurement configured for the website whose analytics you want to display.

What Google Analytics metrics can I see in WordPress?

The dashboard includes:

  • Sessions.
  • Total users.
  • Pageviews.
  • Average engagement time.
  • Previous-period percentage changes.
  • Sessions or users over time.
  • Top pages.
  • Traffic sources.
  • Device categories.

Can I compare the current period with the previous period?

Yes. The main KPI cards display previous-period percentage changes. Calendar-based ranges such as This month and Last month use aligned comparison periods.

What date ranges are available?

Cliredas currently includes:

  • Last 7 days.
  • Last 30 days.
  • This month.
  • Last month.
  • Last 90 days.

Can I see which pages receive the most traffic?

Yes. The Top Pages table displays up to 25 pages and includes Sessions, Views, and Average engagement time. The table can be sorted by its report columns.

Can I see where website traffic comes from?

Yes. Cliredas includes a traffic-source report with categories such as Organic Search, Direct, Referral, Social, and Other.

Can I see mobile and desktop traffic?

Yes. The device report shows a breakdown for desktop, mobile, and tablet traffic.

Can I export GA4 data?

Yes. Cliredas can export the current dashboard range to CSV, including the plugin's built-in reporting blocks.

Can Editors see the Google Analytics dashboard?

Yes, if an administrator enables Editor access under Settings > Client Report.

How often does Cliredas fetch Google Analytics data?

Report data is fresh for 15 minutes by default. Expired reports display last-good real data for up to 24 hours from retrieval, only for the same resolved dates and connection, while one background refresh is pending. Freshness reflects retrieval time, not Google's data-processing completeness. Fresh, Refreshing, and Stale labels include the last successful refresh in your site's timezone. An open dashboard checks pending cached results every five seconds for up to three minutes, pausing while hidden. Background refresh depends on WP-Cron. If WP-Cron is disabled, configure a system cron runner or use Clear Cache for a new synchronous load. Failures retain eligible last-good data with a five-minute retry cooldown; detected permission or credential loss hides retained reports. The non-autoloaded cliredas_report_cache option retains at most 20 contexts. Expired data is never served; daily cleanup removes inactive records. Clear Cache removes fresh, retained, and legacy reports plus scheduled refreshes. Connection/access changes and deactivation invalidate report data and work; uninstall removes storage and events per site. CSV metadata includes freshness and resolved dates.

What is the GA4 Setup Assistant?

The Setup Assistant provides a guided workflow for connecting Cliredas to Google Analytics. It includes checks for public URL configuration, OAuth configuration, refresh-token health, and GA4 property access. The assistant can be run again later if you need to troubleshoot the connection.

Why does Google block my redirect URI on a local domain?

Google OAuth redirect URIs must use an acceptable public domain. For local development, use a public tunnel such as ngrok or a real public domain. When using a tunnel, enter the tunnel's public site URL in Public OAuth base URL, save the settings, and copy the generated Redirect URI into Google Cloud Console.

What if my WordPress site is behind a reverse proxy or tunnel?

Use the Public OAuth base URL setting to provide the public-facing site URL. Cliredas uses that URL when generating the OAuth Redirect URI.

Does Cliredas store Google OAuth credentials or tokens in WordPress?

Yes. OAuth credentials and tokens are stored in the WordPress options table under the cliredas_settings option. The plugin does not display the saved Client Secret back in the settings interface. Client secrets, refresh tokens, and access tokens use Sodium secretbox when available, falling back to OpenSSL AES-256-GCM. Separate field/site keys are derived from WordPress auth and secure-auth secret material. Existing plaintext values migrate automatically during an administrator's normal admin initialization. If neither authenticated-encryption backend is available, plaintext compatibility remains enabled and Settings displays a warning. Enable Sodium or OpenSSL AES-256-GCM to migrate saved plaintext values. Changing WordPress security salts or site context can make saved credentials unreadable. Restore the original secret material and site context, or re-enter the Client Secret and reconnect. Disconnect clears tokens but preserves credentials; explicit secret clearing removes all three sensitive fields. Database restores and moves require compatible secret material and site context. Encryption protects stored database values, not a compromised WordPress installation, runtime memory, or backups containing both the database and encryption material. Keys and plaintext copies are not stored alongside ciphertext. The latest connection diagnostic result is stored in user meta for the administrator who ran it. The diagnostic record contains statuses, safe messages, a timestamp, and a non-sensitive configuration fingerprint. It does not contain credentials, tokens, or raw Google API responses.

What do local diagnostics and audit history store?

Local diagnostics show credential-storage status, the available backend, access-token expiry, refresh-token presence, and the latest retained refresh outcome without making Google requests. Use Run diagnostics separately for remote health validation. The non-autoloaded cliredas_audit_log option retains the latest 100 connection, disconnect, secret-clearing, actual token-refresh, cache-clearing, CSV export, weekly digest, and digest test outcomes. It stores only allow-listed event/outcome codes, Unix timestamps, and actor IDs. It never stores URLs, report contents, recipients, credentials, tokens, or raw error messages and sends no external telemetry. Only administrators can view this history on the settings page. Uninstall removes audit storage for each site.

Where can I see release changes?

After an upgrade, administrators see a dismissible release announcement on the plugin Dashboard and Settings pages only. Fresh installations do not receive an upgrade announcement. Release notes remain available in a collapsible Settings section. Dismissal is remembered per administrator, site, and release in cliredas_dismissed_release_notices user meta. The non-autoloaded cliredas_release_state option tracks installed and announced releases. Uninstall removes both records. Dismissing release news never hides credential-recovery or connection warnings.

Does Cliredas send my analytics data to another service?

Cliredas communicates with Google APIs and your WordPress site as described in the External Services section. Administrator opt-in digest delivery and explicit test sends also pass the saved recipient and summary to the site's configured mail transport. It does not send analytics reporting data to a separate Cliredas analytics service.

更新日志:

1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0