I need to track transactions excluding the shipping expenses
-
One of my affiliates are tracking sales through GA, although the percentage they get on sales is being calculated on the whole order amount including shipping costs, which is not supposed to be the case.
How can I make GA track the sale without shipping?
The page I need help with: [log in to see the link]
-
Hi @refataitta
Thanks for reaching out with your question, before we proceed can you verify if you’re using the free WooCommerce Google Analytics integration, or, if you are using WooCommerce Google Analytics Pro? The path forward may be a little different depending on which is currently active.
It would also be helpful if you could please provide us with 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 with your reply.
Thank you!
Thank you for your reply.
I am using the free version not the pro one.
Here is the copy of the system status:
### WordPress Environment ### WordPress address (URL): https://aiething.co.uk Site address (URL): https://aiething.co.uk WC Version: 5.9.0 REST API Version: ? 5.9.0 WC Blocks Version: ? 6.1.0 Action Scheduler Version: ? 3.3.0 WC Admin Version: ? 2.8.0 Log Directory Writable: ? WP Version: 5.8.2 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.26 PHP Post Max Size: 400 MB PHP Time Limit: 300 PHP Max Input Vars: 18000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.7.36-cll-lve Max Upload Size: 400 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.9.0 WC Database Prefix: wp6i_ Total Database Size: 816.99MB Database Data Size: 806.38MB Database Index Size: 10.61MB wp6i_woocommerce_sessions: Data: 3.41MB + Index: 0.10MB + Engine MyISAM wp6i_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp6i_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_woocommerce_order_items: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp6i_woocommerce_order_itemmeta: Data: 0.05MB + Index: 0.03MB + Engine MyISAM wp6i_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_8degree_maintenance: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_actionscheduler_actions: Data: 0.33MB + Index: 0.18MB + Engine MyISAM wp6i_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp6i_actionscheduler_logs: Data: 0.23MB + Index: 0.18MB + Engine MyISAM wp6i_adtribes_my_conversions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_atum_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_atum_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_atum_product_data: Data: 0.02MB + Index: 0.03MB + Engine MyISAM wp6i_ced_bonanza_lister_bonanzaprofiles: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_channelsale_users: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_commentmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp6i_comments: Data: 0.50MB + Index: 0.03MB + Engine MyISAM wp6i_cpf_customfeeds: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_cpf_custom_products: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_cpf_feedproducts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_cpf_resolved_product_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_cp_feeds: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_ebay_accounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_ebay_auctions: Data: 0.93MB + Index: 0.06MB + Engine MyISAM wp6i_ebay_categories: Data: 1.63MB + Index: 1.12MB + Engine MyISAM wp6i_ebay_jobs: Data: 0.14MB + Index: 0.00MB + Engine MyISAM wp6i_ebay_log: Data: 0.12MB + Index: 0.00MB + Engine MyISAM wp6i_ebay_messages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_ebay_orders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_ebay_payment: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_ebay_profiles: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp6i_ebay_shipping: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp6i_ebay_sites: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp6i_ebay_stocks_log: Data: 0.93MB + Index: 0.01MB + Engine MyISAM wp6i_ebay_store_categories: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_ebay_transactions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_ebcpf_custom_products: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_ebcpf_ebay_accounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_ebcpf_ebay_currency: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_ebcpf_ebay_shipping: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_ebcpf_ebay_sites: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_ebcpf_feeds: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_ebcpf_listing: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_ewwwio_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_ewwwio_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_fvm_cache: Data: 735.24MB + Index: 0.95MB + Engine MyISAM wp6i_fvm_logs: Data: 6.19MB + Index: 0.25MB + Engine MyISAM wp6i_hustle_entries: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_hustle_entries_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_hustle_modules: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_hustle_modules_meta: Data: 0.22MB + Index: 0.01MB + Engine MyISAM wp6i_hustle_tracking: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_import_detail_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_import_log_detail: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_import_postID: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_mobileassistant_accounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_mobileassistant_devices: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_mobileassistant_failed_login: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_mobileassistant_push_settings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_mobileassistant_session_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_mobileassistant_users: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_options: Data: 9.69MB + Index: 0.39MB + Engine MyISAM wp6i_pbe_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_pbe_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_pmxi_files: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_pmxi_hash: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_pmxi_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_pmxi_images: Data: 0.03MB + Index: 0.01MB + Engine MyISAM wp6i_pmxi_imports: Data: 0.06MB + Index: 0.00MB + Engine MyISAM wp6i_pmxi_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp6i_postmeta: Data: 25.18MB + Index: 3.49MB + Engine MyISAM wp6i_posts: Data: 13.44MB + Index: 1.12MB + Engine MyISAM wp6i_po_plugins: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_qss: Data: 0.06MB + Index: 0.02MB + Engine MyISAM wp6i_smackcsv_file_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_smackuci_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_termmeta: Data: 0.05MB + Index: 0.05MB + Engine MyISAM wp6i_terms: Data: 0.01MB + Index: 0.03MB + Engine MyISAM wp6i_term_relationships: Data: 0.10MB + Index: 0.21MB + Engine MyISAM wp6i_term_taxonomy: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp6i_tinvwl_analytics: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_tinvwl_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_tinvwl_lists: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_tm_taskmeta: Data: 0.08MB + Index: 0.02MB + Engine MyISAM wp6i_tm_tasks: Data: 0.06MB + Index: 0.01MB + Engine MyISAM wp6i_ultimate_csv_importer_acf_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_ultimate_csv_importer_mappingtemplate: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_ultimate_csv_importer_media: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_ultimate_csv_importer_shortcode_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_ultimate_post_entries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_usermeta: Data: 0.06MB + Index: 0.03MB + Engine MyISAM wp6i_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp6i_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_wc_admin_notes: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp6i_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp6i_wc_category_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp6i_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp6i_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp6i_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp6i_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_wc_product_meta_lookup: Data: 0.10MB + Index: 0.15MB + Engine MyISAM wp6i_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp6i_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_wpf_filters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_wp_criticalcss_api_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_wp_criticalcss_processed_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_wp_criticalcss_template_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_wp_criticalcss_web_check_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_wsm_bounceVisits: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_browsers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_wsm_countries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp6i_wsm_dailyHourlyReport: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wp6i_wsm_dateWiseBounce: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_dateWiseBounceRate: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_dateWiseFirstVisitors: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_dateWisePageViews: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_dateWiseVisitors: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_datewise_report: Data: 0.20MB + Index: 0.00MB + Engine InnoDB wp6i_wsm_hourWiseBounce: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_hourWiseBounceRate: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_hourWiseFirstVisitors: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_hourWisePageViews: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_hourWiseVisitors: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_logUniqueVisit: Data: 0.11MB + Index: 0.05MB + Engine InnoDB wp6i_wsm_logVisit: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wp6i_wsm_monthlyDailyReport: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_wsm_monthWiseBounce: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_monthWiseBounceRate: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_monthWiseFirstVisitors: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_monthWisePageViews: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_monthWiseVisitors: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_monthwise_report: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp6i_wsm_oSystems: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_wsm_pageViews: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_regions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_wsm_resolutions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_wsm_searchEngines: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_wsm_toolBars: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_wsm_uniqueVisitors: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_url_log: Data: 0.09MB + Index: 0.03MB + Engine InnoDB wp6i_wsm_visitorInfo: Data: 0.00MB + Index: 0.00MB + Engine wp6i_wsm_yearlyMonthlyReport: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_wsm_yearwise_report: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp6i_wt_iew_action_history: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp6i_wt_iew_cron: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_wt_iew_ftp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_wt_iew_mapping_template: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_yith_wcwl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp6i_yith_wcwl_lists: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp6i_yoast_indexable: Data: 6.28MB + Index: 1.70MB + Engine MyISAM wp6i_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.06MB + Engine MyISAM wp6i_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp6i_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine MyISAM wp6i_yoast_seo_links: Data: 0.05MB + Index: 0.04MB + Engine MyISAM wp6i_yoast_seo_meta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM ### Post Type Counts ### attachment: 8872 custom_css: 5 customize_changeset: 2 elementor_library: 9 jetpack_migration: 2 jp_img_sitemap: 10 jp_img_sitemap_index: 2 jp_sitemap: 2 jp_sitemap_master: 2 nav_menu_item: 36 option-tree: 1 page: 52 popup: 2 popup_theme: 8 post: 17 product: 691 product_variation: 568 revision: 637 shop_coupon: 8 shop_order: 52 shop_order_refund: 2 wpcf7_contact_form: 5 wphb_minify_group: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (41) ### a3 Lazy Load: by a3rev Software – 2.4.8 Accelerated Mobile Pages: by Ahmed Kaludi Mohammed Kaludi – 1.0.77.33 Awin - Advertiser Tracking: by awinglobal – 1.0.9 BBQ Firewall: by Jeff Starr – 20210719 Contact Form 7: by Takayuki Miyoshi – 5.4.2 Cookie Notice & Compliance for GDPR / CCPA: by Hu-manity.co – 2.2.1 EAN for WooCommerce: by Algoritmika Ltd – 2.7.0 Elementor: by Elementor.com – 3.4.8 ElementsKit Lite: by Wpmet – 2.5.1 Essential Addons for Elementor: by WPDeveloper – 4.9.7 PayPal Express Checkout Payment Gateway for WooCommerce ( Basic ): by WebToffee – 1.6.4 Facebook for WooCommerce: by Facebook – 2.6.7 Fast Velocity Minify: by Raul Peixoto – 3.2.2 Social Reviews & Recommendations: by RichPlugins – 1.7.6 Site Kit by Google: by Google – 1.47.0 Insert Headers and Footers: by WPBeginner – 1.6.0 Interparcel: by Interparcel – 1.3 Jetpack: by Automattic – 10.4 JivoChat: by JivoChat – 1.3.5.3 Mobile Assistant Connector: by eMagicOne – 2.1.10 Perfect Brands for WooCommerce: by QuadLayers – 2.0.1 PW WooCommerce Bulk Edit: by Pimwick LLC – 2.92 Real-Time Find and Replace: by Marios Alexandrou – 4.0.2 Templately: by Templately – 1.3.1 TI WooCommerce Wishlist: by TemplateInvaders – 1.29.0 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.66 W3 Total Cache: by BoldGrid – 2.2.1 WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.3.16 Product Feed PRO for WooCommerce: by AdTribes.io – 11.0.2 Variation Images Gallery for WooCommerce: by RadiusTheme – 2.2.1.5 Variation Swatches for WooCommerce: by RadiusTheme – 2.1.1.3 Woo Products Widgets For Elementor: by Themelocation – 1.0.5 WooCommerce 2Checkout Payment Gateway Version Basic: by N-Media – 6.1 WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3 WooCommerce Google Analytics Integration: by WooCommerce – 1.5.5 WooCommerce PayPal Payments: by WooCommerce – 1.6.1 (update to version 1.6.3 is available) WooCommerce: by Automattic – 5.9.0 (update to version 6.0.0 is available) Woostify Sites Library: by Woostify – 1.3.5 Yoast SEO: by Team Yoast – 17.8 WP Crontrol: by John Blackbourn & crontributors – 1.10.0 Smart Coupons for WooCommerce: by WebToffee – 1.3.5 ### Inactive Plugins (18) ### 2Checkout Payment Gateway: by Craig Christenson – 0.0.2 2Checkout PayPal Direct Gateway: by Craig Christenson – 0.0.2 Checkout for PayPal: by naa986 – 1.0.5 Cloudflare: by John Wineman Furkan Yilmaz Junade Ali (Cloudflare Team) – 3.3.3 Cloudflare SSL by Weslink: by Weslink – 1.0.9 Crisp: by Crisp – 0.30 Payment Gateway via CIB for WooCommerce: by szathmari.hu – 1.0.5 PayPal Express Checkout WC4JP: by ArtisanWorkshop – 2.0.3 PayPal PLUS for WooCommerce: by Inpsyde GmbH – 2.2.1 PayPal Pro for Woo: by easypayment – 4.0.3 Really Simple SSL: by Rogier Lankhorst Mark Wolters – 3.2.2 Variation Swatches for WooCommerce: by Emran Ahmed – 1.1.17 Variation Swatches for WooCommerce: by Woosuite – 2.0.21 WooCommerce PayPal Gateway: by easypayment – 4.0.4 WP PayPal: by naa986 – 1.2.2.9 WP Super Minify: by Dipak C. Gajjar – 1.5.1 XML Sitemaps: by Auctollo – 4.1.1 YITH PayPal Express Checkout for WooCommerce: by YITH – 1.6.0 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Settings ### API Enabled: ? Force SSL: – Currency: GBP (£) 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: #135 - /shop-page/ Cart: #5 - /cart/ Checkout: #6 - /checkout/ My account: ? Page not set Terms and conditions: #683 - /brxp_xlproduct-2-2/ ### Theme ### Name: Woostify Version: 1.9.6 (update to version 2.0.6 is available) Author URL: https://woostify.com/about Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: /home/aiething/public_html/wp-content/plugins/woo-product-variation-gallery/templates/product-images.php /home/aiething/public_html/wp-content/plugins/woo-product-variation-gallery/templates/product-thumbnails.php ### WooCommerce PayPal Payments ### Onboarded: Yes Shop country code: GB PayPal card processing available in country: Yes Pay Later messaging available in country: Yes Vault enabled: Yes ### TI WooCommerce Wishlist Templates ### Overrides: – ### Action Scheduler ### Complete: 1,086 Oldest: 2021-11-18 23:06:04 +0000 Newest: 2021-12-19 22:11:01 +0000 Pending: 5 Oldest: 2021-12-20 03:54:00 +0000 Newest: 2021-12-23 02:25:54 +0000 ### Status report information ### Generated at: 2021-12-19 22:57:55 +00:00
Waiting your feedback.
Any update?
Hi @refataitta,
Taking a deeper look, it looks like excluding shipping from tracking is not available at the moment. I found the following feature request thread where users can vote to flag high-priority features to the developers: https://ideas.woocommerce.com/forums/133476-woocommerce/suggestions/37041079-excluding-tax-and-shipping-fee-from-analytics
I would recommend voting on that thread. In the meantime, however, if you need this behavior changed immediately, there are. resources for developer services listed here: https://woocommerce.com/customizations/.
I reached out to Google and they sent the instructions on how to do this task. It is supposed to be a simple task, so is it possible that you provide me with a step by step guide on how to do it? I would appreciate it.
Here is the response I got from Google:
`The code needs to be modified on the “thank-you” page of the website. The link for reference > https://aiething.co.uk/checkout/order-received/12866/?key=wc_order_HymeJrGtWbf3v
The event tag added on the codes for passing the values to Google Analytics Ecommerce data should not include the shipping cost.
Please verify the event tag code as mentioned below and modify the variable to capture only the total value without the shipping and send it to Google Analytics.
Right now this is how the code is defined, please update the value part variable and exclude the shipping data.
CODE :
<script type=”text/javascript”>
jQuery(function($) {
_wca.push({
‘_en’: ‘woocommerceanalytics_product_purchase’,
‘pi’: ‘10970’,
‘pn’: ‘Stag Tealight Holder’,
‘pc’: ‘Art and Accessories/Classic Art & Interiors/Classic holder’,
‘pp’: ’68’,
‘pt’: ‘simple’,’oi’: ‘12866’, ‘pq’: ‘1’, ‘device’: ‘desktop’, ‘payment_option’: ‘ppec_paypal’, ‘create_account’: ‘N’, ‘guest_checkout’: ‘Y’, ‘express_checkout’: ‘null’, ‘blog_id’: ‘159863475’, ‘ui’: ‘null’, ‘url’: ‘https://aiething.co.uk’, ‘woo_version’: ‘5.9.0’, ‘cart_page_contains_cart_block’: ‘0’, ‘cart_page_contains_cart_shortcode’: ‘1’, ‘checkout_page_contains_checkout_block’: ‘0’, ‘checkout_page_contains_checkout_shortcode’: ‘1’,
});jQuery( ‘div.woocommerce’ ).on( ‘click’, ‘a.remove’, function() {
var productID = jQuery( this ).data( ‘product_id’ );
var quantity = jQuery( this ).parent().parent().find( ‘.qty’ ).val()
var productDetails = {
‘id’: productID,
‘quantity’: quantity ? quantity : ‘1’,
};
_wca.push( {
‘_en’: ‘woocommerceanalytics_remove_from_cart’,
‘pi’: productDetails.id,
‘pq’: productDetails.quantity, ‘blog_id’: ‘159863475’, ‘ui’: ‘null’, ‘url’: ‘https://aiething.co.uk’, ‘woo_version’: ‘5.9.0’, ‘cart_page_contains_cart_block’: ‘0’, ‘cart_page_contains_cart_shortcode’: ‘1’, ‘checkout_page_contains_checkout_block’: ‘0’, ‘checkout_page_contains_checkout_shortcode’: ‘1’,
} );
} );$( ‘.add_to_cart_button:not(.product_type_variable, .product_type_grouped)’ ).on( ‘click’, function() {
ga( ‘ec:addProduct’, {‘id’: ($(this).data(‘product_sku’)) ? ($(this).data(‘product_sku’)) : (‘#’ + $(this).data(‘product_id’)),’quantity’: $(this).data(‘quantity’)} );
ga( ‘ec:setAction’, ‘add’ );
ga( ‘send’, ‘event’, ‘UX’, ‘click’, ‘add to cart’ );
});ga( ‘send’, ‘pageview’ );
});
</script>Looking forward to hearing from you!
Hi @refataitta
I reached out to Google and they sent the instructions on how to do this task. It is supposed to be a simple task, so is it possible that you provide me with a step by step guide on how to do it? I would appreciate it.
Here is the response I got from Google:
`The code needs to be modified on the “thank-you” page of the website. The link for reference > https://aiething.co.uk/checkout/order-received/12866/?key=wc_order_HymeJrGtWbf3v
The event tag added on the codes for passing the values to Google Analytics Ecommerce data should not include the shipping cost.
I understand that you’re looking for a guide on how to customize the checkout page code so that the data is sent to Google Analytics without the shipping cost.
Modifying a default functionality of the plugin is considered as a code customization work.
A customization work like this would be beyond the support that we offer. For assistance with customization or development with your site, we recommend reaching out to someone on our customizations page.
I trust that points you in the right direction, but if you have more questions, let us know.
- The topic ‘I need to track transactions excluding the shipping expenses’ is closed to new replies.