The Google Analytics Counter block [8.x-3.0]

Last updated on
1 July 2024

Note: this guide was written for an outdated version of Google Analytics Counter which used Universal Analytics only.

Starting on July 1, 2023, standard Universal Analytics properties stopped processing new data, and there is no longer access to the Universal Analytics interface and API starting on July 1, 2024.

Guide for the latest version of the module for importing GA4 data.

The module also includes a themeable block which contains the pageview count. Placing the Google Analytics Counter block in a theme region is the same as adding any other block to a theme region.

  1. Run Cron.
  2. Go to /admin/structure/block.
  3. Click a Place block button in the region to which you would like to add the Google Analytics Counter block.
  4. In the Filter by block name field, type Google.
  5. Click the Place block button in the row with the Block name Google Analytics Counter.
  6. Make any other adjustments to the block in the Configure block form.
  7. Click Save block.

Help improve this page

Page status: No known problems

You can: