Title: Universal Analytics for Custom Post Types
Last modified: August 22, 2016

---

# Universal Analytics for Custom Post Types

 *  [Neha Gupta Goyal](https://wordpress.org/support/users/nehagupt/)
 * (@nehagupt)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/universal-analytics-for-custom-post-types/)
 * I have a blog, in addition to other publications, on my website, and I want the
   ability to collect data for all blog posts. Blog posts are created as a custom
   post type, along with a number of other publication post types. These post types
   are not differentiated in the URL, but are in the CMS.
 * How can I leverage Yoast to gather stats for blog posts?
 * Blog has a separate template in the WP theme. Can I use custom PHP code in the
   Advanced tab in the plugin settings to track analytics for just the blog posts?
 * [https://wordpress.org/plugins/google-analytics-for-wordpress/](https://wordpress.org/plugins/google-analytics-for-wordpress/)

The topic ‘Universal Analytics for Custom Post Types’ is closed to new replies.

 * ![](https://ps.w.org/google-analytics-for-wordpress/assets/icon.svg?rev=2976619)
 * [MonsterInsights - Google Analytics Dashboard for WordPress (Website Stats Made Easy)](https://wordpress.org/plugins/google-analytics-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-for-wordpress/reviews/)

## Tags

 * [Yoast](https://wordpress.org/support/topic-tag/yoast/)

 * 0 replies
 * 1 participant
 * Last reply from: [Neha Gupta Goyal](https://wordpress.org/support/users/nehagupt/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/universal-analytics-for-custom-post-types/)
 * Status: not resolved