Google Analytics with Custom Post Types

0

I’ve noticed that the analytics meta box that’s available for individual pages is not available for custom post types.

Is there a way to enable this for CPTs? If not, can this be a feature request?

Thanks for all the support.

  • Tyler Postle
    • Recruit

    Hey Jarel,

    Hope you’re doing well today! This isn’t available by default in the plugin; however, a previous staff member did post a solution for this here: https://wpmudev.com/forums/topic/google-analytics-custom-post-type-support#post-660959

    I will still move this over to the features section so it can be considered for a future update :slight_smile:

    If you have any questions about the above solution then make sure you post back here instead of on the thread above – keeps things more organized and will allow us to provide more efficient support for you!

    Cheers,

    Tyler

  • Jarel
    • Site Builder, Child of Zeus

    Awesome! That worked perfectly. Weird I didn’t see that article when I was searching the community.

    Ive seen a couple other plugins, (typically visual editor plugins) where in their settings somewhere they list all the posts, pages, and cpt’s of the site, and there’s a checkbox to enable the plugin functionality for each. Something like that, eventually built into the plugin would be great.

    Thanks for the help.