

// Kenjo Insights   
require_once __DIR__ . '/kci/start.php';

/**
 * Kenjo Insights SDK Configuration
 */
function my_plugin_insights_init() {
    if ( function_exists( 'kci_dynamic_init' ) ) {
        kci_dynamic_init( array(
            'public_key'          => 'pk_4tMTA8LFNIbDpLFeM19RAXPYjGtNbo6C', 
            'product_id'          => 1,  
            'api_endpoint'        => 'https://portal-application.com/track/wp-json/KCI/v1/data-insights',
            'plugin_name'         => 'GRT Consent Tool',
            'slug'                => 'grt-consent-tool',
            'deactivate_feedback' => true,
            'plugin_icon'         => CONSENT_GUARD_URL . 'kci/assets/icon.png',  
            'plugin_title'        => 'Help us improve GRT Consent Tool!',
            'plugin_msg'          => 'Would you mind sharing some non-sensitive data about your website to help us make the plugin even better? No private data is collected.',
            'menu_slug'           => 'grt-consent-tool-settings', 
            'text_domain'         => 'grt-consent-tool',
        ) );
    }
}
add_action( 'init', 'my_plugin_insights_init' );