• Resolved carlosonweb

    (@carlosonweb)


    The constructor method of the class Klaviyo has this code to start the analytics:

    
    if ( !is_admin() ) {
        $klaviyowp_analytics = new WPKlaviyoAnalytics($klaviyo_public_key);
    }
    

    It doesn’t make sense to enable it on all post types. Right now, I fix this by using the template_redirect hook, but it’s better if you can add options in the Klaviyo Settings Panel to add to exclude it in certain post types.

Viewing 1 replies (of 1 total)
  • Plugin Author klaviyo

    (@klaviyo)

    Hi @carlosonweb

    Thanks so much for this suggestion, we will add this as a feature request to our plugin roadmap. While I’m afraid I cannot say if/when it will be implemented and released, we can follow up in this thread when we have more information.

    Best,
    Klaviyo

Viewing 1 replies (of 1 total)
  • The topic ‘Add Option to Exclude Klaviyo Analytics in Certain Post Types’ is closed to new replies.