Event generation on Submit
-
Hi, thanks for your work.
I was testing the pixel traced by the Facebook Manager and I noticed that the click on the sumbit button on the form I have on this page: https://www.aziendetamburello.it/bag-in-box/ generates two different events. It generates one event when the form is sent but without checking if all the required fields are full and one when all the fields are correct. This last event came up duplicated, so in total it triggers three event. Is there a way I can just have one event triggered at the click when all the fields are correct?Best regards,
The page I need help with: [log in to see the link]
-
Hello @firehuntress
I’d be glad to help.
I noticed that the click on the sumbit button on the form I have on this page: https://www.aziendetamburello.it/bag-in-box/ generates two different events. It generates one event when the form is sent but without checking if all the required fields are full and one when all the fields are correct. This last event came up duplicated, so in total it triggers three event
We can confirm that by default, the plugin, intelligently deduplicates events that are sent both from the browser pixel events and server-to-server events (Conversions API) to ensure no double-counted events.
I’d also like to better understand your site. Could you please send me 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, you can paste it here in your response.Additionally, could you please enable Debug for this extension? please go to Facebook plugin settings in wp-admin Marketing > Facebook and stay on the Connection tab, then scroll to the bottom to the Debug section. Click on “Log plugin events for debugging”. If this is already enabled, let us know if you see any logs generated by going to WooCommerce> Status> Logs and look for any Facebook entry on the list.
Hi, thanks for the answer.
I’ll paste here the WooCommerce status:
### WordPress Environment ### WordPress address (URL): https://www.aziendetamburello.it Site address (URL): https://www.aziendetamburello.it WC Version: 5.4.2 REST API Version: ? 5.4.2 WC Blocks Version: ? 5.1.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 2.3.1 Log Directory Writable: ? WP Version: ? 5.7.5 - è disponibile una versione più recente di WordPress (5.8.3) WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: it_IT External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.33 PHP Post Max Size: 16 MB PHP Time Limit: 300 PHP Max Input Vars: 1000 cURL Version: 7.52.1 OpenSSL/1.0.2u SUHOSIN Installed: – MySQL Version: 5.5.5-10.1.48-MariaDB-0+deb9u2 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.4.2 WC Database Prefix: 4Z5wh6Si_ Dimensione totale database: 38.89MB Dimensione dati database: 34.19MB Dimensione indice database: 4.70MB 4Z5wh6Si_woocommerce_sessions: Dati: 1.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_woocommerce_api_keys: Dati: 0.02MB + indice: 0.03MB + motore InnoDB 4Z5wh6Si_woocommerce_attribute_taxonomies: Dati: 0.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_woocommerce_downloadable_product_permissions: Dati: 0.02MB + indice: 0.06MB + motore InnoDB 4Z5wh6Si_woocommerce_order_items: Dati: 0.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_woocommerce_order_itemmeta: Dati: 0.08MB + indice: 0.03MB + motore InnoDB 4Z5wh6Si_woocommerce_tax_rates: Dati: 0.02MB + indice: 0.06MB + motore InnoDB 4Z5wh6Si_woocommerce_tax_rate_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB 4Z5wh6Si_woocommerce_shipping_zones: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_woocommerce_shipping_zone_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB 4Z5wh6Si_woocommerce_shipping_zone_methods: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_woocommerce_payment_tokens: Dati: 0.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_woocommerce_payment_tokenmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB 4Z5wh6Si_woocommerce_log: Dati: 0.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_actionscheduler_actions: Dati: 5.02MB + indice: 0.98MB + motore InnoDB 4Z5wh6Si_actionscheduler_claims: Dati: 0.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_actionscheduler_groups: Dati: 0.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_actionscheduler_logs: Dati: 1.41MB + indice: 0.75MB + motore InnoDB 4Z5wh6Si_commentmeta: Dati: 0.06MB + indice: 0.03MB + motore InnoDB 4Z5wh6Si_comments: Dati: 0.05MB + indice: 0.09MB + motore InnoDB 4Z5wh6Si_links: Dati: 0.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_mailchimp_carts: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_mailchimp_jobs: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_options: Dati: 4.02MB + indice: 0.09MB + motore InnoDB 4Z5wh6Si_packlink_entity: Dati: 4.50MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_postmeta: Dati: 2.52MB + indice: 0.81MB + motore InnoDB 4Z5wh6Si_posts: Dati: 3.44MB + indice: 0.09MB + motore InnoDB 4Z5wh6Si_revslider_css: Dati: 0.13MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_revslider_css_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_revslider_layer_animations: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_revslider_layer_animations_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_revslider_navigations: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_revslider_navigations_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_revslider_sliders: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_revslider_sliders_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_revslider_slides: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_revslider_slides_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_revslider_static_slides: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_revslider_static_slides_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_termmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB 4Z5wh6Si_terms: Dati: 0.02MB + indice: 0.03MB + motore InnoDB 4Z5wh6Si_term_relationships: Dati: 0.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_term_taxonomy: Dati: 0.02MB + indice: 0.03MB + motore InnoDB 4Z5wh6Si_usermeta: Dati: 0.11MB + indice: 0.03MB + motore InnoDB 4Z5wh6Si_users: Dati: 0.02MB + indice: 0.05MB + motore InnoDB 4Z5wh6Si_wc_admin_notes: Dati: 0.06MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_wc_admin_note_actions: Dati: 0.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_wc_category_lookup: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_wc_customer_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB 4Z5wh6Si_wc_download_log: Dati: 0.02MB + indice: 0.03MB + motore InnoDB 4Z5wh6Si_wc_order_coupon_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB 4Z5wh6Si_wc_order_product_lookup: Dati: 0.02MB + indice: 0.06MB + motore InnoDB 4Z5wh6Si_wc_order_stats: Dati: 0.02MB + indice: 0.05MB + motore InnoDB 4Z5wh6Si_wc_order_tax_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB 4Z5wh6Si_wc_product_meta_lookup: Dati: 0.02MB + indice: 0.09MB + motore InnoDB 4Z5wh6Si_wc_reserved_stock: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_wc_tax_rate_classes: Dati: 0.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_wc_webhooks: Dati: 0.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_wdr_order_discounts: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_wdr_order_item_discounts: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_wdr_rules: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_wfblockediplog: Dati: 0.36MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_wfblocks7: Dati: 0.02MB + indice: 0.05MB + motore InnoDB 4Z5wh6Si_wfconfig: Dati: 2.25MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_wfcrawlers: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_wffilechanges: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_wffilemods: Dati: 4.52MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_wfhits: Dati: 1.02MB + indice: 0.08MB + motore InnoDB 4Z5wh6Si_wfhoover: Dati: 0.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_wfissues: Dati: 0.06MB + indice: 0.06MB + motore InnoDB 4Z5wh6Si_wfknownfilelist: Dati: 1.52MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_wflivetraffichuman: Dati: 0.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_wflocs: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_wflogins: Dati: 0.39MB + indice: 0.16MB + motore InnoDB 4Z5wh6Si_wfls_2fa_secrets: Dati: 0.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_wfls_settings: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_wfnotifications: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_wfpendingissues: Dati: 0.02MB + indice: 0.06MB + motore InnoDB 4Z5wh6Si_wfreversecache: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_wfsnipcache: Dati: 0.02MB + indice: 0.05MB + motore InnoDB 4Z5wh6Si_wfstatus: Dati: 0.13MB + indice: 0.11MB + motore InnoDB 4Z5wh6Si_wftrafficrates: Dati: 0.02MB + indice: 0.00MB + motore InnoDB 4Z5wh6Si_woof_query_cache: Dati: 0.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_yoast_indexable: Dati: 0.20MB + indice: 0.08MB + motore InnoDB 4Z5wh6Si_yoast_indexable_hierarchy: Dati: 0.02MB + indice: 0.05MB + motore InnoDB 4Z5wh6Si_yoast_migrations: Dati: 0.02MB + indice: 0.02MB + motore InnoDB 4Z5wh6Si_yoast_primary_term: Dati: 0.02MB + indice: 0.03MB + motore InnoDB 4Z5wh6Si_yoast_seo_links: Dati: 0.02MB + indice: 0.03MB + motore InnoDB ### Post Type Counts ### attachment: 135 custom_css: 1 customize_changeset: 9 nav_menu_item: 12 page: 13 post: 7 product: 16 product_variation: 12 revision: 226 shop_coupon: 4 shop_order: 19 wpcf7_contact_form: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (21) ### Advanced Custom Fields PRO: by Elliot Condon – 5.8.12 Akismet Anti-Spam: by Automattic – 4.1.9 Submission DOM tracking for Contact Form 7: by Apasionados – 2.0 Controls for Contact Form 7: by Kaspars Dambis – 0.8.0 Contact Form 7: by Takayuki Miyoshi – 5.4.1 Duplica pagina: by mndpsingh287 – 4.4.6 Facebook for WooCommerce: by Facebook – 2.5.1 Site Kit by Google: by Google – 1.34.0 WPBakery Page Builder: by Michael M - WPBakery.com – 6.2.0 Loco Translate: by Tim Whitlock – 2.5.2 Mailchimp for WooCommerce: by Mailchimp – 2.5.1 OKThemes Lucia Shortcodes: by Gogoneata Cristian – 1.1 Packlink PRO Shipping: by Packlink Shipping S.L. – 3.1.3 Slider Revolution: by ThemePunch – 6.2.12 WooCommerce Advanced Quantity: by Morning Train Technologies ApS – 3.0.3 Woo Discount Rules: by Flycart – 2.3.9 WooCommerce Stripe Gateway: by WooCommerce – 5.2.3 WOOF - WooCommerce Products Filter: by realmag777 – 1.2.6.2 WooCommerce: by Automattic – 5.4.2 (aggiornamento alla versione 6.1.1 disponibile) Wordfence Security: by Wordfence – 7.5.7 Yoast SEO: by Team Yoast – 16.4 ### Inactive Plugins (0) ### ### Dropin Plugins (1) ### maintenance.php: maintenance.php ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) 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: #2073 - /shop/ Carrello: #3502 - /carrello/ Pagamento: #3503 - /checkout/ Il mio account: #3504 - /my-account/ Termini e condizioni: #3834 - /termini-condizioni/ ### Theme ### Name: Lucia Vineyards Version: 1.2 Author URL: https://www.okthemes.com Child Theme: ? – Se stai modificando WooCommerce o un tema genitore che non hai costruito personalmente ti consigliamo di utilizzare un tema child. Vedi: Come creare un tema child WooCommerce Support: ? ### Templates ### Archive Template: Il tuo tema ha il file woocommerce.php non potrai sovrascrivere il template personalizzato woocommerce/archive-product.php poiché woocommerce.php ha priorità su archive-product.php. Questo serve a prevenire problemi di visualizzazione. Overrides: lucia-vineyards/woocommerce/loop/add-to-cart.php ### Action Scheduler ### Completato: 62 Oldest: 2021-12-25 09:34:15 +0000 Newest: 2022-01-24 15:36:01 +0000 In attesa: 1 Oldest: 2022-01-25 12:44:06 +0000 Newest: 2022-01-25 12:44:06 +0000 ### Status report information ### Generated at: 2022-01-24 15:47:59 +00:00
Next i enebled the option of debug and checked the logs, here’s the result:
01-24-2022 @ 15:53:22 - Request Request method: GET uri: https://graph.facebook.com/v9.0/257352111960911?fields=name user-agent: Facebook-for-WooCommerce/2.5.1 (WooCommerce/5.4.2; WordPress/5.7.5) headers: Array ( [Authorization] => *********************************************************************************************************************************************************************************************************************** [content-type] => application/json [accept] => application/json ) body: duration: 0.13461s 01-24-2022 @ 15:53:22 - Response Response code: 200 message: OK headers: Array ( [etag] => "754dfb9a4f54166fca7611f5a5152074f4c5d3cd" [content-type] => application/json [vary] => Origin [x-business-use-case-usage] => {"257352111960911":[{"type":"catalog_management","call_count":1,"total_cputime":1,"total_time":1,"estimated_time_to_regain_access":0}]} [x-fb-rlafr] => 0 [access-control-allow-origin] => * [facebook-api-version] => v9.0 [strict-transport-security] => max-age=15552000; preload [pragma] => no-cache [cache-control] => private, no-cache, no-store, must-revalidate [expires] => Sat, 01 Jan 2000 00:00:00 GMT [x-fb-request-id] => AIAd9kMmdca9RNBclWSjUws [x-fb-trace-id] => EkkeNvRSq4E [x-fb-rev] => 1004969238 [x-fb-debug] => wtrbHpy1fuVULJEjQBn2IJLWkqaA3xNVzlM/LSW8t++5e/6aawAQ+ycscB5eelg0Cg9QHV7zDipBLKgTvzI8lA== [date] => Mon, 24 Jan 2022 15:53:22 GMT [priority] => u=3,i [alt-svc] => h3=":443"; ma=3600, h3-29=":443"; ma=3600 [content-length] => 66 ) body: {"name":"Aziende Tamburello - WooCommerce","id":"257352111960911"}
Let me know if i can help you with something else
Best regards
Hey @firehuntress,
Thanks for sharing that info! Based on what you described and what I can see in the Status Report and logs, the duplicated tracking of the form submission might be related to this plugin:
Submission DOM tracking for Contact Form 7: by Apasionados – 2.0
I would suggest temporarily deactivating it and re-testing to see if resolves the issue.
- The topic ‘Event generation on Submit’ is closed to new replies.