'nextmove-lite', 'utm_campaign' => 'settings', 'utm_medium' => 'text-click', 'utm_term' => 'javascript-event', ), 'https://xlplugins.com/docs/nextmove-woocommerce-thank-you-page/how-to/add-custom-javascript-events-thank-page/' ); $ga_after_row_text = '
Facebook Pixel ID
', 'type' => 'text', 'attributes' => array( 'data-conditional-id' => 'enable_fb_ecom_tracking', 'data-conditional-value' => 'on', ), ), array( 'name' => __( 'Fire Facebook PageView event', 'woo-thank-you-page-nextmove-lite' ), 'id' => 'enable_fb_pageview_event', 'desc' => __( 'Fire Facebook PageView event', 'woo-thank-you-page-nextmove-lite' ), 'row_classes' => array( 'xlwcty_no_border', 'xlwcty_hide_label', 'xlwcty_pt0' ), 'type' => 'checkbox', 'default' => '', 'attributes' => array( 'data-conditional-id' => 'enable_fb_ecom_tracking', 'data-conditional-value' => 'on', ), ), array( 'name' => __( 'Fire Facebook Purchase event to Add Conversion Values', 'woo-thank-you-page-nextmove-lite' ), 'id' => 'enable_fb_purchase_event_conversion_val', 'desc' => __( 'Fire Facebook Purchase event to Add Conversion Values', 'woo-thank-you-page-nextmove-lite' ), 'row_classes' => array( 'xlwcty_no_border', 'xlwcty_hide_label', 'xlwcty_pt0' ), 'type' => 'checkbox', 'default' => '', 'attributes' => array( 'data-conditional-id' => 'enable_fb_ecom_tracking', 'data-conditional-value' => 'on', ), 'after' => __( 'Note: NextMove will send total order value and store currency based on order. Click here to know more.
', 'woo-thank-you-page-nextmove-lite' ), ), array( 'name' => __( 'Fire Facebook Purchase event with Order item\'s complete data i.e. product name, category & product_id.', 'woo-thank-you-page-nextmove-lite' ), 'id' => 'enable_fb_purchase_event', 'desc' => __( 'Fire Facebook Purchase event with Order item\'s complete data i.e. product name, category & product_id.', 'woo-thank-you-page-nextmove-lite' ), 'row_classes' => array( 'xlwcty_no_border', 'xlwcty_hide_label', 'xlwcty_pt0' ), 'type' => 'checkbox', 'default' => '', 'attributes' => array( 'data-conditional-id' => 'enable_fb_ecom_tracking', 'data-conditional-value' => 'on', ), 'after' => __( 'Note: Your Product catalog must be synced with Facebook. Click here to know more.
', 'woo-thank-you-page-nextmove-lite' ), ), array( 'name' => __( 'Setup advanced matching with the pixel', 'woo-thank-you-page-nextmove-lite' ), 'id' => 'enable_fb_advanced_matching_event', 'desc' => __( 'Setup advanced matching with the pixel', 'woo-thank-you-page-nextmove-lite' ), 'row_classes' => array( 'xlwcty_no_border', 'xlwcty_hide_label', 'xlwcty_pt0' ), 'type' => 'checkbox', 'default' => '', 'attributes' => array( 'data-conditional-id' => 'enable_fb_ecom_tracking', 'data-conditional-value' => 'on', ), 'after' => __( 'Note: NextMove will send customer\'s email, name, phone, address fields whichever available in the order. Click here to know more.
', 'woo-thank-you-page-nextmove-lite' ), ), array( 'name' => __( 'Enable Google Analytics Tracking', 'woo-thank-you-page-nextmove-lite' ), 'id' => 'enable_ga_ecom_tracking', 'desc' => __( 'Check this box if you want to push google analytics eCommerce events on Thank You page.', 'woo-thank-you-page-nextmove-lite' ), 'row_classes' => array( 'xlwcty_no_border' ), 'default' => '', 'type' => 'checkbox', ), array( 'name' => __( 'Google Analytics ID', 'woo-thank-you-page-nextmove-lite' ), 'id' => 'ga_analytics_id', 'desc' => __( 'Log into your google analytics account to find your ID. eg: UA-XXXXXX-X.', 'woo-thank-you-page-nextmove-lite' ), 'row_classes' => array( 'xlwcty_no_border', 'xlwcty_hide_label', 'xlwcty_pt0' ), 'before' => 'Google Analytics ID
', 'after_row' => $ga_after_row_text, 'type' => 'text', 'attributes' => array( 'data-conditional-id' => 'enable_ga_ecom_tracking', 'data-conditional-value' => 'on', ), ), array( 'name' => '_wpnonce', 'id' => '_wpnonce', 'type' => 'hidden', 'attributes' => array( 'value' => wp_create_nonce( 'woocommerce-settings' ), ), ), );