🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
Designed2Use GA Views icon
Manutenção ativamente Testado com WP 7.1

Designed2Use GA Views

Display Google Analytics 4 pageview counts on posts and pages. Recent posts fetch fast; older posts refresh in the background.

Instalações ativas<10Novo
Downloads · 30d73▲ +35.2% vs prev. 30d
Classificação—0 comentários
Pontuação da saúde60/100Justo
Downloads de todos os tempos376Since Jun 2026
Suporte resolvido—Sem tópicos recentes
RequerWP 6.0Php 7.4+
Downloads · 7d18▼ -5.3% week over week
Nosso veredicto

Use com cautela

Designed2Use GA Views works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 60/100 on our health check.

  • Testado com as últimas WordPress (7.1)
  • Base de usuários pequenas (<10 instalações ativas)
  • Muito poucos comentários até agora

Como ele se acumula?

Lado a lado em instalações, atualizações, avaliações e suporte

Downloads diários

3710Sep 5Oct 19Dec 3
Ontem1
Média diária (1y)2
Dia de pico32Jun 26, 2026
Últimos 12 meses381

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where Designed2Use GA Views stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
analytics >100 9,379 Best analytics plugins →
GA4 >100 687 Os melhores plugins GA4 →
Google Analytics >100 4,777 Os melhores plugins do Google Analytics →
pageviews >100 494 Best pageviews plugins →
views >100 10,000 Best views plugins →

About Designed2Use GA Views

Do Readme oficial · v2.0.1

Descrição

Designed2Use GA Views shows the Google Analytics 4 pageview total for a post or page using a simple shortcode. It is built so a visitor’s page load is never held up by the slow Google API.

How it fetches counts (hybrid model)

  • A cached value is shown whenever one is fresh.
  • On a cache miss for a recent post (published within your live-fetch window), the count is fetched live with a short, fail-fast timeout over a narrow date range (the post’s publish date to today) — fast because the query window is small.
  • On a cache miss for an older post, a background job is queued and the last stored value is shown immediately. The slow, history-heavy query runs off the request path.
  • Administrators can force a live refresh of the page they are viewing with ?d2ugav_refresh=1.

Recursos

  • [d2ugav_pageview] shortcode, or automatic display appended to post content / Echo Knowledge Base header.
  • Settings page for credentials, property ID, live-fetch window, cache duration, label, metric, event name, and post types.
  • Optional per-post “legacy baseline” to add historical (e.g. Universal Analytics) views to the live GA4 count.
  • Lightweight: talks to the GA4 Data API directly over REST with a self-signed service-account token — no bundled multi-megabyte SDK.

Google Analytics is a third-party service governed by Google’s own terms; see https://policies.google.com/privacy and https://marketingplatform.google.com/about/analytics/terms/us/ .

Instalação

  1. Upload the designed2use-ga-views folder to /wp-content/plugins/, or install through the Plugins screen.
  2. Ative o plugin.
  3. In Google Cloud, create or select a project and enable the Google Analytics Data API for it (APIs & Services → Library → search “Google Analytics Data API” → Enable).
  4. Create a service account, add a JSON key, and download it.
  5. In Google Analytics, open Admin → Property access management and grant the service account’s email the Viewer role on your GA4 property.
  6. Go to Settings → GA Views, paste the service-account JSON, enter your numeric GA4 Property ID, choose your options, and save.
  7. Add [d2ugav_pageview] to a post/template, or set Automatic display to append it to post content.
  8. Optionally click Refresh counts now to queue a batch of posts for an immediate background refresh.

Advanced: keeping the key out of the database

Instead of pasting the JSON into the settings field, define one of these in wp-config.php:

define( 'D2UGAV_CREDENTIALS_JSON', '{ ...service account json... }' );
define( 'D2UGAV_CREDENTIALS_PATH', '/absolute/path/outside/webroot/key.json' );

Diagnosing unexpected counts

If a count is not what you expect, open Settings → GA Views Diagnostics, pick a post, and click Run live test. It runs a live GA4 report and shows the exact URL it matched, the request, the HTTP status, the rows returned, the computed count, and the raw GA4 response — so you can see immediately whether the issue is a URL mismatch, an event-name mismatch, a date range, or credentials.

For a logged trace of every request (including front-end renders and background refreshes), enable Debug logging on the settings page. The trace is written to your PHP error log and never includes credentials or access tokens; turn it off again when finished. The same logging can be forced on site-wide with define( 'D2UGAV_DEBUG', true ); in wp-config.php.

Log de Changes

First public release. Configure your service account and property ID under Settings → GA Views after activating.

2.0.1

  • Fixed the first screenshot caption so it no longer causes an error with the screenshot alt text.

2.0.0

  • Complete rewrite for WordPress.org distribution.
  • Removed the bundled Google SDK; the GA4 Data API is now called directly over REST.
  • Hybrid fetch model: recent posts fetched live with a narrow publish-date window and fail-fast timeout; older posts refreshed in the background via WP-Cron. Page loads never block on the slow API.
  • Added a full settings page (credentials, property ID, live-fetch window, cache duration, label, metric, event, post types, display mode).
  • Added nonce protection to the editor meta box and escaped all output.
  • Added a Diagnostics screen (Settings → GA Views Diagnostics) and an optional debug-logging setting to troubleshoot unexpected counts.
  • Clamp the GA4 query start date to the API’s minimum so posts published before GA4 existed no longer fail.
  • Prefixed all functions/classes/meta and added internationalization.

