addToCart triggered twice
-
We are not sure what caused this and is troubleshooting. We’d like to rule out the possibility of a bug from this plugin. The other thing we’d like to have input from you is what WooCommerce event triggers ‘addToCart’. Is it added_to_cart or something else?
Thanks
ShawnThe page I need help with: [log in to see the link]
-
Hi @wpshushu ,
The other thing we’d like to have input from you is what WooCommerce event triggers ‘addToCart’. Is it added_to_cart or something else?
The addToCart event is triggered whenever a customer adds a product to cart. Are you seeing multiple addToCart events being triggered on a single usage of the add to cart button? If so, then is it possible that you’re using multiple Facebook pixel-related extensions on your site? If so, then it may be why you’re seeing multiple addToCart event triggers.
For us to understand your setup further, could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
Plugin wise, we use Facebook for WooCommerce.
We do have two pixels integrated. One by this plugin, one manually added by using the facebook_woocommerce_pixel_init hook.
However for each pixel, addToCart is triggered twice when “add to cart” button is clicked on a product page. Screenshot https://www.screencast.com/t/d7rgfFiPh
SYSTEM INFO
### WordPress Environment ### WordPress address (URL): https://www.yoyoshop123.com Site address (URL): https://www.yoyoshop123.com WC Version: 5.3.0 REST API Version: ✔ 5.3.0 WC Blocks Version: ✔ 4.9.1 Action Scheduler Version: ✔ 3.1.6 WC Admin Version: ✔ 2.2.6 Log Directory Writable: ✔ WP Version: 5.7.2 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: – Language: zh_TW External object cache: ✔ ### Server Environment ### Server Info: Apache/2.4.29 (Ubuntu) PHP Version: 7.4.18 PHP Post Max Size: 16 MB PHP Time Limit: 600 PHP Max Input Vars: 1000 cURL Version: 7.58.0 OpenSSL/1.1.1j SUHOSIN Installed: – MySQL Version: 5.7.33-0ubuntu0.18.04.1-log Max Upload Size: 16 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 5.3.0 WC Database Prefix: wp_ Total Database Size: 2053.88MB Database Data Size: 1393.71MB Database Index Size: 660.17MB wp_woocommerce_sessions: Data: 40.93MB + Index: 1.16MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 25.27MB + Index: 10.16MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 257.08MB + Index: 190.31MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.03MB + Index: 0.03MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM cache_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_actionscheduler_actions: Data: 5.02MB + Index: 4.72MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 4.02MB + Index: 3.03MB + Engine InnoDB wp_admin_columns: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_aelia_dismissed_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_alm: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_atum_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_atum_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cjtoolbox_authors: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_cjtoolbox_backups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_cjtoolbox_blocks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_cjtoolbox_block_files: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_cjtoolbox_block_pins: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cjtoolbox_block_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cjtoolbox_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cjtoolbox_form_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_cjtoolbox_form_group_parameters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_cjtoolbox_form_group_xfields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cjtoolbox_packages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cjtoolbox_package_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cjtoolbox_parameters: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_cjtoolbox_parameter_typedef: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_cjtoolbox_parameter_typeparams: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_cjtoolbox_templates: Data: 0.06MB + Index: 0.11MB + Engine InnoDB wp_cjtoolbox_template_revisions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Data: 2.22MB + Index: 1.02MB + Engine MyISAM wp_comments: Data: 45.68MB + Index: 15.01MB + Engine MyISAM wp_duplicator_pro_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_duplicator_pro_packages: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_es_advanced_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_es_deliverreport: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_es_emaillist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_es_notification: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_es_sentdetails: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_es_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_EWD_OTP_Customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_EWD_OTP_Custom_Fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_EWD_OTP_Fields_Meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_EWD_OTP_Orders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_EWD_OTP_Order_Statuses: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_EWD_OTP_Sales_Reps: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ewwwio_images: Data: 20.55MB + Index: 29.22MB + Engine InnoDB wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_e_submissions_values: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_fm_file_action_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gf_entry: Data: 0.34MB + Index: 0.06MB + Engine InnoDB wp_gf_entry_meta: Data: 0.34MB + Index: 0.50MB + Engine InnoDB wp_gf_entry_notes: Data: 0.11MB + Index: 0.03MB + Engine InnoDB wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_form_view: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_icl_content_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_core_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_languages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_icl_languages_translations: Data: 0.19MB + Index: 0.11MB + Engine InnoDB wp_icl_locale_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_message_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_icl_mo_files_domains: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_node: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_strings: Data: 4.52MB + Index: 6.94MB + Engine InnoDB wp_icl_string_packages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_string_pages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_string_positions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_icl_string_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_string_translations: Data: 2.52MB + Index: 1.52MB + Engine InnoDB wp_icl_string_urls: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_translate: Data: 0.08MB + Index: 0.02MB + Engine InnoDB wp_icl_translate_job: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_translations: Data: 2.52MB + Index: 7.06MB + Engine InnoDB wp_icl_translation_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_translation_status: Data: 0.09MB + Index: 0.02MB + Engine InnoDB wp_kanban_boards: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_kanban_estimates: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_kanban_log_comments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_kanban_log_status_changes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_kanban_options: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_kanban_projects: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_kanban_statuses: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_kanban_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_kanban_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_kanban_task_hours: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mclean_refs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mclean_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mgmlp_folders: Data: 0.24MB + Index: 0.25MB + Engine MyISAM wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 10.63MB + Index: 1.59MB + Engine MyISAM wp_postmeta: Data: 434.72MB + Index: 135.25MB + Engine MyISAM wp_posts: Data: 40.08MB + Index: 11.29MB + Engine MyISAM wp_rank_math_internal_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_redirection_items: Data: 0.23MB + Index: 0.30MB + Engine InnoDB wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_rg_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rg_form_meta: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_rg_form_view: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rg_incomplete_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rg_lead: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rg_lead_detail: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rg_lead_detail_long: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rg_lead_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rg_lead_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_rsgiftvoucher: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rspointexpiry: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wp_rsrecordpoints: Data: 0.20MB + Index: 0.00MB + Engine InnoDB wp_rs_expiredpoints_email: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rs_templates_email: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_scroll_news: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_shortpixel_folders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_shortpixel_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_snippets: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_social_users: Data: 1.52MB + Index: 0.30MB + Engine InnoDB wp_sumo_reward_encashing_submitted_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sumo_reward_send_point_submitted_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_term_relationships: Data: 0.17MB + Index: 0.31MB + Engine MyISAM wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_trp_dictionary_zh_tw_en_gb: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_trp_dictionary_zh_tw_en_us: Data: 18.53MB + Index: 16.63MB + Engine InnoDB wp_trp_dictionary_zh_tw_ml_in: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_trp_dictionary_zh_tw_ms_my: Data: 0.22MB + Index: 0.30MB + Engine InnoDB wp_trp_dictionary_zh_tw_th: Data: 9.52MB + Index: 9.58MB + Engine InnoDB wp_trp_dictionary_zh_tw_zh_cn: Data: 8.52MB + Index: 9.58MB + Engine InnoDB wp_trp_dictionary_zh_tw_zh_hk: Data: 1.52MB + Index: 1.81MB + Engine InnoDB wp_trp_gettext_en_gb: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_trp_gettext_en_us: Data: 1.52MB + Index: 0.69MB + Engine InnoDB wp_trp_gettext_ml_in: Data: 0.28MB + Index: 0.19MB + Engine InnoDB wp_trp_gettext_ms_my: Data: 0.45MB + Index: 0.33MB + Engine InnoDB wp_trp_gettext_th: Data: 1.52MB + Index: 0.55MB + Engine InnoDB wp_trp_gettext_zh_cn: Data: 1.52MB + Index: 0.58MB + Engine InnoDB wp_trp_gettext_zh_hk: Data: 0.42MB + Index: 0.38MB + Engine InnoDB wp_trp_gettext_zh_tw: Data: 2.52MB + Index: 1.91MB + Engine InnoDB wp_trp_original_meta: Data: 0.16MB + Index: 0.23MB + Engine InnoDB wp_trp_original_strings: Data: 8.52MB + Index: 11.59MB + Engine InnoDB wp_usermeta: Data: 92.34MB + Index: 34.55MB + Engine MyISAM wp_users: Data: 5.09MB + Index: 4.37MB + Engine MyISAM wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_avatars_cache: Data: 0.31MB + Index: 0.27MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_comments_subscription: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_customer_lookup: Data: 5.52MB + Index: 6.03MB + Engine InnoDB wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_feedback_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_follow_users: Data: 0.02MB + Index: 0.22MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 22.55MB + Index: 20.97MB + Engine InnoDB wp_wc_order_stats: Data: 4.52MB + Index: 5.53MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_phrases: Data: 0.05MB + Index: 0.05MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 1.42MB + Index: 1.95MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_users_rated: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_users_voted: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfBlockedIPLog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfBlocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfConfig: Data: 1.34MB + Index: 0.00MB + Engine InnoDB wp_wfCrawlers: Data: 0.25MB + Index: 0.00MB + Engine InnoDB wp_wfFileChanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfFileMods: Data: 4.52MB + Index: 0.00MB + Engine InnoDB wp_wfHits: Data: 1.02MB + Index: 0.22MB + Engine InnoDB wp_wfHoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfIssues: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_wfKnownFileList: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wp_wfLiveTrafficHuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfLocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfLogins: Data: 0.42MB + Index: 0.14MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfNotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfPendingIssues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfReverseCache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfSNIPCache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfStatus: Data: 0.34MB + Index: 0.19MB + Engine InnoDB wp_wfTrafficRates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_bundled_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wpc_comments_subscription: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpc_phrases: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpc_users_voted: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpda_csv_uploads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_csv_uploads_BACKUP_20200618015624: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_logging: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_logging_BACKUP_20200618015623: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_media: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_media_BACKUP_20200618015624: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_menus: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_menus_BACKUP_20200618015623: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_project: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpda_project_BACKUP_20200618015624: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_project_page: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpda_project_page_BACKUP_20200618015624: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_project_table: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_project_table_BACKUP_20200618015624: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_publisher: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpda_publisher_BACKUP_20200618015623: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_table_design: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_table_design_BACKUP_20200618015623: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_table_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_table_settings_BACKUP_20200618015623: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpfm_shortcodes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpml_mails: Data: 220.52MB + Index: 0.00MB + Engine InnoDB wp_wsal_metadata: Data: 64.59MB + Index: 102.36MB + Engine InnoDB wp_wsal_occurrences: Data: 4.52MB + Index: 6.02MB + Engine InnoDB wp_yith_wcch_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_wcch_sessions: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_yith_ywpar_points_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ylc_chat_rows: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ylc_chat_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ylc_chat_visitors: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ylc_offline_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yoast_seo_links: Data: 0.25MB + Index: 0.13MB + Engine InnoDB wp_yoast_seo_meta: Data: 3.36MB + Index: 0.00MB + Engine InnoDB wp_ywsfl_list: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ### Post Type Counts ### attachment: 84305 blocks: 7 br_labels: 3 custom_css: 1 custom-css-js: 52 customize_changeset: 15 elementor_library: 835 es_template: 2 language_switcher: 4 mgmlp_media_folder: 6 nav_menu_item: 70 o-discount: 1 o-list: 1 oembed_cache: 2 page: 40 post: 9 postman_sent_mail: 187 product: 1221 product_variation: 2279 rainmaker_form: 1 revision: 9 shop_coupon: 35 shop_order: 61133 shop_order_refund: 15 vtmin-rule: 2 wapl: 2 wc_order_status: 8 wcct_countdown: 2 woo_discount: 8 woo_discount_cart: 6 wpdiscuz_form: 2 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (53) ### Query Monitor: by John Blackbourn – 3.7.1 Adminimize: by Frank Bültge – 1.11.7 WooCommerce Advanced Product Labels: by BeRocket – 1.2.2.3 Akismet Anti-Spam: by Automattic – 4.1.9 Better Search Replace: by Delicious Brains – 1.3.4 Booster Plus for WooCommerce: by Pluggabl LLC – 5.4.1 Code Snippets: by Code Snippets Pro – 2.14.1 Admin Columns: by AdminColumns.com – 4.3 CSS & JavaScript Toolbox: by Wipeout Media – 11.3 Simple Custom CSS and JS PRO: by SilkyPress.com – 4.20.3 Decorator - WooCommerce Email Customizer: by WebToffee – 1.1.0 Disable Admin Notices Individually: by Creative Motion – 1.2.6 Google Tag Manager for WordPress: by Thomas Geiger – 1.13.1 DynamicConditions: by RTO GmbH – 1.5.1 Easy WP SMTP: by wpecommerce alexanderfoxc – 1.4.6 ECPay Logistics for WooCommerce: by ECPay Green World FinTech Service Co. Ltd. – 2.0.2009280 ECPay Payment for WooCommerce: by ECPay Green World FinTech Service Co. Ltd. – 2.0.2104150 Elementor Pro: by Elementor.com – 3.2.2 Elementor: by Elementor.com – 3.2.4 Enable jQuery Migrate Helper: by The WordPress Team – 1.3.0 Essential Addons for Elementor: by WPDeveloper – 4.7.0 Facebook for WooCommerce: by Facebook – 2.5.1 GTranslate: by Translate AI Multilingual Solutions – 2.8.63 Loco Translate: by Tim Whitlock – 2.5.2 Permalink Manager Pro: by Maciej Bis – 2.2.9.9 Redirection: by John Godley – 5.1.1 Redis Cache Pro: by Till Krüss – 1.13.2 ShortPixel Image Optimizer: by ShortPixel – 4.22.2 Super Socializer: by Team Heateor – 7.13.18 Category Order and Taxonomy Terms Order: by Nsp-Code – 1.5.7.5 Temporary Login Without Password: by StoreApps – 1.6.13 Aelia Foundation Classes for WooCommerce: by Aelia – 2.1.6.210406 WC Password Strength Settings: by Daniel Santoro – 2.2.2 Advanced Order Export For WooCommerce: by AlgolPlus – 3.1.8 Woo Shortcodes Kit: by Alberto G. – 1.9.9 Variation Swatches for WooCommerce: by Emran Ahmed – 1.1.17 Aelia Currency Switcher for WooCommerce: by Aelia – 4.10.1.210406 WooCommerce - Country Based Payments: by Ivan Paulin – 1.4 列印 WooCommerce收據與運送資訊: by Tyche Softwares – 4.6.2 WooCommerce Stripe Gateway: by WooCommerce – 5.2.0 WooCommerce Google Analytics Integration: by WooCommerce – 1.5.1 Woocommerce Side Cart Premium: by XootiX – 3.1 WooCommerce Smart Coupons: by StoreApps – 4.8.0 (update to version 4.21.0 is available) WooCommerce: by Automattic – 5.3.0 Wordfence Security: by Wordfence – 7.5.3 Asset CleanUp: Page Speed Booster: by Gabe Livan – 1.3.7.8 WP File Manager: by mndpsingh287 – 7.1.1 WP Rocket: by WP Media – 3.8.8 Categories to Tags Converter Importer: by wordpressdotorg – 0.5 wpDiscuz - Media Uploader: by gVectors Team – 7.0.9 wpDiscuz: by gVectors Team – 7.2.2 YITH WooCommerce Category Accordion Premium: by YITH – 1.0.33 YITH WooCommerce Points and Rewards Premium: by YITH – 1.8.0 ### Inactive Plugins (11) ### Post SMTP: by Yehuda Hassine – 2.0.23 ProfilePress: by ProfilePress Team – 3.1.4 Rank Math SEO: by Rank Math – 1.0.64 Redis Object Cache: by Till Krüss – 2.0.18 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5 SMTP2GO: by SMTP2GO – 1.1.5 User Switching: by John Blackbourn & contributors – 1.5.7 Woo Discount Rules: by Flycart – 2.3.7 Woo Discount Rules PRO 2.0: by Flycart – 2.3.7 WP Activity Log: by WP White Security – 4.3.0 WP File Manager - PRO: by mndpsingh287 – 8.1.1 ### Dropin Plugins (2) ### advanced-cache.php: advanced-cache.php object-cache.php: Redis Cache Pro (Drop-in) ### Settings ### API Enabled: ✔ Force SSL: – Currency: TWD (NT$) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 0 Taxonomies: Product Types: simple (simple) grouped (grouped) variable (variable) external (external) dgfw_gift (dgfw_gift) bundle (bundle) Taxonomies: Product Visibility: exclude-from-search (exclude-from-search) exclude-from-catalog (exclude-from-catalog) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: ✔ ### WC Pages ### Shop base: #85 - /shop Cart: #86 - /cart Checkout: #87 - /checkout My account: #88 - /my-account Terms and conditions: ❌ Page not set ### Theme ### Name: Flatsome Child Version: 1.0.0 Author URL: https://www.yoyoshop123.com.tw Child Theme: ✔ Parent Theme Name: Flatsome Parent Theme Version: 3.13.3 Parent Theme Author URL: http://www.uxthemes.com/ WooCommerce Support: ✔ ### Templates ### Overrides: flatsome/woocommerce/archive-product.php flatsome/woocommerce/cart/cart-empty.php flatsome/woocommerce/cart/cart-shipping.php flatsome/woocommerce/cart/cart.php flatsome/woocommerce/checkout/form-checkout.php flatsome/woocommerce/checkout/form-coupon.php flatsome/woocommerce/checkout/terms.php flatsome/woocommerce/checkout/thankyou.php flatsome/woocommerce/content-product-cat.php flatsome/woocommerce/content-product.php flatsome/woocommerce/content-single-product.php flatsome/woocommerce/content-widget-product.php flatsome/woocommerce/global/breadcrumb.php flatsome/woocommerce/global/quantity-input.php flatsome/woocommerce/global/wrapper-end.php flatsome/woocommerce/global/wrapper-start.php flatsome/woocommerce/loop/loop-end.php flatsome/woocommerce/loop/loop-start.php flatsome/woocommerce/loop/pagination.php flatsome-child/woocommerce/loop/rating.php version 3.0.0 is out of date. The core version is 3.6.0 flatsome/woocommerce/loop/result-count.php flatsome/woocommerce/loop/sale-flash.php flatsome/woocommerce/myaccount/form-login.php flatsome/woocommerce/myaccount/navigation.php flatsome/woocommerce/notices/error.php flatsome/woocommerce/notices/notice.php flatsome/woocommerce/notices/success.php flatsome/woocommerce/product-searchform.php flatsome/woocommerce/single-product/photoswipe.php flatsome/woocommerce/single-product/price.php flatsome/woocommerce/single-product/product-image.php flatsome/woocommerce/single-product/product-thumbnails.php flatsome/woocommerce/single-product/rating.php flatsome/woocommerce/single-product/related.php flatsome/woocommerce/single-product/review.php flatsome/woocommerce/single-product/sale-flash.php flatsome/woocommerce/single-product/share.php flatsome/woocommerce/single-product/short-description.php flatsome/woocommerce/single-product/tabs/tabs.php flatsome/woocommerce/single-product/title.php flatsome/woocommerce/single-product/up-sells.php flatsome/woocommerce/single-product-reviews.php flatsome/woocommerce/single-product.php flatsome/woocommerce/content-product_cat.php Outdated Templates: ❌ Learn how to update ### Action Scheduler ### Complete: 14,442 Oldest: 2021-05-01 18:02:18 +0800 Newest: 2021-06-01 17:37:39 +0800 Pending: 1 Oldest: 2021-06-01 17:38:40 +0800 Newest: 2021-06-01 17:38:40 +0800 Failed: 3 Oldest: 2019-06-22 12:02:38 +0800 Newest: 2021-05-08 14:47:16 +0800 Canceled: 20 Oldest: 2021-05-20 21:46:46 +0800 Newest: 2021-05-30 15:59:12 +0800 ### Status report information ### Generated at: 2021-06-01 17:37:58 +08:00We could offer a temp admin login if it helps, but that would require a private channel.
Thanks.
Hi @wpshushu,
Thanks for the additional information.
As you’re using two different pixels on your site this could be causing confusion with tracking and initiating duplicate tracking events. This is something that the Facebook Pixel Helper is indicating within your screenshot.
https://developers.facebook.com/docs/facebook-pixel/support/pixel-helper#multiple-activations
Image Link: https://cloudup.com/cA5LC7Ux-Pv
We’d suggest removing the custom pixel integration you have implemented and only using the Facebook For WooCommerce integration. This should then only track the cart event once using a single-pixel integration.
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
The topic ‘addToCart triggered twice’ is closed to new replies.