| 1 |
<?php |
| 2 |
|
| 3 |
|
| 4 |
defined( 'ABSPATH' ) || exit; |
| 5 |
|
| 6 |
return apply_filters( |
| 7 |
'bwf_settings_config', |
| 8 |
array( |
| 9 |
|
| 10 |
'general' => array( |
| 11 |
'title' => __( 'License', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 12 |
'heading' => __( 'License', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 13 |
'slug' => 'general', |
| 14 |
'fields' => apply_filters( |
| 15 |
'bwf_settings_config_general', |
| 16 |
array( |
| 17 |
array( |
| 18 |
'key' => 'default_selected_builder', |
| 19 |
'type' => 'select', |
| 20 |
'label' => __( 'Default Page Builder', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 21 |
'hint' => '', |
| 22 |
'values' => function_exists( 'wffn_rest_funnels' ) && method_exists( wffn_rest_funnels(), 'get_all_builders' ) ? array_map( |
| 23 |
function ( $id, $name ) { |
| 24 |
return array( |
| 25 |
'id' => $id, |
| 26 |
'name' => $name, |
| 27 |
); |
| 28 |
}, |
| 29 |
array_keys( wffn_rest_funnels()->get_all_builders()['funnel'] ), |
| 30 |
wffn_rest_funnels()->get_all_builders()['funnel'] |
| 31 |
) : array(), |
| 32 |
'selectOptions' => array( |
| 33 |
'hideNoneSelectedText' => true, |
| 34 |
), |
| 35 |
), |
| 36 |
array( |
| 37 |
|
| 38 |
'key' => 'set_funnel_as_home', |
| 39 |
'type' => 'html', |
| 40 |
'label' => __( 'Set Funnel as Homepage', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 41 |
'hint' => '', |
| 42 |
'html' => sprintf( __( "Select the Funnel page you want to set as the Homepage. <a href='%s'>Go to WordPress Settings</a>", 'funnel-builder' ), admin_url( 'options-reading.php' ) ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch, WordPress.WP.I18n.MissingTranslatorsComment |
| 43 |
), |
| 44 |
) |
| 45 |
), |
| 46 |
'priority' => 1, |
| 47 |
), |
| 48 |
'permalinks' => array( |
| 49 |
'title' => __( 'Permalinks', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 50 |
'heading' => __( 'Permalinks', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 51 |
'slug' => 'permalinks', |
| 52 |
'fields' => array(), |
| 53 |
'priority' => 5, |
| 54 |
), |
| 55 |
'funnelkit_google_maps' => array( |
| 56 |
'title' => __( 'Google Maps', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 57 |
'heading' => __( 'Google Maps', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 58 |
'slug' => 'funnelkit_google_maps', |
| 59 |
'fields' => array( |
| 60 |
array( |
| 61 |
'key' => 'funnelkit_google_map_key', |
| 62 |
'type' => 'text', |
| 63 |
'label' => 'Google Map API Key', |
| 64 |
// phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 65 |
'hint' => __( 'Enter the Google Maps API key for Google Address AutoComplete on Checkout. <a href="https://funnelkit.com/google-address-autocomplete-for-woocommerce/?utm_source=WordPress&utm_campaign=FB+Lite+Plugin&utm_medium=Settings+Google+Map+Api+Key" target="_blank">Learn More</a>', 'funnel-builder' ), |
| 66 |
'value' => '', |
| 67 |
), |
| 68 |
), |
| 69 |
'priority' => 5, |
| 70 |
), |
| 71 |
'facebook_pixel' => array( |
| 72 |
'title' => __( 'Facebook Pixel', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 73 |
'heading' => __( 'Facebook Pixel', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 74 |
'slug' => 'facebook_pixel', |
| 75 |
'fields' => array( |
| 76 |
array( |
| 77 |
'key' => 'fb_pixel_key', |
| 78 |
'label' => __( 'Pixel ID & Access Token', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 79 |
'type' => 'tracking_id', |
| 80 |
'placeholder' => __( '294123501257422', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 81 |
'input_hint' => __( 'Log into your Facebook ads account to find your Pixel ID.', 'funnel-builder' ) . ' <a target="_blank" href="https://funnelkit.com/woocommerce-facebook-pixel/">' . __( 'Learn More', 'funnel-builder' ) . '</a>', // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 82 |
'secondary_fields' => array( |
| 83 |
array( |
| 84 |
'key' => 'conversion_api_access_token', |
| 85 |
'type' => 'textarea', |
| 86 |
'label' => '', |
| 87 |
'placeholder' => __( 'Enter Access Token', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 88 |
'hint' => __( 'Send events directly from server to Facebook through the Conversion API. An access token is required to use the server-side API.', 'funnel-builder' ) . '<a target="_blank" href="https://funnelkit.com/docs/funnel-builder/global-settings/facebook-conversion-api/">' . __( 'Generate Access Token', 'funnel-builder' ) . '</a>', // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 89 |
), |
| 90 |
), |
| 91 |
), |
| 92 |
array( |
| 93 |
'key' => 'conversion_api_access_token', |
| 94 |
'type' => 'hidden', |
| 95 |
), |
| 96 |
|
| 97 |
array( |
| 98 |
'key' => 'is_fb_conv_enable_test', |
| 99 |
'label' => '', |
| 100 |
'hint' => __( 'Use test_event_code to verify server-side events. <strong>Uncheck this option after testing</strong>.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 101 |
|
| 102 |
'type' => 'checklist', |
| 103 |
'values' => array( |
| 104 |
array( |
| 105 |
'name' => __( 'Test server events via test_event_code', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 106 |
'value' => 'yes', |
| 107 |
), |
| 108 |
), |
| 109 |
), |
| 110 |
|
| 111 |
|
| 112 |
array( |
| 113 |
'key' => 'conversion_api_test_event_code', |
| 114 |
'type' => 'input', |
| 115 |
'label' => '', |
| 116 |
'hint' => sprintf( |
| 117 |
/* translators: 1: opening anchor tag to the Facebook Conversion API doc, 2: closing anchor tag. */ |
| 118 |
__( '%1$sLearn how to get test_event_code%2$s', 'funnel-builder' ), |
| 119 |
'<a target="_blank" rel="noopener noreferrer" href="' . esc_url( 'https://funnelkit.com/docs/funnel-builder/global-settings/facebook-conversion-api/#step-1-select-your-pixel-id-and-go-to-%E2%80%9Ctest-events%E2%80%9D' ) . '">', |
| 120 |
'</a>' |
| 121 |
), |
| 122 |
'placeholder' => __( 'Paste your test_event_code here', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 123 |
'toggler' => array( |
| 124 |
'key' => 'is_fb_conv_enable_test', |
| 125 |
'value' => array( 'yes' ), |
| 126 |
), |
| 127 |
), |
| 128 |
array( |
| 129 |
'key' => 'is_fb_conversion_api_log', |
| 130 |
'type' => 'checklist', |
| 131 |
'label' => '', |
| 132 |
'hint' => sprintf( |
| 133 |
/* translators: 1: opening anchor tag to the WooCommerce logs screen, 2: closing anchor tag. */ |
| 134 |
__( 'Use this option to log API request & response. <strong>Uncheck this option after testing</strong>. %1$sClick here to access logs.%2$s', 'funnel-builder' ), |
| 135 |
'<a target="_blank" rel="noopener noreferrer" href="' . esc_url( admin_url( 'admin.php?page=wc-status&tab=logs' ) ) . '">', |
| 136 |
'</a>' |
| 137 |
), |
| 138 |
'values' => array( |
| 139 |
array( |
| 140 |
'name' => __( 'Enable Purchase Event Logs', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 141 |
'value' => 'yes', |
| 142 |
), |
| 143 |
), |
| 144 |
), |
| 145 |
|
| 146 |
array( |
| 147 |
'type' => 'label', |
| 148 |
'key' => 'label_section_head_ga', |
| 149 |
'label' => __( 'Site Wide Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 150 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 151 |
), |
| 152 |
array( |
| 153 |
'key' => 'is_fb_page_view_global', |
| 154 |
'label' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 155 |
'type' => 'checkbox', |
| 156 |
'hint' => __( 'Use this option to fire PageView event on all site pages', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 157 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad' ), |
| 158 |
), |
| 159 |
array( |
| 160 |
'key' => 'is_fb_add_to_cart_global', |
| 161 |
'label' => __( 'Enable AddtoCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 162 |
'type' => 'checkbox', |
| 163 |
'hint' => __( 'Use this option to fire AddtoCart event when customer add items to the cart', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 164 |
), |
| 165 |
array( |
| 166 |
'key' => 'is_fb_page_product_content_global', |
| 167 |
'label' => __( 'Enable ViewContent Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 168 |
'type' => 'checkbox', |
| 169 |
'hint' => __( 'Use this option to fire ViewContent event on product pages', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 170 |
), |
| 171 |
array( |
| 172 |
'key' => 'is_fb_page_view_lp', |
| 173 |
'label' => __( 'Sales Page Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 174 |
'type' => 'checklist', |
| 175 |
'values' => array( |
| 176 |
array( |
| 177 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 178 |
'value' => 'yes', |
| 179 |
), |
| 180 |
), |
| 181 |
), |
| 182 |
array( |
| 183 |
'key' => 'is_fb_page_view_op', |
| 184 |
'label' => __( 'Optin Page Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 185 |
'type' => 'checklist', |
| 186 |
'values' => array( |
| 187 |
array( |
| 188 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 189 |
'value' => 'yes', |
| 190 |
), |
| 191 |
), |
| 192 |
), |
| 193 |
array( |
| 194 |
'key' => 'is_fb_lead_op', |
| 195 |
'label' => '', |
| 196 |
'type' => 'checklist', |
| 197 |
'values' => array( |
| 198 |
array( |
| 199 |
'name' => __( 'Enable Lead Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 200 |
'value' => 'yes', |
| 201 |
), |
| 202 |
), |
| 203 |
), |
| 204 |
|
| 205 |
|
| 206 |
array( |
| 207 |
'type' => 'label', |
| 208 |
'key' => 'label_section_head_ga', |
| 209 |
'label' => __( 'Order Bump Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 210 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 211 |
), |
| 212 |
|
| 213 |
|
| 214 |
array( |
| 215 |
'key' => 'is_fb_add_to_cart_bump', |
| 216 |
'type' => 'checkbox', |
| 217 |
'label' => __( 'Enable AddtoCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 218 |
'hint' => __( 'Fire "AddToCart" event when user accepts the order bump', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 219 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad' ), |
| 220 |
), |
| 221 |
array( |
| 222 |
'key' => 'is_fb_custom_bump', |
| 223 |
'type' => 'checkbox', |
| 224 |
'label' => __( 'Enable Order Bump Conversion Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 225 |
'hint' => __( 'Fire "Woofunnels_Bump" custom event when user accepts the order bump', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 226 |
|
| 227 |
), |
| 228 |
|
| 229 |
array( |
| 230 |
'key' => 'label_section_head_fb', |
| 231 |
'type' => 'label', |
| 232 |
'label' => __( 'Checkout Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 233 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 234 |
), |
| 235 |
array( |
| 236 |
'key' => 'pixel_is_page_view', |
| 237 |
'type' => 'checkbox', |
| 238 |
'label' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 239 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end' ), |
| 240 |
), |
| 241 |
array( |
| 242 |
'key' => 'pixel_initiate_checkout_event', |
| 243 |
'type' => 'checkbox', |
| 244 |
'label' => __( 'Enable InitiateCheckout Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 245 |
|
| 246 |
), |
| 247 |
array( |
| 248 |
'key' => 'pixel_add_to_cart_event', |
| 249 |
'type' => 'checkbox', |
| 250 |
'label' => __( 'Enable AddtoCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 251 |
|
| 252 |
), |
| 253 |
array( |
| 254 |
'key' => 'pixel_add_payment_info_event', |
| 255 |
'type' => 'checkbox', |
| 256 |
'label' => __( 'Enable AddPaymentInfo Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 257 |
|
| 258 |
), |
| 259 |
array( |
| 260 |
'key' => 'is_fb_purchase_page_view', |
| 261 |
'type' => 'checklist', |
| 262 |
'label' => __( 'Purchase Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 263 |
'values' => array( |
| 264 |
array( |
| 265 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 266 |
'value' => 'yes', |
| 267 |
), |
| 268 |
), |
| 269 |
), |
| 270 |
array( |
| 271 |
'key' => 'is_fb_purchase_event', |
| 272 |
'type' => 'checklist', |
| 273 |
'label' => '', |
| 274 |
'hint' => __( 'Note: FunnelKit will send total order value and store currency based on order. <a target="_blank" href="https://developers.facebook.com/docs/facebook-pixel/pixel-with-ads/conversion-tracking#add-value">Learn More</a>', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 275 |
'values' => array( |
| 276 |
array( |
| 277 |
'name' => __( 'Enable Purchase Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 278 |
'value' => 'yes', |
| 279 |
), |
| 280 |
), |
| 281 |
), |
| 282 |
|
| 283 |
|
| 284 |
array( |
| 285 |
'key' => 'enable_general_event', |
| 286 |
'type' => 'checklist', |
| 287 |
'label' => '', |
| 288 |
'hint' => __( 'Use the GeneralEvent for your Custom Audiences and Custom Conversions.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 289 |
'values' => array( |
| 290 |
array( |
| 291 |
'name' => __( 'Enable General Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 292 |
'value' => 'yes', |
| 293 |
), |
| 294 |
), |
| 295 |
|
| 296 |
), |
| 297 |
array( |
| 298 |
'type' => 'input', |
| 299 |
'key' => 'general_event_name', |
| 300 |
'label' => '', |
| 301 |
'placeholder' => __( 'General Event Name', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 302 |
'hint' => __( 'Customize the name of general event.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 303 |
'toggler' => array( |
| 304 |
'key' => 'enable_general_event', |
| 305 |
'value' => array( 'yes' ), |
| 306 |
), |
| 307 |
), |
| 308 |
|
| 309 |
array( |
| 310 |
'type' => 'label', |
| 311 |
'key' => 'label_section_head_ga', |
| 312 |
'label' => __( 'Track Steps', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 313 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 314 |
), |
| 315 |
array( |
| 316 |
'key' => 'is_fb_custom_events', |
| 317 |
'label' => __( 'Enable Custom Funnel Step Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 318 |
'hint' => __( 'Fire "Woofunnels_Sales", "Woofunnels_Checkout", "Woofunnels_Upsell", "Woofunnels_Downsell", "Woofunnels_Thankyou", "Woofunnels_Optin" & "Woofunnels_OptinConfirmation" respectively when user visits the page.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 319 |
|
| 320 |
'type' => 'checkbox', |
| 321 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad', 'bwf_clear_rgt_width' ), |
| 322 |
), |
| 323 |
|
| 324 |
|
| 325 |
array( |
| 326 |
'type' => 'label', |
| 327 |
'key' => 'label_section_head_ga', |
| 328 |
'label' => __( 'Advanced', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 329 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 330 |
), |
| 331 |
array( |
| 332 |
'key' => 'is_fb_enable_content', |
| 333 |
'type' => 'checklist', |
| 334 |
'label' => '', |
| 335 |
'hint' => __( 'Note: Your Product catalog must be synced with Facebook. <a target="_blank" href="https://developers.facebook.com/docs/facebook-pixel/get-started/dynamic-ads">Learn More</a>', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 336 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad', 'bwf_clear_rgt_width', 'rem_hint_pad' ), |
| 337 |
'values' => array( |
| 338 |
array( |
| 339 |
'name' => __( 'Enable Content Settings for Dynamic Ads', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 340 |
'value' => 'yes', |
| 341 |
), |
| 342 |
), |
| 343 |
), |
| 344 |
array( |
| 345 |
'key' => 'pixel_variable_as_simple', |
| 346 |
'type' => 'checkbox', |
| 347 |
'label' => __( 'Enable this to send parent product ID for variable products', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 348 |
'hint' => __( 'Turn this option ON when your Product Catalog doesn\'t include the variants for variable products.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 349 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'bwf_vue_checkbox_label' ), |
| 350 |
'toggler' => array( |
| 351 |
'key' => 'is_fb_enable_content', |
| 352 |
'value' => array( 'yes' ), |
| 353 |
), |
| 354 |
), |
| 355 |
array( |
| 356 |
'key' => 'pixel_content_id_type', |
| 357 |
'styleClasses' => array( 'group-one-class' ), |
| 358 |
'type' => 'select', |
| 359 |
'label' => '', |
| 360 |
'default' => '0', |
| 361 |
'values' => array( |
| 362 |
array( |
| 363 |
'id' => '0', |
| 364 |
'name' => __( 'Select content id parameter', 'funnel-builder' ), |
| 365 |
), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 366 |
array( |
| 367 |
'id' => 'product_id', |
| 368 |
'name' => __( 'Product ID', 'funnel-builder' ), |
| 369 |
), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 370 |
array( |
| 371 |
'id' => 'product_sku', |
| 372 |
'name' => __( 'Product SKU', 'funnel-builder' ), |
| 373 |
), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 374 |
), |
| 375 |
'selectOptions' => array( |
| 376 |
'hideNoneSelectedText' => true, |
| 377 |
), |
| 378 |
'toggler' => array( |
| 379 |
'key' => 'is_fb_enable_content', |
| 380 |
'value' => array( 'yes' ), |
| 381 |
), |
| 382 |
), |
| 383 |
array( |
| 384 |
'key' => 'pixel_content_id_prefix', |
| 385 |
'type' => 'input', |
| 386 |
'label' => '', |
| 387 |
'placeholder' => __( 'Content ID Prefix', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 388 |
'hint' => __( 'Add prefix to the content_id parameter (optional)', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 389 |
'toggler' => array( |
| 390 |
'key' => 'is_fb_enable_content', |
| 391 |
'value' => array( 'yes' ), |
| 392 |
), |
| 393 |
|
| 394 |
), |
| 395 |
array( |
| 396 |
'key' => 'pixel_content_id_suffix', |
| 397 |
'type' => 'input', |
| 398 |
'label' => '', |
| 399 |
'placeholder' => __( 'Content id suffix', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 400 |
'hint' => __( 'Add suffix to the content_id parameter (optional)', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 401 |
'toggler' => array( |
| 402 |
'key' => 'is_fb_enable_content', |
| 403 |
'value' => array( 'yes' ), |
| 404 |
), |
| 405 |
|
| 406 |
), |
| 407 |
array( |
| 408 |
'key' => 'exclude_from_total', |
| 409 |
'label' => '', |
| 410 |
'type' => 'checklist', |
| 411 |
'hint' => __( 'Check above boxes to exclude shipping/taxes from the total.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 412 |
'values' => array( |
| 413 |
array( |
| 414 |
'name' => __( 'Exclude Shipping from Total', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 415 |
'value' => 'is_disable_shipping', |
| 416 |
), |
| 417 |
array( |
| 418 |
'name' => __( 'Exclude Taxes from Total', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 419 |
'value' => 'is_disable_taxes', |
| 420 |
), |
| 421 |
|
| 422 |
), |
| 423 |
'toggler' => array( |
| 424 |
'key' => 'is_fb_purchase_event', |
| 425 |
'value' => array( 'yes' ), |
| 426 |
), |
| 427 |
), |
| 428 |
|
| 429 |
array( |
| 430 |
'type' => 'checklist', |
| 431 |
'key' => 'is_fb_advanced_event', |
| 432 |
'label' => '', |
| 433 |
'hint' => __( 'Note: FunnelKit will send customer\'s email, name, phone, address fields whichever available in the order. <a target="_blank" href="https://developers.facebook.com/docs/facebook-pixel/pixel-with-ads/conversion-tracking#advanced_match">Learn More', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 434 |
'values' => array( |
| 435 |
array( |
| 436 |
'name' => __( 'Enable Advanced Matching With the Pixel', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 437 |
'value' => 'yes', |
| 438 |
), |
| 439 |
), |
| 440 |
), |
| 441 |
|
| 442 |
|
| 443 |
), |
| 444 |
'priority' => 10, |
| 445 |
), |
| 446 |
'google_analytics' => array( |
| 447 |
'title' => __( 'Google Analytics', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 448 |
'heading' => __( 'Google Analytics', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 449 |
'slug' => 'google_analytics', |
| 450 |
'fields' => array( |
| 451 |
array( |
| 452 |
'key' => 'ga_key', |
| 453 |
'type' => 'tracking_id', |
| 454 |
'label' => __( 'Analytics ID', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 455 |
'placeholder' => __( 'G-9F3K2TGHH4', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 456 |
'input_hint' => __( 'Log into your Google Analytics account to find your Analytics ID. <a target="_blank" href="https://funnelkit.com/docs/funnel-builder/how-to/set-up-google-analytics-4-property/">Learn More</a>', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 457 |
), |
| 458 |
|
| 459 |
array( |
| 460 |
'type' => 'label', |
| 461 |
'key' => 'label_section_head_ga', |
| 462 |
'label' => __( 'Site Wide Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 463 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 464 |
), |
| 465 |
array( |
| 466 |
'key' => 'is_ga_page_view_global', |
| 467 |
'label' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 468 |
'type' => 'checkbox', |
| 469 |
'hint' => __( 'Use this option to fire PageView event on all site pages', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 470 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad' ), |
| 471 |
), |
| 472 |
|
| 473 |
array( |
| 474 |
'key' => 'is_ga_add_to_cart_global', |
| 475 |
'label' => __( 'Enable AddtoCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 476 |
'type' => 'checkbox', |
| 477 |
'hint' => __( 'Use this option to fire AddtoCart event when customer add items to the cart', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 478 |
), |
| 479 |
array( |
| 480 |
'key' => 'is_ga_view_item_global', |
| 481 |
'label' => __( 'Enable ViewItem Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 482 |
'type' => 'checkbox', |
| 483 |
'hint' => __( 'Use this option to fire ViewItem event on product pages', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 484 |
), |
| 485 |
|
| 486 |
array( |
| 487 |
'key' => 'is_ga_page_view_lp', |
| 488 |
'type' => 'checklist', |
| 489 |
'label' => __( 'Sales Page Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 490 |
'values' => array( |
| 491 |
array( |
| 492 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 493 |
'value' => 'yes', |
| 494 |
), |
| 495 |
), |
| 496 |
), |
| 497 |
array( |
| 498 |
'type' => 'checklist', |
| 499 |
'key' => 'is_ga_page_view_op', |
| 500 |
'label' => __( 'Optin Page Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 501 |
'values' => array( |
| 502 |
array( |
| 503 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 504 |
'value' => 'yes', |
| 505 |
), |
| 506 |
), |
| 507 |
), |
| 508 |
array( |
| 509 |
'key' => 'is_ga_lead_op', |
| 510 |
'label' => '', |
| 511 |
'type' => 'checklist', |
| 512 |
'values' => array( |
| 513 |
array( |
| 514 |
'name' => __( 'Enable Lead Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 515 |
'value' => 'yes', |
| 516 |
), |
| 517 |
), |
| 518 |
), |
| 519 |
|
| 520 |
|
| 521 |
array( |
| 522 |
'type' => 'label', |
| 523 |
'key' => 'label_section_head_ga', |
| 524 |
'label' => __( 'Order Bump Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 525 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 526 |
), |
| 527 |
|
| 528 |
|
| 529 |
array( |
| 530 |
'key' => 'is_ga_add_to_cart_bump', |
| 531 |
'type' => 'checkbox', |
| 532 |
'label' => __( 'Enable AddtoCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 533 |
'hint' => __( 'This event will fire when user accepts the order bump', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 534 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad' ), |
| 535 |
), |
| 536 |
array( |
| 537 |
'key' => 'is_ga_custom_bump', |
| 538 |
'type' => 'checkbox', |
| 539 |
'label' => __( 'Enable Order Bump Conversion Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 540 |
'hint' => __( 'Fire "Woofunnels_Bump" custom event when user accepts the order bump', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 541 |
|
| 542 |
), |
| 543 |
|
| 544 |
|
| 545 |
array( |
| 546 |
'type' => 'label', |
| 547 |
'key' => 'label_section_head_ga', |
| 548 |
'label' => __( 'Checkout Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 549 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 550 |
), |
| 551 |
array( |
| 552 |
'key' => 'google_ua_is_page_view', |
| 553 |
'type' => 'checkbox', |
| 554 |
'label' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 555 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad' ), |
| 556 |
), |
| 557 |
array( |
| 558 |
'type' => 'checkbox', |
| 559 |
'key' => 'google_ua_add_to_cart_event', |
| 560 |
'label' => __( 'Enable AddtoCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 561 |
), |
| 562 |
array( |
| 563 |
'type' => 'checkbox', |
| 564 |
'key' => 'google_ua_initiate_checkout_event', |
| 565 |
'label' => __( 'Enable BeginCheckout Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 566 |
), |
| 567 |
array( |
| 568 |
'type' => 'checkbox', |
| 569 |
'key' => 'google_ua_add_payment_info_event', |
| 570 |
'label' => __( 'Enable AddPaymentInfo Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 571 |
), |
| 572 |
array( |
| 573 |
'type' => 'checkbox', |
| 574 |
'key' => 'google_ua_add_shipping_info_event', |
| 575 |
'label' => __( 'Enable AddShippingInfo Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 576 |
), |
| 577 |
|
| 578 |
|
| 579 |
array( |
| 580 |
'key' => 'is_ga_purchase_page_view', |
| 581 |
'type' => 'checklist', |
| 582 |
'label' => __( 'Purchase Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 583 |
'values' => array( |
| 584 |
array( |
| 585 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 586 |
'value' => 'yes', |
| 587 |
), |
| 588 |
), |
| 589 |
), |
| 590 |
array( |
| 591 |
'key' => 'is_ga_purchase_event', |
| 592 |
'type' => 'checklist', |
| 593 |
'label' => '', |
| 594 |
'values' => array( |
| 595 |
array( |
| 596 |
'name' => __( 'Enable Purchase Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 597 |
'value' => 'yes', |
| 598 |
), |
| 599 |
), |
| 600 |
), |
| 601 |
array( |
| 602 |
'type' => 'label', |
| 603 |
'key' => 'label_section_head_tr', |
| 604 |
'label' => __( 'Track Steps', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 605 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 606 |
), |
| 607 |
array( |
| 608 |
'key' => 'is_ga_custom_events', |
| 609 |
'label' => __( 'Enable Custom Funnel Step Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 610 |
'hint' => __( 'Fire "Woofunnels_Sales", "Woofunnels_Checkout", "Woofunnels_Upsell", "Woofunnels_Downsell", "Woofunnels_Thankyou", "Woofunnels_Optin" & "Woofunnels_OptinConfirmation" respectively when user visits the page.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 611 |
'type' => 'checkbox', |
| 612 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad', 'bwf_clear_rgt_width' ), |
| 613 |
), |
| 614 |
|
| 615 |
array( |
| 616 |
'type' => 'label', |
| 617 |
'key' => 'label_section_head_adv', |
| 618 |
'label' => __( 'Advanced', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 619 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 620 |
), |
| 621 |
array( |
| 622 |
'key' => 'google_ua_variable_as_simple', |
| 623 |
'type' => 'checkbox', |
| 624 |
'label' => __( 'Enable this to send parent product ID for variable products', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 625 |
'hint' => __( 'Turn this option ON when your Product Catalog doesn\'t include the variants for variable products.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 626 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad', 'bwf_clear_rgt_width', 'rem_hint_pad' ), |
| 627 |
), |
| 628 |
array( |
| 629 |
'key' => 'google_ua_content_id_type', |
| 630 |
'styleClasses' => array( 'group-one-class' ), |
| 631 |
'type' => 'select', |
| 632 |
'label' => '', |
| 633 |
'default' => '0', |
| 634 |
'values' => array( |
| 635 |
array( |
| 636 |
'id' => '0', |
| 637 |
'name' => __( 'Select content id parameter', 'funnel-builder' ), |
| 638 |
), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 639 |
array( |
| 640 |
'id' => 'product_id', |
| 641 |
'name' => __( 'Product ID', 'funnel-builder' ), |
| 642 |
), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 643 |
array( |
| 644 |
'id' => 'product_sku', |
| 645 |
'name' => __( 'Product SKU', 'funnel-builder' ), |
| 646 |
), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 647 |
), |
| 648 |
'selectOptions' => array( |
| 649 |
'hideNoneSelectedText' => true, |
| 650 |
), |
| 651 |
), |
| 652 |
array( |
| 653 |
'key' => 'google_ua_content_id_prefix', |
| 654 |
'type' => 'input', |
| 655 |
'label' => '', |
| 656 |
'placeholder' => __( 'Content ID Prefix', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 657 |
'hint' => __( 'Add prefix to the content_id parameter (optional)', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 658 |
|
| 659 |
), |
| 660 |
array( |
| 661 |
'key' => 'google_ua_content_id_suffix', |
| 662 |
'type' => 'input', |
| 663 |
'label' => '', |
| 664 |
'placeholder' => __( 'Content ID Suffix', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 665 |
'hint' => __( 'Add suffix to the content_id parameter (optional)', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 666 |
|
| 667 |
), |
| 668 |
array( |
| 669 |
'key' => 'ga_exclude_from_total', |
| 670 |
'label' => '', |
| 671 |
'type' => 'checklist', |
| 672 |
'hint' => __( 'Check above boxes to exclude shipping/taxes from the total.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 673 |
'values' => array( |
| 674 |
array( |
| 675 |
'name' => __( 'Exclude Shipping from Total', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 676 |
'value' => 'is_disable_shipping', |
| 677 |
), |
| 678 |
array( |
| 679 |
'name' => __( 'Exclude Taxes from Total', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 680 |
'value' => 'is_disable_taxes', |
| 681 |
), |
| 682 |
|
| 683 |
), |
| 684 |
|
| 685 |
), |
| 686 |
|
| 687 |
), |
| 688 |
'priority' => 15, |
| 689 |
), |
| 690 |
'google_ads' => array( |
| 691 |
|
| 692 |
'title' => __( 'Google Ads', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 693 |
'heading' => __( 'Google Ads', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 694 |
'slug' => 'google_ads', |
| 695 |
'fields' => array( |
| 696 |
array( |
| 697 |
'key' => 'gad_key', |
| 698 |
'type' => 'tracking_id', |
| 699 |
'label' => __( 'Conversion ID', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 700 |
'placeholder' => __( 'AW-837491263', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 701 |
'input_hint' => __( 'Log into your Google Ads account to find your Conversion ID. <a target="_blank" href="https://funnelkit.com/docs/funnel-builder/global-settings/google-ads/#step-1-go-to-your-google-ads-account">Learn More</a>', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 702 |
), |
| 703 |
array( |
| 704 |
'type' => 'label', |
| 705 |
'key' => 'label_section_head_ga', |
| 706 |
'label' => __( 'Site Wide Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 707 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 708 |
), |
| 709 |
array( |
| 710 |
'key' => 'is_gad_page_view_global', |
| 711 |
'label' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 712 |
'type' => 'checkbox', |
| 713 |
'hint' => __( 'Use this option to fire PageView event on all site pages', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 714 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad', 'bwf_clear_rgt_width' ), |
| 715 |
), |
| 716 |
array( |
| 717 |
'key' => 'is_gad_add_to_cart_global', |
| 718 |
'label' => __( 'Enable AddtoCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 719 |
'type' => 'checkbox', |
| 720 |
'hint' => __( 'Use this option to fire AddtoCart event when customer add items to the cart', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 721 |
), |
| 722 |
array( |
| 723 |
'key' => 'gad_addtocart_global_conversion_label', |
| 724 |
'type' => 'tracking_id_dependent', |
| 725 |
'tracking_id_key' => 'gad_key', |
| 726 |
'label' => '', |
| 727 |
'placeholder' => __( 'Enter Conversion Label (Optional)', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 728 |
), |
| 729 |
array( |
| 730 |
'key' => 'is_gad_view_item_global', |
| 731 |
'label' => __( 'Enable ViewItem Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 732 |
'type' => 'checkbox', |
| 733 |
'hint' => __( 'Use this option to fire ViewItem event on product pages', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 734 |
), |
| 735 |
array( |
| 736 |
'key' => 'is_gad_page_view_lp', |
| 737 |
'label' => __( 'Sales Page Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 738 |
'type' => 'checklist', |
| 739 |
'values' => array( |
| 740 |
array( |
| 741 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 742 |
'value' => 'yes', |
| 743 |
), |
| 744 |
), |
| 745 |
), |
| 746 |
array( |
| 747 |
'key' => 'is_gad_page_view_op', |
| 748 |
'label' => __( 'Optin Page Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 749 |
'type' => 'checklist', |
| 750 |
'values' => array( |
| 751 |
array( |
| 752 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 753 |
'value' => 'yes', |
| 754 |
), |
| 755 |
), |
| 756 |
), |
| 757 |
array( |
| 758 |
'key' => 'is_gad_lead_op', |
| 759 |
'label' => '', |
| 760 |
'type' => 'checklist', |
| 761 |
'values' => array( |
| 762 |
array( |
| 763 |
'name' => __( 'Enable Lead Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 764 |
'value' => 'yes', |
| 765 |
), |
| 766 |
), |
| 767 |
), |
| 768 |
array( |
| 769 |
'key' => 'gad_lead_conversion_label', |
| 770 |
'type' => 'tracking_id_dependent', |
| 771 |
'tracking_id_key' => 'gad_key', |
| 772 |
'label' => '', |
| 773 |
'placeholder' => __( 'Enter Conversion Label (Optional)', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 774 |
), |
| 775 |
|
| 776 |
|
| 777 |
array( |
| 778 |
'type' => 'label', |
| 779 |
'key' => 'label_section_head_ga', |
| 780 |
'label' => __( 'Order Bump Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 781 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 782 |
), |
| 783 |
|
| 784 |
|
| 785 |
array( |
| 786 |
'key' => 'is_gad_add_to_cart_bump', |
| 787 |
'type' => 'checkbox', |
| 788 |
'label' => __( 'Enable AddtoCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 789 |
'hint' => __( 'This event will fire when user accepts the order bump', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 790 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad' ), |
| 791 |
), |
| 792 |
array( |
| 793 |
'key' => 'gad_addtocart_bump_conversion_label', |
| 794 |
'type' => 'tracking_id_dependent', |
| 795 |
'tracking_id_key' => 'gad_key', |
| 796 |
'label' => '', |
| 797 |
'placeholder' => __( 'Enter Conversion Label (Optional)', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 798 |
), |
| 799 |
array( |
| 800 |
'key' => 'is_gad_custom_bump', |
| 801 |
'type' => 'checkbox', |
| 802 |
'label' => __( 'Enable Order Bump Conversion Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 803 |
'hint' => __( 'Fire "Woofunnels_Bump" custom event when user accepts the order bump', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 804 |
|
| 805 |
), |
| 806 |
|
| 807 |
|
| 808 |
array( |
| 809 |
'type' => 'label', |
| 810 |
'key' => 'label_section_head_gad', |
| 811 |
'label' => __( 'Checkout Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 812 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 813 |
), |
| 814 |
|
| 815 |
array( |
| 816 |
'key' => 'google_ads_is_page_view', |
| 817 |
'type' => 'checkbox', |
| 818 |
'label' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 819 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad' ), |
| 820 |
|
| 821 |
), |
| 822 |
array( |
| 823 |
'key' => 'google_ads_add_to_cart_event', |
| 824 |
'type' => 'checkbox', |
| 825 |
'label' => __( 'Enable AddToCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 826 |
|
| 827 |
), |
| 828 |
array( |
| 829 |
'key' => 'gad_addtocart_checkout_conversion_label', |
| 830 |
'type' => 'tracking_id_dependent', |
| 831 |
'tracking_id_key' => 'gad_key', |
| 832 |
'label' => '', |
| 833 |
'placeholder' => __( 'Enter Conversion Label (Optional)', 'funnel-builder' ), |
| 834 |
|
| 835 |
), |
| 836 |
array( |
| 837 |
'key' => 'google_ads_initiate_checkout_event', |
| 838 |
'type' => 'checkbox', |
| 839 |
'label' => __( 'Enable InitiateCheckout Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 840 |
), |
| 841 |
array( |
| 842 |
'key' => 'is_gad_pageview_event', |
| 843 |
'type' => 'checklist', |
| 844 |
'label' => __( 'Purchase Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 845 |
'values' => array( |
| 846 |
array( |
| 847 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 848 |
'value' => 'yes', |
| 849 |
), |
| 850 |
), |
| 851 |
), |
| 852 |
array( |
| 853 |
'key' => 'is_gad_purchase_event', |
| 854 |
'type' => 'checklist', |
| 855 |
'label' => '', |
| 856 |
'values' => array( |
| 857 |
array( |
| 858 |
'name' => __( 'Enable Conversion Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 859 |
'value' => 'yes', |
| 860 |
), |
| 861 |
), |
| 862 |
), |
| 863 |
array( |
| 864 |
'key' => 'gad_conversion_label', |
| 865 |
'type' => 'tracking_id_dependent', |
| 866 |
'tracking_id_key' => 'gad_key', |
| 867 |
'label' => __( 'Conversion Label', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 868 |
'placeholder' => __( 'Enter Conversion Label (Optional)', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 869 |
), |
| 870 |
array( |
| 871 |
'type' => 'label', |
| 872 |
'key' => 'label_section_head_ga', |
| 873 |
'label' => __( 'Track Steps', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 874 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 875 |
), |
| 876 |
array( |
| 877 |
'key' => 'is_gad_custom_events', |
| 878 |
'label' => __( 'Enable Custom Funnel Step Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 879 |
'hint' => __( 'Fire "Woofunnels_Sales", "Woofunnels_Checkout", "Woofunnels_Upsell", "Woofunnels_Downsell", "Woofunnels_Thankyou", "Woofunnels_Optin" & "Woofunnels_OptinConfirmation" respectively when user visits the page.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 880 |
|
| 881 |
'type' => 'checkbox', |
| 882 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad', 'bwf_clear_rgt_width' ), |
| 883 |
), |
| 884 |
|
| 885 |
array( |
| 886 |
'type' => 'label', |
| 887 |
'key' => 'label_section_head_ga', |
| 888 |
'label' => __( 'Advanced', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 889 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 890 |
), |
| 891 |
array( |
| 892 |
'key' => 'google_ads_variable_as_simple', |
| 893 |
'type' => 'checkbox', |
| 894 |
'label' => __( 'Enable this to send parent product ID for variable products', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 895 |
'hint' => __( 'Turn this option ON when your Product Catalog doesn\'t include the variants for variable products.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 896 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad', 'bwf_clear_rgt_width', 'rem_hint_pad' ), |
| 897 |
), |
| 898 |
array( |
| 899 |
'key' => 'google_ads_content_id_type', |
| 900 |
'styleClasses' => array( 'group-one-class' ), |
| 901 |
'type' => 'select', |
| 902 |
'label' => '', |
| 903 |
'default' => '0', |
| 904 |
'values' => array( |
| 905 |
array( |
| 906 |
'id' => '0', |
| 907 |
'name' => __( 'Select content id parameter', 'funnel-builder' ), |
| 908 |
), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 909 |
array( |
| 910 |
'id' => 'product_id', |
| 911 |
'name' => __( 'Product ID', 'funnel-builder' ), |
| 912 |
), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 913 |
array( |
| 914 |
'id' => 'product_sku', |
| 915 |
'name' => __( 'Product SKU', 'funnel-builder' ), |
| 916 |
), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 917 |
), |
| 918 |
'selectOptions' => array( |
| 919 |
'hideNoneSelectedText' => true, |
| 920 |
), |
| 921 |
), |
| 922 |
array( |
| 923 |
'key' => 'google_ads_content_id_prefix', |
| 924 |
'type' => 'input', |
| 925 |
'label' => '', |
| 926 |
'placeholder' => __( 'Content ID Prefix', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 927 |
'hint' => __( 'Add prefix to the content_id parameter (optional)', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 928 |
|
| 929 |
), |
| 930 |
array( |
| 931 |
'key' => 'google_ads_content_id_suffix', |
| 932 |
'type' => 'input', |
| 933 |
'label' => '', |
| 934 |
'placeholder' => __( 'Content ID Suffix', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 935 |
'hint' => __( 'Add suffix to the content_id parameter (optional)', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 936 |
|
| 937 |
), |
| 938 |
array( |
| 939 |
'key' => 'gad_exclude_from_total', |
| 940 |
'label' => '', |
| 941 |
'type' => 'checklist', |
| 942 |
'hint' => __( 'Check above boxes to exclude shipping/taxes from the total.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 943 |
'values' => array( |
| 944 |
array( |
| 945 |
'name' => __( 'Exclude Shipping from Total', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 946 |
'value' => 'is_disable_shipping', |
| 947 |
), |
| 948 |
array( |
| 949 |
'name' => __( 'Exclude Taxes from Total', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 950 |
'value' => 'is_disable_taxes', |
| 951 |
), |
| 952 |
|
| 953 |
), |
| 954 |
|
| 955 |
), |
| 956 |
|
| 957 |
|
| 958 |
), |
| 959 |
'priority' => 20, |
| 960 |
), |
| 961 |
'pinterest' => array( |
| 962 |
'title' => __( 'Pinterest', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 963 |
'heading' => __( 'Pinterest', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 964 |
'slug' => 'pinterest', |
| 965 |
'fields' => array( |
| 966 |
array( |
| 967 |
'type' => 'tracking_id', |
| 968 |
'key' => 'pint_key', |
| 969 |
'label' => __( 'Tag ID', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 970 |
'placeholder' => __( '2614535298742', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 971 |
'input_hint' => __( 'Log into your Pinterest Ads Manager Account and find Pixel ID. <a target="_blank" href="https://funnelkit.com/docs/funnel-builder/global-settings/pinterest/">Learn More</a>', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 972 |
), |
| 973 |
|
| 974 |
array( |
| 975 |
'type' => 'label', |
| 976 |
'key' => 'label_section_head_ga', |
| 977 |
'label' => __( 'Site Wide Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 978 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 979 |
), |
| 980 |
array( |
| 981 |
'key' => 'is_pint_page_view_global', |
| 982 |
'label' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 983 |
'type' => 'checkbox', |
| 984 |
'hint' => __( 'Use this option to fire PageView event on all site pages', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 985 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad', 'bwf_clear_rgt_width' ), |
| 986 |
), |
| 987 |
array( |
| 988 |
'key' => 'is_pint_page_visit_global', |
| 989 |
'label' => __( 'Enable PageVisit Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 990 |
'type' => 'checkbox', |
| 991 |
'hint' => __( 'Use this option to fire PageVisit event on product pages', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 992 |
), |
| 993 |
array( |
| 994 |
'key' => 'is_pint_add_to_cart_global', |
| 995 |
'label' => __( 'Enable AddToCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 996 |
'type' => 'checkbox', |
| 997 |
'hint' => __( 'Use this option to fire AddtoCart event when customer add items to the cart', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 998 |
), |
| 999 |
|
| 1000 |
array( |
| 1001 |
'key' => 'is_pint_page_view_lp', |
| 1002 |
'label' => __( 'Sales Page Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1003 |
'type' => 'checklist', |
| 1004 |
'values' => array( |
| 1005 |
array( |
| 1006 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1007 |
'value' => 'yes', |
| 1008 |
), |
| 1009 |
), |
| 1010 |
), |
| 1011 |
|
| 1012 |
array( |
| 1013 |
'key' => 'is_pint_page_view_op', |
| 1014 |
'label' => __( 'Optin Page Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1015 |
'type' => 'checklist', |
| 1016 |
'values' => array( |
| 1017 |
array( |
| 1018 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1019 |
'value' => 'yes', |
| 1020 |
), |
| 1021 |
), |
| 1022 |
), |
| 1023 |
|
| 1024 |
array( |
| 1025 |
'key' => 'is_pint_lead_op', |
| 1026 |
'label' => '', |
| 1027 |
'type' => 'checklist', |
| 1028 |
'values' => array( |
| 1029 |
array( |
| 1030 |
'name' => __( 'Enable Lead Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1031 |
'value' => 'yes', |
| 1032 |
), |
| 1033 |
), |
| 1034 |
), |
| 1035 |
|
| 1036 |
|
| 1037 |
array( |
| 1038 |
'type' => 'label', |
| 1039 |
'key' => 'label_section_head_ga', |
| 1040 |
'label' => __( 'Order Bump Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1041 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 1042 |
), |
| 1043 |
|
| 1044 |
|
| 1045 |
array( |
| 1046 |
'key' => 'is_pint_add_to_cart_bump', |
| 1047 |
'type' => 'checkbox', |
| 1048 |
'label' => __( 'Enable AddtoCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1049 |
'hint' => __( 'This event will fire when user accepts the order bump', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1050 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad' ), |
| 1051 |
), |
| 1052 |
array( |
| 1053 |
'key' => 'is_pint_custom_bump', |
| 1054 |
'type' => 'checkbox', |
| 1055 |
'label' => __( 'Enable Order Bump Conversion Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1056 |
'hint' => __( 'Fire "Woofunnels_Bump" custom event when user accepts the order bump', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1057 |
|
| 1058 |
), |
| 1059 |
|
| 1060 |
array( |
| 1061 |
'type' => 'label', |
| 1062 |
'key' => 'label_section_head_pint', |
| 1063 |
'label' => __( 'Checkout Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1064 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 1065 |
), |
| 1066 |
|
| 1067 |
array( |
| 1068 |
'key' => 'pint_is_page_view', |
| 1069 |
'type' => 'checkbox', |
| 1070 |
'label' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1071 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad' ), |
| 1072 |
), |
| 1073 |
|
| 1074 |
array( |
| 1075 |
'key' => 'pint_add_to_cart_event', |
| 1076 |
'type' => 'checkbox', |
| 1077 |
'label' => __( 'Enable AddToCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1078 |
|
| 1079 |
), |
| 1080 |
array( |
| 1081 |
'key' => 'pint_initiate_checkout_event', |
| 1082 |
'type' => 'checkbox', |
| 1083 |
'label' => __( 'Enable InitiateCheckout Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1084 |
|
| 1085 |
), |
| 1086 |
array( |
| 1087 |
'key' => 'is_pint_pageview_event', |
| 1088 |
'type' => 'checklist', |
| 1089 |
'label' => __( 'Purchase Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1090 |
'values' => array( |
| 1091 |
array( |
| 1092 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1093 |
'value' => 'yes', |
| 1094 |
), |
| 1095 |
), |
| 1096 |
), |
| 1097 |
array( |
| 1098 |
'key' => 'is_pint_purchase_event', |
| 1099 |
'type' => 'checklist', |
| 1100 |
'label' => '', |
| 1101 |
'values' => array( |
| 1102 |
array( |
| 1103 |
'name' => __( 'Enable Purchase Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1104 |
'value' => 'yes', |
| 1105 |
), |
| 1106 |
), |
| 1107 |
), |
| 1108 |
array( |
| 1109 |
'type' => 'label', |
| 1110 |
'key' => 'label_section_head_ga', |
| 1111 |
'label' => __( 'Track Steps', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1112 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 1113 |
), |
| 1114 |
array( |
| 1115 |
'key' => 'is_pint_custom_events', |
| 1116 |
'label' => __( 'Enable Custom Funnel Step Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1117 |
'hint' => __( 'Fire "Woofunnels_Sales", "Woofunnels_Checkout", "Woofunnels_Upsell", "Woofunnels_Downsell", "Woofunnels_Thankyou", "Woofunnels_Optin", "Woofunnels_OptinConfirmation" respectively when user visits the page.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1118 |
|
| 1119 |
'type' => 'checkbox', |
| 1120 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad', 'bwf_clear_rgt_width' ), |
| 1121 |
), |
| 1122 |
|
| 1123 |
array( |
| 1124 |
'type' => 'label', |
| 1125 |
'key' => 'label_section_head_ga', |
| 1126 |
'label' => __( 'Advanced', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1127 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 1128 |
), |
| 1129 |
array( |
| 1130 |
'key' => 'pint_variable_as_simple', |
| 1131 |
'type' => 'checkbox', |
| 1132 |
'label' => __( 'Enable this to send parent product ID for variable products', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1133 |
'hint' => __( 'Turn this option ON when your Product Catalog doesn\'t include the variants for variable products.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1134 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad', 'bwf_clear_rgt_width', 'rem_hint_pad' ), |
| 1135 |
), |
| 1136 |
array( |
| 1137 |
'key' => 'pint_content_id_type', |
| 1138 |
'styleClasses' => array( 'group-one-class' ), |
| 1139 |
'type' => 'select', |
| 1140 |
'label' => '', |
| 1141 |
'default' => '0', |
| 1142 |
'values' => array( |
| 1143 |
array( |
| 1144 |
'id' => '0', |
| 1145 |
'name' => __( 'Select content id parameter', 'funnel-builder' ), |
| 1146 |
), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1147 |
array( |
| 1148 |
'id' => 'product_id', |
| 1149 |
'name' => __( 'Product ID', 'funnel-builder' ), |
| 1150 |
), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1151 |
array( |
| 1152 |
'id' => 'product_sku', |
| 1153 |
'name' => __( 'Product SKU', 'funnel-builder' ), |
| 1154 |
), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1155 |
), |
| 1156 |
'selectOptions' => array( |
| 1157 |
'hideNoneSelectedText' => true, |
| 1158 |
), |
| 1159 |
), |
| 1160 |
array( |
| 1161 |
'key' => 'pint_content_id_prefix', |
| 1162 |
'type' => 'input', |
| 1163 |
'label' => '', |
| 1164 |
'placeholder' => __( 'Content ID Prefix', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1165 |
'hint' => __( 'Add prefix to the content_id parameter (optional)', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1166 |
|
| 1167 |
), |
| 1168 |
array( |
| 1169 |
'key' => 'pint_content_id_suffix', |
| 1170 |
'type' => 'input', |
| 1171 |
'label' => '', |
| 1172 |
'placeholder' => __( 'Content ID Suffix', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1173 |
'hint' => __( 'Add suffix to the content_id parameter (optional)', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1174 |
|
| 1175 |
), |
| 1176 |
array( |
| 1177 |
'key' => 'pint_exclude_from_total', |
| 1178 |
'label' => '', |
| 1179 |
'type' => 'checklist', |
| 1180 |
'hint' => __( 'Check above boxes to exclude shipping/taxes from the total.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1181 |
'values' => array( |
| 1182 |
array( |
| 1183 |
'name' => __( 'Exclude Shipping from Total', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1184 |
'value' => 'is_disable_shipping', |
| 1185 |
), |
| 1186 |
array( |
| 1187 |
'name' => __( 'Exclude Taxes from Total', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1188 |
'value' => 'is_disable_taxes', |
| 1189 |
), |
| 1190 |
|
| 1191 |
), |
| 1192 |
|
| 1193 |
), |
| 1194 |
), |
| 1195 |
|
| 1196 |
|
| 1197 |
'priority' => 25, |
| 1198 |
), |
| 1199 |
'tiktok' => array( |
| 1200 |
|
| 1201 |
'title' => __( 'TikTok', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1202 |
'heading' => __( 'TikTok', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1203 |
'slug' => 'tiktok', |
| 1204 |
'fields' => array( |
| 1205 |
array( |
| 1206 |
'key' => 'tiktok_pixel', |
| 1207 |
'type' => 'tracking_id', |
| 1208 |
'label' => __( 'TikTok ID', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1209 |
'placeholder' => __( 'D4L9N62FLPENAMTU4HG9', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1210 |
'input_hint' => __( 'Log into your Tiktok Business Account and find TikTok ID. <a target="_blank" href="https://funnelkit.com/docs/funnel-builder/global-settings/tiktok/">Learn More</a>', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1211 |
|
| 1212 |
), |
| 1213 |
|
| 1214 |
|
| 1215 |
array( |
| 1216 |
'type' => 'label', |
| 1217 |
'key' => 'label_section_head_ga', |
| 1218 |
'label' => __( 'Site Wide Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1219 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 1220 |
), |
| 1221 |
array( |
| 1222 |
'key' => 'is_tiktok_page_view_global', |
| 1223 |
'label' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1224 |
'type' => 'checkbox', |
| 1225 |
'hint' => __( 'Use this option to fire PageView event on all site pages', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1226 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad', 'bwf_clear_rgt_width' ), |
| 1227 |
), |
| 1228 |
array( |
| 1229 |
'key' => 'is_tiktok_add_to_cart_global', |
| 1230 |
'label' => __( 'Enable AddToCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1231 |
'type' => 'checkbox', |
| 1232 |
'hint' => __( 'Use this option to fire AddtoCart event when customer add items to the cart', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1233 |
), |
| 1234 |
array( |
| 1235 |
'key' => 'is_tiktok_page_product_content_global', |
| 1236 |
'label' => __( 'Enable ViewContent Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1237 |
'type' => 'checkbox', |
| 1238 |
'hint' => __( 'Use this option to fire ViewContent event on product pages', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1239 |
), |
| 1240 |
array( |
| 1241 |
'key' => 'is_tiktok_page_view_lp', |
| 1242 |
'label' => __( 'Sales Page Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1243 |
'type' => 'checklist', |
| 1244 |
'values' => array( |
| 1245 |
array( |
| 1246 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1247 |
'value' => 'yes', |
| 1248 |
), |
| 1249 |
), |
| 1250 |
), |
| 1251 |
array( |
| 1252 |
'key' => 'is_tiktok_page_view_op', |
| 1253 |
'label' => __( 'Optin Page Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1254 |
'type' => 'checklist', |
| 1255 |
'values' => array( |
| 1256 |
array( |
| 1257 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1258 |
'value' => 'yes', |
| 1259 |
), |
| 1260 |
), |
| 1261 |
), |
| 1262 |
array( |
| 1263 |
'type' => 'label', |
| 1264 |
'key' => 'label_section_head_ga', |
| 1265 |
'label' => __( 'Order Bump Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1266 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 1267 |
), |
| 1268 |
|
| 1269 |
|
| 1270 |
array( |
| 1271 |
'key' => 'is_tiktok_add_to_cart_bump', |
| 1272 |
'type' => 'checkbox', |
| 1273 |
'label' => __( 'Enable AddtoCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1274 |
'hint' => __( 'Fire this event when user accepts the order bump', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1275 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad', 'bwf_clear_rgt_width' ), |
| 1276 |
), |
| 1277 |
|
| 1278 |
|
| 1279 |
array( |
| 1280 |
'type' => 'label', |
| 1281 |
'key' => 'label_section_head_tiktok', |
| 1282 |
'label' => __( 'Checkout Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1283 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 1284 |
), |
| 1285 |
|
| 1286 |
array( |
| 1287 |
'key' => 'tiktok_is_page_view', |
| 1288 |
'type' => 'checkbox', |
| 1289 |
'label' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1290 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad' ), |
| 1291 |
), |
| 1292 |
|
| 1293 |
array( |
| 1294 |
'key' => 'tiktok_add_to_cart_event', |
| 1295 |
'type' => 'checkbox', |
| 1296 |
'label' => __( 'Enable AddToCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1297 |
), |
| 1298 |
array( |
| 1299 |
// google_ua_add_to_cart_event |
| 1300 |
'key' => 'tiktok_initiate_checkout_event', |
| 1301 |
'type' => 'checkbox', |
| 1302 |
'label' => __( 'Enable InitiateCheckout Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1303 |
|
| 1304 |
), |
| 1305 |
array( |
| 1306 |
'key' => 'is_tiktok_pageview_event', |
| 1307 |
'type' => 'checklist', |
| 1308 |
'label' => __( 'Purchase Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1309 |
'values' => array( |
| 1310 |
array( |
| 1311 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1312 |
'value' => 'yes', |
| 1313 |
), |
| 1314 |
), |
| 1315 |
), |
| 1316 |
array( |
| 1317 |
'key' => 'is_tiktok_purchase_event', |
| 1318 |
'type' => 'checklist', |
| 1319 |
'label' => '', |
| 1320 |
'values' => array( |
| 1321 |
array( |
| 1322 |
'name' => __( 'Enable Purchase Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1323 |
'value' => 'yes', |
| 1324 |
), |
| 1325 |
), |
| 1326 |
), |
| 1327 |
|
| 1328 |
array( |
| 1329 |
'type' => 'label', |
| 1330 |
'key' => 'label_section_head_ga', |
| 1331 |
'label' => __( 'Advanced', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1332 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 1333 |
), |
| 1334 |
array( |
| 1335 |
'key' => 'tiktok_variable_as_simple', |
| 1336 |
'type' => 'checkbox', |
| 1337 |
'label' => __( 'Enable this to send parent product ID for variable products', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1338 |
'hint' => __( 'Turn this option ON when your Product Catalog doesn\'t include the variants for variable products.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1339 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad', 'bwf_clear_rgt_width', 'rem_hint_pad' ), |
| 1340 |
), |
| 1341 |
), |
| 1342 |
'priority' => 30, |
| 1343 |
), |
| 1344 |
'snapchat' => array( |
| 1345 |
|
| 1346 |
'title' => __( 'Snapchat', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1347 |
'heading' => __( 'Snapchat', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1348 |
'slug' => 'snapchat', |
| 1349 |
'fields' => array( |
| 1350 |
array( |
| 1351 |
'key' => 'snapchat_pixel', |
| 1352 |
'type' => 'tracking_id', |
| 1353 |
'label' => __( 'Pixel ID', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1354 |
'placeholder' => __( '7fc81b23-8e1c-4fde-b2bf-e3f67a19d2fa', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1355 |
'input_hint' => __( 'Log into your Snapchat Business Account and find Pixel ID. <a target="_blank" href="https://funnelkit.com/docs/funnel-builder/global-settings/snapchat/">Learn More</a>', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1356 |
|
| 1357 |
), |
| 1358 |
|
| 1359 |
|
| 1360 |
array( |
| 1361 |
'type' => 'label', |
| 1362 |
'key' => 'label_section_head_ga', |
| 1363 |
'label' => __( 'Site Wide Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1364 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 1365 |
), |
| 1366 |
array( |
| 1367 |
'key' => 'is_snapchat_page_view_global', |
| 1368 |
'label' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1369 |
'type' => 'checkbox', |
| 1370 |
'hint' => __( 'Use this option to fire PageView event on all site pages', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1371 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad' ), |
| 1372 |
), |
| 1373 |
array( |
| 1374 |
'key' => 'is_snapchat_add_to_cart_global', |
| 1375 |
'label' => __( 'Enable AddtoCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1376 |
'type' => 'checkbox', |
| 1377 |
'hint' => __( 'Use this option to fire AddtoCart event when customer add items to the cart', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1378 |
), |
| 1379 |
array( |
| 1380 |
'key' => 'is_snapchat_page_view_lp', |
| 1381 |
'label' => __( 'Sales Page Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1382 |
'type' => 'checklist', |
| 1383 |
'values' => array( |
| 1384 |
array( |
| 1385 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1386 |
'value' => 'yes', |
| 1387 |
), |
| 1388 |
), |
| 1389 |
), |
| 1390 |
array( |
| 1391 |
'key' => 'is_snapchat_page_view_op', |
| 1392 |
'label' => __( 'Optin Page Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1393 |
'type' => 'checklist', |
| 1394 |
'values' => array( |
| 1395 |
array( |
| 1396 |
'name' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1397 |
'value' => 'yes', |
| 1398 |
), |
| 1399 |
), |
| 1400 |
), |
| 1401 |
|
| 1402 |
|
| 1403 |
array( |
| 1404 |
'type' => 'label', |
| 1405 |
'key' => 'label_section_head_ga', |
| 1406 |
'label' => __( 'Order Bump Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1407 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 1408 |
), |
| 1409 |
|
| 1410 |
|
| 1411 |
array( |
| 1412 |
'key' => 'is_snapchat_add_to_cart_bump', |
| 1413 |
'type' => 'checkbox', |
| 1414 |
'label' => __( 'Enable AddtoCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1415 |
'hint' => __( 'Fire this event when user accepts the order bump', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1416 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad', 'bwf_clear_rgt_width' ), |
| 1417 |
), |
| 1418 |
|
| 1419 |
array( |
| 1420 |
'type' => 'label', |
| 1421 |
'key' => 'label_section_head_snapchat', |
| 1422 |
'label' => __( 'Checkout Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1423 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 1424 |
), |
| 1425 |
|
| 1426 |
array( |
| 1427 |
'key' => 'snapchat_is_page_view', |
| 1428 |
'type' => 'checkbox', |
| 1429 |
'label' => __( 'Enable PageView Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1430 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad', 'bwf_clear_rgt_width' ), |
| 1431 |
|
| 1432 |
), |
| 1433 |
array( |
| 1434 |
'key' => 'snapchat_add_to_cart_event', |
| 1435 |
'type' => 'checkbox', |
| 1436 |
'label' => __( 'Enable AddToCart Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1437 |
), |
| 1438 |
array( |
| 1439 |
'key' => 'snapchat_initiate_checkout_event', |
| 1440 |
'type' => 'checkbox', |
| 1441 |
'label' => __( 'Enable InitiateCheckout Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1442 |
|
| 1443 |
), |
| 1444 |
array( |
| 1445 |
'key' => 'is_snapchat_purchase_event', |
| 1446 |
'type' => 'checklist', |
| 1447 |
'label' => __( 'Purchase Events', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1448 |
'values' => array( |
| 1449 |
array( |
| 1450 |
'name' => __( 'Enable Purchase Event', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1451 |
'value' => 'yes', |
| 1452 |
), |
| 1453 |
), |
| 1454 |
), |
| 1455 |
array( |
| 1456 |
'type' => 'label', |
| 1457 |
'key' => 'label_section_head_ga', |
| 1458 |
'label' => __( 'Advanced', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1459 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 1460 |
), |
| 1461 |
array( |
| 1462 |
'key' => 'snapchat_variable_as_simple', |
| 1463 |
'type' => 'checkbox', |
| 1464 |
'label' => __( 'Enable this to send parent product ID for variable products', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1465 |
'hint' => __( 'Turn this option ON when your Product Catalog doesn\'t include the variants for variable products.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1466 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end', 'bwf_remove_lft_pad', 'bwf_clear_rgt_width', 'rem_hint_pad' ), |
| 1467 |
), |
| 1468 |
), |
| 1469 |
'priority' => 30, |
| 1470 |
), |
| 1471 |
'utm_parameter' => array( |
| 1472 |
'title' => __( 'First Party Tracking', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1473 |
'heading' => __( 'First Party Tracking', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1474 |
'slug' => 'utm_parameter', |
| 1475 |
'fields' => array( |
| 1476 |
array( |
| 1477 |
'type' => 'label', |
| 1478 |
'key' => 'label_section_head_fb', |
| 1479 |
'label' => __( 'Conversion Tracking', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1480 |
'styleClasses' => array( 'wfacp_setting_track_and_events_start', 'bwf_wrap_custom_html_tracking_general' ), |
| 1481 |
), |
| 1482 |
array( |
| 1483 |
'key' => 'track_utms', |
| 1484 |
'type' => 'upgrade_pro', |
| 1485 |
'label' => __( 'In the lite version, you manage UTM tracking with third-party tools. In the Pro version, we store UTM information and provide real-time analytics.', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1486 |
'styleClasses' => array( 'wfacp_checkbox_wrap', 'wfacp_setting_track_and_events_end' ), |
| 1487 |
'hint' => '', |
| 1488 |
), |
| 1489 |
|
| 1490 |
), |
| 1491 |
'priority' => 5, |
| 1492 |
), |
| 1493 |
'funnelkit_advanced' => array( |
| 1494 |
'title' => __( 'Theme CSS and JavaScript', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1495 |
'heading' => __( 'Enabling this setting will apply theme CSS and JavaScript for FunnelKit canvas and FunnelKit Boxed made template', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1496 |
'slug' => 'allow_theme_css', |
| 1497 |
'fields' => array( |
| 1498 |
array( |
| 1499 |
'type' => 'checklist', |
| 1500 |
'key' => 'allow_theme_css', |
| 1501 |
'label' => __( 'Enable theme CSS and JavaScript', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1502 |
'value' => array(), |
| 1503 |
'options' => array( |
| 1504 |
array( |
| 1505 |
'value' => 'wfacp_checkout', |
| 1506 |
'label' => __( 'Checkout', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1507 |
), |
| 1508 |
array( |
| 1509 |
'value' => 'wffn_landing', |
| 1510 |
'label' => __( 'Sales', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1511 |
), |
| 1512 |
array( |
| 1513 |
'value' => 'wfocu_offer', |
| 1514 |
'label' => __( 'One Click Upsell Offer', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1515 |
'isPro' => true, |
| 1516 |
), |
| 1517 |
array( |
| 1518 |
'value' => 'wffn_ty', |
| 1519 |
'label' => __( 'Thank you', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1520 |
), |
| 1521 |
|
| 1522 |
array( |
| 1523 |
'value' => 'wffn_optin', |
| 1524 |
'label' => __( 'Optin', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1525 |
), |
| 1526 |
array( |
| 1527 |
'value' => 'wffn_oty', |
| 1528 |
'label' => __( 'Optin Confirmation', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1529 |
), |
| 1530 |
), |
| 1531 |
'select_all' => true, |
| 1532 |
'select_all_label' => __( 'Select All Steps', 'funnel-builder' ), // phpcs:ignore WordPress.WP.I18n.TextDomainMismatch |
| 1533 |
'orientation' => 'horizontal', |
| 1534 |
), |
| 1535 |
), |
| 1536 |
'priority' => 25, |
| 1537 |
), |
| 1538 |
|
| 1539 |
) |
| 1540 |
); |
| 1541 |
|