google-analytics-counter.html.twig in Google Analytics Counter 8.3
Default theme implementation for the google analytics counter block.
Available variables:
- pageviews: The number of pageviews for the current uri.
1 theme call to google-analytics-counter.html.twig
- GoogleAnalyticsCounterBlock::build in src/
Plugin/ Block/ GoogleAnalyticsCounterBlock.php - Builds and returns the renderable array for this block plugin.
File
templates/google-analytics-counter.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for the google analytics counter block.
- *
- * Available variables:
- * - pageviews: The number of pageviews for the current uri.
- *
- * @ingroup themeable
- */
- #}
- <span class="google-analytics-counter">{{ pageviews }}</span>