Registro de change completo em WordPress.org →

Capturas de tela

The settings page under Settings -> GA Views.
The settings page under Settings -> GA Views.
A pageview count rendered on a post.
A pageview count rendered on a post.

Para desenvolvedores

Este é o seu plugin? Mostre os números.

Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

Best Designed2Use GA Views alternatives

All analytics plugins →
Alternativas
Classificação Plugin Instalações ativas Classificação Atualizada Saúde
1 Kit do site Google – análise, console de pesquisa, adsense, velocidade Kit do site por Google O Site Kit é uma solução única para os usuários WordPress usarem tudo que Google tem a oferecer… por Google 5M+ ★★★★★★★★★★ 4.2 (1K) 3 dias atrás 92
2 MonsterInsights – Google Dashboard do Analytics para WordPress (Estatísticas do site facilitadas) MonsterInsights O melhor plugin gratuito Google Analytics para WordPress. Veja como os visitantes encontram e usam seu… por Chriscct7 2M+ ★★★★★★★★★★ 4.5 (3.2K) 3 meses atrás 89
3 WP Statistics – alternativa simples e amigável à privacidade Google Alternativa de análise Estatísticas WP Cookieless, privacy-friendly WordPress analytics. Clear graphs and visitor data kept on… by VeronaLabs 500K+ ★★★★★★★★★★ 4.1 (763) 3 dias atrás 90
4 GA Google Analytics – Conecte Google Analytics a WordPress GA Google Analytics – Conecte Google Analytics a WordPress Adds Google Analytics tracking code to your WordPress site. Supports many tracking features. Por Jeff Starr 400K+ ★★★★★★★★★★ 4.9 (159) 5 dias atrás 97
5 ExactMetrics – Google Analytics Dashboard for WordPress (Website Stats Plugin) ExactMetrics Connects Google Analytics with your WordPress site. Displays stats to help you understand… Por Syed Balkhi 200K+ ★★★★★★★★★★ 2.5 (1.5K) 3 meses atrás 80
6 Cabeça, rodapé e pós injeções Cabeça, rodapé e pós injeções O plug-in de cabeça e rodapé permite adicionar código HTML às seções de cabeça e rodapé do seu… Por Stefano Lissa 200K+ ★★★★★★★★★★ 4.9 (735) 8 meses atrás 53
7 Burst Statistics – Simple WordPress Analytics (Google Analytics Alternative) Burst Statistics Simple, lightweight WordPress analytics with privacy-friendly visitor tracking. Cookieless… by Burst Statistics B.V. 200K+ ★★★★★★★★★★ 4.9 (194) 3 dias atrás 95
8 HubSpot All-In-One Marketing – Forms, Popups, Live Chat HubSpot All-In-One Marketing – Forms, Popups, Live Chat The CRM, Sales, and Marketing WordPress plugin to grow your business better. Capture and… by HubSpot 200K+ ★★★★★★★★★★ 4.3 (207) 1 semana atrás 81
9 UserFeedback – Create Interactive Feedback Form, User Surveys, and Polls in Seconds UserFeedback Ultimate user feedback plugin to ask questions, surveys, polls, from your website in seconds Por Syed Balkhi 200K+ ★★★★★★★★★★ 4.8 (311) 3 meses atrás 82
10 Post Views Counter Post Views Counter Count and display post views, track site-wide visits, and see what content works – inside… por dFactory 100K+ ★★★★★★★★★★ 4.9 (1.2K) 1 semana atrás 96

FAQ

Designed2Use GA Views: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: WordPress.org

Is Designed2Use GA Views free?

Yes. Designed2Use GA Views is free to download and use from the official WordPress.org plugin directory.

Is Designed2Use GA Views safe to use in 2026?

Designed2Use GA Views works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 60/100 on our health check.

How many websites use Designed2Use GA Views?

Designed2Use GA Views is active on <10 WordPress websites and has been downloaded 376 times since it launched in June 2026. It was downloaded 73 times in the last 30 days.

Does Designed2Use GA Views work with WordPress 7.1?

Yes. The developer has tested Designed2Use GA Views up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.

What PHP version does Designed2Use GA Views need?

Designed2Use GA Views requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Designed2Use GA Views last updated?

The latest version, 2.0.1, was released on September 17, 2026 (3 months ago).

Who makes Designed2Use GA Views?

Designed2Use GA Views is developed and maintained by Designed 2 Use.

What are the best alternatives to Designed2Use GA Views?

The most popular alternatives to Designed2Use GA Views are Site Kit by Google (5M+ installs), MonsterInsights (2M+ installs) and WP Statistics (500K+ installs).

Alimentado por PageForge

Um modelo e uma planilha. Uma página real para cada pesquisa.

PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.

  • CSV e XLSX, mais Google Sheets em Profissional e Empresarial
  • Seu próprio título, URL, SEO campos e esquema para cada página
  • Funciona com o editor de blocos, Elementor, Divi e Avada
  • Gratuito em WordPress.org, sem cartão de crédito

↑↓ mover↵ abrir