Order attribution origin unknown
-
Hi, after updating the new version I have a small problem with the attribution order. In the settings I have Order Attribution enabled. Origin is displayed as unknown in every order. I will add that I have not changed anything on the website recently. Can anyone help me how I could fix this on my website?
The page I need help with: [log in to see the link]
-
Hi @paccio94, thanks for reaching out. I understand you’re having trouble with the Order Attribution feature. I took a look at your page and this is what I noticed:
- The visit source is being captured correctly on arrival.
- When the customer goes to the checkout, the source information is added to the checkout form as additional fields. The additional fields on your checkout appear to be commented out in the HTML: https://d.pr/i/YhIfl7
If these fields are being displayed within HTML comments (as indicated by
<!--
), then the order attribution data cannot be inserted and stored when the order is processed.Can you check your checkout page’s composition or any custom changes you made to your theme to see why this section of the checkout form is commented out / disabled?
Happy to continue troubleshooting if you need any more guidance!
Cheers
- This reply was modified 10 months ago by Justin (a11n). Reason: Better wording
Hello, I have the same problem, can you help me?
This is the System Status Report:
WordPress Environment WordPress address (URL): https://annaforgaci.ro Site address (URL): https://annaforgaci.ro WC Version: 8.7.0 REST API Version: ? 8.7.0 Action Scheduler Version: ? 3.7.2 Log Directory Writable: ? WP Version: 6.4.3 WP Multisite: – WP Memory Limit: 512 Mo WP Debug Mode: – WP Cron: ? Language: ro_RO External object cache: – Server Environment Server Info: LiteSpeed PHP Version: 8.1.27 PHP Post Max Size: 32 Mo PHP Time Limit: 180 PHP Max Input Vars: 10000 cURL Version: 7.87.0 OpenSSL/1.1.1w SUHOSIN Installed: – MySQL Version: 10.6.17-MariaDB-log Max Upload Size: 32 Mo Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? Database WC Database Version: 8.7.0 WC Database Prefix: wp_ Dimensiune total? baz? de date: 654.09MB Dimensiune date baz? de date: 558.06MB Dimensiune index baz? de date: 96.03MB wp_woocommerce_sessions: Date: 0.82 MO + Index: 0.03 MO + Motor MyISAM wp_woocommerce_api_keys: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_woocommerce_attribute_taxonomies: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_woocommerce_downloadable_product_permissions: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_woocommerce_order_items: Date: 0.26 MO + Index: 0.13 MO + Motor MyISAM wp_woocommerce_order_itemmeta: Date: 1.63 MO + Index: 1.21 MO + Motor MyISAM wp_woocommerce_tax_rates: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_woocommerce_tax_rate_locations: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_woocommerce_shipping_zones: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_woocommerce_shipping_zone_locations: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_woocommerce_shipping_zone_methods: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_woocommerce_payment_tokens: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_woocommerce_payment_tokenmeta: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_woocommerce_log: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_actionscheduler_actions: Date: 6.57 MO + Index: 2.47 MO + Motor MyISAM wp_actionscheduler_claims: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_actionscheduler_groups: Date: 0.00 MO + Index: 0.01 MO + Motor MyISAM wp_actionscheduler_logs: Date: 4.50 MO + Index: 3.21 MO + Motor MyISAM wp_asnp_wesb_badge: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_cartflows_ca_cart_abandonment: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_cartflows_ca_email_history: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_cartflows_ca_email_templates: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_cartflows_ca_email_templates_meta: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_commentmeta: Date: 0.00 MO + Index: 0.01 MO + Motor MyISAM wp_comments: Date: 1.56 MO + Index: 0.56 MO + Motor MyISAM wp_ct_ugdpr_consent_log: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_curiero_localities: Date: 1.52 MO + Index: 2.77 MO + Motor InnoDB wp_curiero_zipcodes: Date: 20.55 MO + Index: 16.58 MO + Motor InnoDB wp_eum_logs: Date: 0.02 MO + Index: 0.00 MO + Motor MyISAM wp_ewcpm_groups: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_e_events: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_fbv: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_fbv_attachment_folder: Date: 0.01 MO + Index: 0.01 MO + Motor MyISAM wp_gdpr_consent_log: Date: 0.37 MO + Index: 0.05 MO + Motor MyISAM wp_ip2location_country_blocker_backend_rate_limit_log: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_ip2location_country_blocker_frontend_rate_limit_log: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_links: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_mainwp_wpvivid: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_mainwp_wpvividmeta: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_mainwp_wpvivid_global: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_mainwp_wpvivid_global_options: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_mktr_session: Date: 6.94 MO + Index: 1.07 MO + Motor MyISAM wp_options: Date: 104.03 MO + Index: 11.14 MO + Motor MyISAM wp_postmeta: Date: 94.97 MO + Index: 31.35 MO + Motor MyISAM wp_posts: Date: 77.07 MO + Index: 3.34 MO + Motor MyISAM wp_post_views: Date: 0.01 MO + Index: 0.02 MO + Motor MyISAM wp_rank_math_404_logs: Date: 0.00 MO + Index: 0.01 MO + Motor MyISAM wp_rank_math_analytics_gsc: Date: 18.81 MO + Index: 12.27 MO + Motor MyISAM wp_rank_math_analytics_inspections: Date: 0.67 MO + Index: 0.23 MO + Motor MyISAM wp_rank_math_analytics_objects: Date: 0.33 MO + Index: 0.16 MO + Motor MyISAM wp_rank_math_internal_links: Date: 0.79 MO + Index: 0.17 MO + Motor MyISAM wp_rank_math_internal_meta: Date: 0.04 MO + Index: 0.04 MO + Motor MyISAM wp_rank_math_redirections: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_rank_math_redirections_cache: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_remindmedb: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_snippets: Date: 0.02 MO + Index: 0.00 MO + Motor MyISAM wp_termmeta: Date: 1.25 MO + Index: 0.21 MO + Motor MyISAM wp_terms: Date: 0.11 MO + Index: 0.20 MO + Motor MyISAM wp_term_relationships: Date: 0.49 MO + Index: 1.05 MO + Motor MyISAM wp_term_taxonomy: Date: 0.15 MO + Index: 0.08 MO + Motor MyISAM wp_usermeta: Date: 2.44 MO + Index: 1.44 MO + Motor MyISAM wp_users: Date: 0.28 MO + Index: 0.24 MO + Motor MyISAM wp_wccs_conditions: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wccs_condition_meta: Date: 0.02 MO + Index: 0.01 MO + Motor MyISAM wp_wc_admin_notes: Date: 0.02 MO + Index: 0.00 MO + Motor MyISAM wp_wc_admin_note_actions: Date: 0.01 MO + Index: 0.01 MO + Motor MyISAM wp_wc_category_lookup: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wc_customer_lookup: Date: 0.15 MO + Index: 0.14 MO + Motor MyISAM wp_wc_download_log: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wc_euplatesc_trid: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wc_order_addresses: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wc_order_coupon_lookup: Date: 0.00 MO + Index: 0.01 MO + Motor MyISAM wp_wc_order_operational_data: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wc_order_product_lookup: Date: 0.19 MO + Index: 0.17 MO + Motor MyISAM wp_wc_order_stats: Date: 0.16 MO + Index: 0.10 MO + Motor MyISAM wp_wc_order_tax_lookup: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wc_product_attributes_lookup: Date: 1.63 MO + Index: 1.86 MO + Motor MyISAM wp_wc_product_download_directories: Date: 0.00 MO + Index: 0.01 MO + Motor MyISAM wp_wc_product_meta_lookup: Date: 2.20 MO + Index: 2.99 MO + Motor MyISAM wp_wc_rate_limits: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wc_reserved_stock: Date: 0.05 MO + Index: 0.00 MO + Motor MyISAM wp_wc_tax_rate_classes: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wc_webhooks: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_woodmart_wishlists: Date: 0.03 MO + Index: 0.02 MO + Motor MyISAM wp_woodmart_wishlist_products: Date: 0.00 MO + Index: 0.01 MO + Motor MyISAM wp_woos_search_data: Date: 1.52 MO + Index: 0.06 MO + Motor InnoDB wp_woos_search_trends: Date: 0.06 MO + Index: 0.05 MO + Motor InnoDB wp_wpaicg: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wpaicg_chatlogs: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wpaicg_chattokens: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wpaicg_formtokens: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wpaicg_form_logs: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wpaicg_imagetokens: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wpaicg_image_logs: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wpaicg_promptbase_logs: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wpaicg_prompttokens: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wpaicg_token_logs: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_wpie_template: Date: 0.07 MO + Index: 0.00 MO + Motor MyISAM wp_wpml_mails: Date: 204.53 MO + Index: 0.09 MO + Motor MyISAM wp_wpvivid_options: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_yith_wapo_addons: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_yith_wapo_blocks: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_yith_wapo_blocks_assoc: Date: 0.00 MO + Index: 0.00 MO + Motor MyISAM wp_yoast_indexable: Date: 1.08 MO + Index: 0.24 MO + Motor MyISAM wp_yoast_indexable_hierarchy: Date: 0.07 MO + Index: 0.16 MO + Motor MyISAM wp_yoast_migrations: Date: 0.00 MO + Index: 0.01 MO + Motor MyISAM wp_yoast_primary_term: Date: 0.00 MO + Index: 0.01 MO + Motor MyISAM wp_yoast_seo_links: Date: 0.06 MO + Index: 0.02 MO + Motor MyISAM Post Type Counts attachment: 10041 awcdp_payment: 2 cms_block: 3 ct_ugdpr_service: 171 customize_changeset: 9 elementor_library: 1 ewcpm_post_type: 1 fpf_fields: 1 gdpr_service: 9 mep_pp_history: 1 nav_menu_item: 74 oembed_cache: 1 page: 42 post: 21 product: 1844 product_variation: 13211 revision: 2863 shop_coupon: 17 shop_order: 4460 viwec_template: 14 wcpp_payment: 2 woodmart_layout: 4 woodmart_size_guide: 3 woodmart_slide: 6 wpaicg_chatbot: 1 wpcf7_contact_form: 2 wp_navigation: 1 Security Secure connection (HTTPS): ? Hide errors from visitors: ? Active Plugins (33) weLaunch Framework: de weLaunch.io – 1.1.1 Advanced Access Manager: de AAM – 6.9.23 Plugin de ascundere a metodei de plat?: de Eduard Macovei – Piese clasice: de Contributori WordPress – 0.3 Code Snippets: de Code Snippets Pro – 3.6.4 Formular de contact 7: de Takayuki Miyoshi – 5.9.3 CurieRO: de Echipa CurieRO – 2.29.1 Custom Order Phone Column: de EduardMacovei – 1.0 GTM4WP - A Google Tag Manager (GTM) plugin for WordPress: de Thomas Geiger – 1.20.1 Sale Badges and Product Labels for WooCommerce Pro: de Asana Plugins – 1.5.0 Sale Badges and Product Labels for WooCommerce: de Asana Plugins – 1.9.0 Easy Auto SKU Generator for WooCommerce: de Dan Zakirov – 1.2.0 Discount Rules and Dynamic Pricing for WooCommerce: de Discount Team – 8.6.2 Elementor: de Elementor.com – 3.20.2 Email Template Customizer for WooCommerce: de VillaTheme – 1.2.2 Auto Add Products to Cart for WooCommerce: de Asana Plugins – 4.1.0 Shipping Discounts for WooCommerce: de Asana Plugins – 4.1.0 Formular de Retur: de Eduard Macovei – 1.0 Limit Login Attempts Reloaded: de Limit Login Attempts Reloaded – 2.26.7 Loco Translate: de Tim Whitlock – 2.6.7 PixelYourSite: de PixelYourSite – 9.5.3 Safe SVG: de 10up – 2.2.3 Rank Math SEO: de Rank Math – 1.0.215.1 SmartBill Facturare si Gestiune: de smarbill.ro – 3.2.3 Easy Updates Manager: de Easy Updates Manager Team – 9.0.17 TheMarketer - WooCommerce Version: de themarketer.com – 1.3.1 WooCommerce Euplatesc Gateway: de Zamfir Vladimir – 2.4.0 Product Feed PRO for WooCommerce: de AdTribes.io – 13.3.1 WooCommerce Search Engine: de Guaven Labs – 2.2.14 GoWP WooCommerce Variations Apply All: de GoWP – 1.0.3 WooCommerce: de Automattic – 8.7.0 Woodmart Core: de – 1.0.42 WP Mail Logging: de WP Mail Logging Team – 1.12.0 Inactive Plugins (3) WooCommerce Multiple Customer Addresses & Shipping: de Lagudi Domenico – 23.9 Woo Product Category Discount Pro: de WooExtend – 4.3 WordPress GDPR: de weLaunch – 2.0.1 Dropin Plugins () advanced-cache.php: advanced-cache.php Must Use Plugins (1) WordPress automation by Installatron: de – Settings API Enabled: ? Force SSL: – Currency: RON (lei) Currency Position: right_space 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 Woo.com: – Enforce Approved Product Download Directories: ? HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – Logging Enabled: ? Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 de zile Level threshold: – Log directory size: 14 Mo WC Pages Baz? magazin: #11 - /magazin Co?: #12 - /cos Finalizare: #13 - /finalizare Contul meu: #14 - /contul-meu Termeni ?i condi?ii: ? Pagin? nesetat? Theme Name: Woodmart Child Version: 1.0.0 Author URL: https://xtemos.com Child Theme: ? Parent Theme Name: Woodmart Parent Theme Version: 7.4.3 Parent Theme Author URL: https://themeforest.net/user/xtemos WooCommerce Support: ? Templates Overrides: woodmart/woocommerce/archive-product.php woodmart/woocommerce/cart/cart-item-data.php woodmart/woocommerce/cart/cart.php woodmart/woocommerce/cart/cross-sells.php woodmart/woocommerce/cart/mini-cart.php woodmart/woocommerce/checkout/form-checkout.php woodmart/woocommerce/checkout/thankyou.php woodmart/woocommerce/content-product-cat.php woodmart/woocommerce/content-product.php woodmart/woocommerce/content-single-product.php woodmart/woocommerce/content-widget-product.php woodmart/woocommerce/global/breadcrumb.php woodmart/woocommerce/global/form-login.php woodmart/woocommerce/global/quantity-input.php woodmart/woocommerce/loop/add-to-cart.php woodmart/woocommerce/loop/loop-end.php woodmart/woocommerce/loop/loop-start.php woodmart/woocommerce/loop/no-products-found.php woodmart/woocommerce/loop/orderby.php woodmart/woocommerce/loop/pagination.php woodmart/woocommerce/loop/sale-flash.php woodmart/woocommerce/myaccount/form-login.php woodmart/woocommerce/product-searchform.php woodmart/woocommerce/single-product/add-to-cart/grouped.php woodmart/woocommerce/single-product/add-to-cart/variable.php woodmart/woocommerce/single-product/meta.php woodmart/woocommerce/single-product/product-attributes.php woodmart/woocommerce/single-product/product-image.php woodmart/woocommerce/single-product/product-thumbnails.php woodmart/woocommerce/single-product/rating.php woodmart/woocommerce/single-product/related.php woodmart/woocommerce/single-product/sale-flash.php woodmart/woocommerce/single-product/tabs/description.php woodmart/woocommerce/single-product/tabs/tabs.php woodmart/woocommerce/single-product/title.php woodmart/woocommerce/single-product/up-sells.php woodmart/woocommerce/single-product-reviews.php woodmart/woocommerce/single-product.php Admin Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management product-virtual-downloadable product-external-affiliate product-grouped product-linked remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: customize-store minified-js new-product-management-experience product-pre-publish-modal settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2024-03-24 19:21:02 +02:00 Options: ? Notes: 43 Onboarding: completed Action Scheduler Canceled: 93 Oldest: 2024-02-24 18:20:39 +0200 Newest: 2024-03-17 01:46:29 +0200 Complete: 14.654 Oldest: 2024-02-24 16:22:36 +0200 Newest: 2024-03-23 22:10:06 +0200 Failed: 172 Oldest: 2023-04-18 22:23:21 +0300 Newest: 2024-03-23 01:53:58 +0200 Pending: 951 Oldest: 2024-03-23 18:42:39 +0200 Newest: 2024-03-30 16:24:12 +0200 Status report information Generated at: 2024-03-23 22:10:34 +02:00
Hi, thanks for reaching out with your questions.
Do you use custom themes to build your checkouts, or third-party gateway checkouts? In WooCommerce 8.7 the hook used to add the order attribution data to the checkout page was changed to
woocommerce_checkout_after_customer_details
, and it’s possible that some customizations never invoke the hook when generating the checkout page.
Cheers,
JustinSame problem with all of my websites. When updated to WC 8.7 origin becomes Unknown. When rollback to 8.6.1 everything goes to normal. So this must be an issue with WC 8.7
Best Regards
Disable cookieyes and you will see issue remains. It is WC versions after 8.6.1 that have this issue no matter what checkout or cookie plugin you have.
- The topic ‘Order attribution origin unknown’ is closed to new replies.