Download

Documentation

Print This page

Getting stats for a Specific Post or Page ID

Sometimes, WordPress Theme developers want to show stats of a specific page have ID “2” on any page or template you want. Following shortcode can be used for that purpose.

This option is mostly used when you disable the front-end stats and want to use a shortcode in your theme to avoid conflicts with other themes.

 

Disable front-end stats - Google Analytics by Analytify
Disable front-end stats – Google Analytics by Analytify

 

Following shortcode is used to show stats of your own metrics and dimensions of choice for a specific post or page.