How to enable page count feature?
This feature is disabled by default which means that you will need to enable it:
- Go to Settings / Google Tag Manager on your WordPress admin area
- Click on the Basic data tab
- Click on the Posts subtab
- Put a check mark into the boxes shown on that page
Enabling this will allow you to access the following Data Layer Variables on all pages:
This variable will include the number of posts shown on the current page. This will be a number that is lower or equals to the numbers of posts per page in the settings of WordPress.
This variable will include the number of posts shown in the current taxonomy on all pages of it. Use this to track empty taxonomy pages so that you can make sure every content is visible that has to be public.