Privacy > Policy guide. */ class FullSession_Privacy { /** * Register hooks. */ public static function init() { add_action( 'admin_init', array( __CLASS__, 'add_policy_content' ) ); } /** * Suggested text for the site's privacy policy. */ public static function add_policy_content() { if ( ! function_exists( 'wp_add_privacy_policy_content' ) ) { return; } $content = '
' . esc_html__( 'This text is a suggestion. Review it and change it to match how you use FullSession.', 'fullsession' ) . '
'; $content .= '' . esc_html__( 'Suggested text:', 'fullsession' ) . ' '; $content .= esc_html__( 'We use FullSession to understand how visitors use our website. FullSession records how you interact with our pages, such as page views, clicks, mouse movement, scrolling and form interactions. Password fields are never recorded. FullSession also collects technical information such as your browser, device, screen size and approximate location.', 'fullsession' ) . '
'; $content .= '' . esc_html__( 'If you are logged in, we may share your user ID, role, name and email with FullSession so we can find your sessions when helping you. If you shop with us, we may record cart and order events, such as products added to the cart and order totals.', 'fullsession' ) . '
'; $content .= '' . sprintf( /* translators: 1: FullSession privacy policy URL, 2: FullSession terms URL. */ esc_html__( 'This data is processed by FullSession. See the FullSession privacy policy (%1$s) and terms of use (%2$s).', 'fullsession' ), esc_url( 'https://www.fullsession.io/privacy-policy' ), esc_url( 'https://www.fullsession.io/terms-of-use' ) ) . '
'; wp_add_privacy_policy_content( __( 'FullSession', 'fullsession' ), wp_kses_post( $content ) ); } }