{"Status":true,"Message":"","Response":{"post":{"postuid":"8jpx3fj1r4","tenantuid":"d8b744fc-2e70-4089-bb80-dd1d08f6c7b2","projectuid":"239698c5-f7eb-4574-8cc8-c6568f08b3a0","title":"WooCommerce Integration","slug":"article/8jpx3fj1r4-integrations-woocommerce","html":"\u003Cp\u003EWooCommerce is an open-source e-commerce plugin for WordPress. It is designed for small- to large-sized online merchants using WordPress. By integrating WooCommerce with DailyStory, you can leverage the DailyStory marketing automation platform to seamlessly send emails, text messages, push notifications and more.\u003C/p\u003E\u003Ch3 id=\u0022how_to_integrate_woocommerce_and_dailystory\u0022\u003EHow to integrate WooCommerce and DailyStory\u003C/h3\u003E\u003Ch4 id=\u0022obtain_your_woocommerce_api_keys\u0022\u003EObtain your WooCommerce API keys\u003C/h4\u003E\u003Cp\u003ELogin to your WooCommerce account and see the WooCommerce documentation to generate the Consumer Key and Consumer Secret from your WooCommerce site.\u003C/p\u003E\u003Ch4 id=\u0022enable_integration_in_dailystory\u0022\u003EEnable integration in DailyStory\u003C/h4\u003E\u003Col\u003E\u003Cli\u003ENavigate to your \u003Ccode\u003EUser Account Settings \u0026gt; Integrations.\u003C/code\u003E\u003C/li\u003E\u003C/ol\u003E\u003Cimg class=\u0022lazy-load\u0022 data-width=\u0022\u0022 data-height=\u0022\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/8755c5c5fb52d6e0d3af2598de9a6fc1.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Col start=\u00222\u0022\u003E\u003Cli\u003EScroll down to find \u003Cb\u003EWooCommerce, \u003C/b\u003Eclick on the gear icon, and select \u003Ccode\u003EConfigure\u003C/code\u003E.\u003C/li\u003E\u003C/ol\u003E\u003Cimg class=\u0022lazy-load\u0022 data-width=\u0022\u0022 data-height=\u0022\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/98892c715485cddccda89e3c86214d46.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Col start=\u00223\u0022\u003E\u003Cli\u003EEnter the \u003Cb\u003ESite URL\u003C/b\u003E, \u003Cb\u003EConsumer Key\u003C/b\u003E, and \u003Cb\u003EConsumer Secret\u003C/b\u003E obtained in Step 1, and click the \u003Ccode\u003ESave\u003C/code\u003E button.\u003C/li\u003E\u003C/ol\u003E\u003Cimg class=\u0022lazy-load\u0022 data-width=\u0022\u0022 data-height=\u0022\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/75a63460ad32657485057d0eca3b13e1.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Ch4 id=\u0022sms_optout_for_new_customers\u0022\u003ESMS Opt-Out for New Customers\u003C/h4\u003E\u003Cp\u003EThe WooCommerce integration supports an option that new customers synced from WooCommerce come into DailyStory as opted-out by default. This option requires the recipients are opted in separately.\u003C/p\u003E\u003Cimg class=\u0022lazy-load\u0022 data-width=\u0022\u0022 data-height=\u0022\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/e47b9954347bb3ff8fed94fd39743210.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Ch5 id=\u0022congratulations_woocommerce_integration_is_now_successfully_configured_data_will_begin_importing_into_dailystory_from_woocommerce\u0022\u003ECongratulations. WooCommerce integration is now successfully configured! Data will begin importing into DailyStory from WooCommerce.\u003C/h5\u003E\u003Ch3 id=\u0022woocommerce_sync\u0022\u003EWooCommerce Sync\u003C/h3\u003E\u003Cp\u003EOnce WooCommerce integration is enabled, DailyStory:\u003C/p\u003E\u003Cul\u003E\u003Cli\u003E\u003Ci\u003E\u003Cb\u003EAutomatically syncs customer data from\u003C/b\u003E\u003C/i\u003E \u003Ci\u003E\u003Cb\u003EWooCommerce:\u003C/b\u003E\u003C/i\u003E DailyStory automatically begins syncing your customer data from WooCommerce into DailyStory. This includes standard customer details, such as first and last name, email address and more. But it also includes WooCommerce-specific data, such as order status, last order date and more.\u003C/li\u003E\u003Cli\u003E\u003Ci\u003E\u003Cb\u003EEnables\u003C/b\u003E\u003C/i\u003E \u003Ci\u003E\u003Cb\u003EWooCommerce-\u003C/b\u003E\u003C/i\u003E\u003Ci\u003E\u003Cb\u003Especific customer segments:\u003C/b\u003E\u003C/i\u003E Build customer\u0026#160;\u003Ca href=\u0022https://docs.dailystory.com/article/v1v5lti4gf-segments\u0022\u003Esegments\u003C/a\u003E\u0026#160;based on data from WooCommerce. These segments will automatically stay up-to-date as data in WooCommerce changes.\u003C/li\u003E\u003Cli\u003E\u003Ci\u003E\u003Cb\u003EEnables\u003C/b\u003E\u003C/i\u003E \u003Ci\u003E\u003Cb\u003EWooCommerce-\u003C/b\u003E\u003C/i\u003E\u003Ci\u003E\u003Cb\u003Especific automations:\u003C/b\u003E\u003C/i\u003E\u0026#160;\u003Ca href=\u0022https://docs.dailystory.com/article/xrhcd8830x-daily-story-autopilot-guide\u0022\u003EAutomations\u003C/a\u003E, such as abandoned cart, new customer welcome, customer retention, customer recognition and more, are easily enabled.\u003C/li\u003E\u003C/ul\u003E\u003Ch3 id=\u0022fields_synced_from_woocommerce\u0022\u003EFields synced from WooCommerce\u003C/h3\u003E\u003Cp\u003EWhen WooCommerce integration is enabled, DailyStory automatically syncs data from WooCommerce.\u003C/p\u003E\u003Ch4 id=\u0022standard_fields\u0022\u003EStandard fields\u003C/h4\u003E\u003Cp\u003EDailyStory will sync the following standard fields from WooCommerce:\u003C/p\u003E\u003Cul\u003E\u003Cli\u003Efirst name\u003C/li\u003E\u003Cli\u003Elast name\u003C/li\u003E\u003Cli\u003Eemail\u003C/li\u003E\u003Cli\u003Ephone\u003C/li\u003E\u003Cli\u003Eaddress\u003C/li\u003E\u003Cli\u003Ecity\u003C/li\u003E\u003Cli\u003Estate\u003C/li\u003E\u003Cli\u003Epostal code\u003C/li\u003E\u003Cli\u003Ecountry\u003C/li\u003E\u003Cli\u003EID\u003C/li\u003E\u003Cli\u003Edate created\u003C/li\u003E\u003Cli\u003Edate modified\u003C/li\u003E\u003C/ul\u003E\u003Cp\u003EDailyStory also will automatically geocode (calculate the latitude and longitude) the contact record.\u003C/p\u003E\u003Ch4 id=\u0022woocommerce_order_fields_at_a_glance\u0022\u003EWooCommerce order fields at a glance\u003C/h4\u003E\u003Cul\u003E\u003Cli\u003Eorder status, including custom statuses added by WooCommerce plugins\u003C/li\u003E\u003Cli\u003Edate of last order\u003C/li\u003E\u003Cli\u003Epurchased products\u003C/li\u003E\u003Cli\u003Eproduct categories\u003C/li\u003E\u003C/ul\u003E\u003Cp\u003EIf you would like additional fields synced from WooCommerce, please submit a support ticket to our development team and we would love to accommodate you if possible.\u003C/p\u003E\u003Ch4 id=\u0022complete_field_reference\u0022\u003EComplete field reference\u003C/h4\u003E\u003Cp\u003EEvery field the WooCommerce integration creates on a contact record, in addition to the standard fields listed above.\u003C/p\u003E\u003Ctable border=\u00221\u0022 style=\u0022border-collapse: collapse; width: 100%;\u0022\u003E\u003Cthead\u003E\u003Ctr\u003E\u003Cth\u003EField\u003C/th\u003E\u003Cth\u003EWhat it holds\u003C/th\u003E\u003C/tr\u003E\u003C/thead\u003E\u003Ctr\u003E\u003Ctd\u003EId\u003C/td\u003E\u003Ctd\u003EThe WooCommerce customer id\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003EDate Created\u003C/td\u003E\u003Ctd\u003EWhen the customer registered in WooCommerce\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003EDate Updated\u003C/td\u003E\u003Ctd\u003EWhen the customer record last changed\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003EStatus\u003C/td\u003E\u003Ctd\u003EThe most recent order status, including custom statuses added by plugins\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003EDate Last Order\u003C/td\u003E\u003Ctd\u003EWhen the most recent order was completed\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003ELast Order Id\u003C/td\u003E\u003Ctd\u003EThe WooCommerce id of the most recent order\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003ELast Order Number\u003C/td\u003E\u003Ctd\u003EThe order number as shown to the customer\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003ELast Order Value\u003C/td\u003E\u003Ctd\u003EThe total of the most recent order\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003EOrder Count\u003C/td\u003E\u003Ctd\u003EHow many completed orders this customer has placed\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003ETotal Spent\u003C/td\u003E\u003Ctd\u003ELifetime spend across all completed orders\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003ECurrency\u003C/td\u003E\u003Ctd\u003EThe currency of the most recent order\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003EPurchased Products\u003C/td\u003E\u003Ctd\u003EThe products this customer has bought\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003EProducts Categories\u003C/td\u003E\u003Ctd\u003EThe categories those products belong to\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003ECoupon Codes\u003C/td\u003E\u003Ctd\u003ECoupon codes used on the most recent order\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003ECart Abandoned\u003C/td\u003E\u003Ctd\u003EWhen a checkout was started and not paid for\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003ECart Abandoned Url\u003C/td\u003E\u003Ctd\u003EA link that returns the shopper to their unpaid order\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003EPurchase History\u003C/td\u003E\u003Ctd\u003EA structured record of every item purchased, with price and date\u003C/td\u003E\u003C/tr\u003E\u003C/table\u003E\u003Cimg class=\u0022lazy-load\u0022 data-width=\u0022\u0022 data-height=\u0022\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/7d4b9f22d8bee7651586a82af4e46341.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Ch3 id=\u0022order_status_and_automations\u0022\u003EOrder status and automations\u003C/h3\u003E\u003Cp\u003EDailyStory tracks the status of every WooCommerce order. When an order moves from one status to another, the change starts the matching \u003Ca href=\u0022/article/pffq9y943p-autopilot-triggers\u0022\u003Eautomation trigger\u003C/a\u003E. Status changes are picked up whenever they happen, including on orders placed days or weeks earlier.\u003C/p\u003E\u003Ctable border=\u00221\u0022 style=\u0022border-collapse: collapse; width: 100%;\u0022\u003E\u003Cthead\u003E\u003Ctr\u003E\u003Cth\u003EWooCommerce order status\u003C/th\u003E\u003Cth\u003EAutomation trigger\u003C/th\u003E\u003C/tr\u003E\u003C/thead\u003E\u003Ctr\u003E\u003Ctd\u003E\u003Ccode\u003Epending\u003C/code\u003E\u003C/td\u003E\u003Ctd\u003EWhen cart abandoned\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003E\u003Ccode\u003Efailed\u003C/code\u003E\u003C/td\u003E\u003Ctd\u003EWhen payment is declined\u003C/td\u003E\u003C/tr\u003E\u003Ctr\u003E\u003Ctd\u003E\u003Ccode\u003Ecompleted\u003C/code\u003E\u003C/td\u003E\u003Ctd\u003EWhen cart ordered\u003C/td\u003E\u003C/tr\u003E\u003C/table\u003E\u003Cp\u003ETo build an automation on one of these triggers, see the \u003Ca href=\u0022/article/q0pgudbzsg-abandoned-cart-campaign\u0022\u003EAbandoned Cart Campaign\u003C/a\u003E guide.\u003C/p\u003E\u003Ccite class=\u0022warning\u0022\u003E\u003Cspan class=\u0022title\u0022\u003EAbandoned checkout is not the same as an abandoned cart\u003C/span\u003E\u003Cp\u003EIn WooCommerce, the \u003Ccode\u003Epending\u003C/code\u003E status means a shopper reached checkout and did not complete payment. That is an abandoned \u003Cb\u003Echeckout\u003C/b\u003E. A shopper who adds items to a cart and leaves before reaching checkout never creates an order in WooCommerce at all, so there is nothing for the sync to see. To reach those shoppers, enable store activity tracking in the \u003Ca href=\u0022/article/8omibw2171-integrations-wordpress\u0022\u003EDailyStory WordPress plugin\u003C/a\u003E.\u003C/p\u003E\u003C/cite\u003E\u003Ch3 id=\u0022custom_order_statuses\u0022\u003ECustom order statuses\u003C/h3\u003E\u003Cp\u003EMany WooCommerce extensions add their own order statuses, such as \u003Ccode\u003Epartially-shipped\u003C/code\u003E or the statuses used by WooCommerce Subscriptions. DailyStory syncs these exactly as your store reports them, so you can build \u003Ca href=\u0022/article/v1v5lti4gf-segments\u0022\u003Esegments\u003C/a\u003E on any status your store uses. The triggers listed above fire for the core statuses shown.\u003C/p\u003E\u003Ch3 id=\u0022sales_and_revenue\u0022\u003ESales and revenue\u003C/h3\u003E\u003Cp\u003EWhen an order reaches \u003Ccode\u003Ecompleted\u003C/code\u003E, DailyStory records a sale for each item in that order against the customer\u0027s contact record. The amount recorded is the line total the customer actually paid, after any coupon discounts have been applied.\u003C/p\u003E\u003Ch3 id=\u0022store_activity_tracking\u0022\u003EStore activity tracking\u003C/h3\u003E\u003Cp\u003EThe WooCommerce integration syncs customers and orders from your store. To also capture what shoppers do on the storefront itself, install the \u003Ca href=\u0022/article/qfl7mox9nn-install-daily-story-tracking-tag-in-word-press\u0022\u003EDailyStory WordPress plugin\u003C/a\u003E. With the plugin in place, DailyStory additionally receives:\u003C/p\u003E\u003Cul\u003E\u003Cli\u003Eproduct views, for browse abandonment\u003C/li\u003E\u003Cli\u003Eadd to cart activity\u003C/li\u003E\u003Cli\u003Elive cart contents and a link the shopper can use to return to their cart\u003C/li\u003E\u003Cli\u003Eorder conversions, so revenue is attributed to the marketing that produced it\u003C/li\u003E\u003C/ul\u003E\u003Cp\u003ESee \u003Ca href=\u0022/article/8omibw2171-integrations-wordpress\u0022\u003EWordPress Integration\u003C/a\u003E for details on enabling store activity tracking.\u003C/p\u003E\u003Ch3 id=\u0022recovering_an_abandoned_checkout\u0022\u003ERecovering an abandoned checkout\u003C/h3\u003E\u003Cp\u003EWhen a checkout is abandoned, DailyStory records the date on \u003Cb\u003ECart Abandoned\u003C/b\u003E and a link back to the unpaid order on \u003Cb\u003ECart Abandoned Url\u003C/b\u003E. Use that link in your recovery email or text message so the shopper returns straight to payment:\u003C/p\u003E\u003Cp\u003E\u003Ccode\u003EFinish your checkout: {{profile.woo_abandoned_url}}\u003C/code\u003E\u003C/p\u003E\u003Cp\u003EBoth fields are cleared as soon as the order moves on from \u003Ccode\u003Epending\u003C/code\u003E, so a recovery automation stops targeting a customer who has since paid.\u003C/p\u003E\u003Ch3 id=\u0022refunds_and_cancellations\u0022\u003ERefunds and cancellations\u003C/h3\u003E\u003Cp\u003EIf an order is later refunded or cancelled, the sales recorded for it are removed, and the customer\u0027s \u003Cb\u003EOrder Count\u003C/b\u003E and \u003Cb\u003ETotal Spent\u003C/b\u003E fall back accordingly. Both figures are recalculated from the recorded sales on every sync rather than added up as orders arrive, so they stay correct even when the same order is synced more than once.\u003C/p\u003E\u003Ch3 id=\u0022purchase_history\u0022\u003EPurchase history\u003C/h3\u003E\u003Cp\u003E\u003Cb\u003EPurchase History\u003C/b\u003E is a structured record of everything a customer has bought, rather than a flat list of product names. Each purchase carries three values: \u003Cb\u003EItem\u003C/b\u003E, \u003Cb\u003EPrice\u003C/b\u003E and \u003Cb\u003EPurchase Date\u003C/b\u003E.\u003C/p\u003E\u003Cp\u003EBecause each purchase is its own record, a \u003Ca href=\u0022/article/v1v5lti4gf-segments\u0022\u003Esegment\u003C/a\u003E can ask questions the flat product list cannot, such as \u0022bought a particular item between two dates for more than a given amount\u0022. Purchase history is built from the sales already recorded for your store, so a store with existing order history sees it appear without needing a re-import.\u003C/p\u003E\u003Ch3 id=\u0022autocreated_segments\u0022\u003EAuto-created segments\u003C/h3\u003E\u003Cp\u003EWhen the WooCommerce integration is enabled, the following dynamic \u003Ca href=\u0022/article/v1v5lti4gf-segments\u0022\u003Esegments\u003C/a\u003E are created automatically. They are provided as starting points and can be used, edited or deleted:\u003C/p\u003E\u003Col\u003E\u003Cli\u003E\u003Cb\u003ECustomers that haven\u0027t ordered in past 60 days\u003C/b\u003E - previous purchasers who have gone quiet.\u003C/li\u003E\u003Cli\u003E\u003Cb\u003ENew WooCommerce customers in past 30 days\u003C/b\u003E - customers who placed their first order in the last month.\u003C/li\u003E\u003Cli\u003E\u003Cb\u003EAbandoned cart today\u003C/b\u003E - customers who abandoned a checkout today.\u003C/li\u003E\u003Cli\u003E\u003Cb\u003ECustomers that have ordered more than once\u003C/b\u003E - repeat purchasers.\u003C/li\u003E\u003Cli\u003E\u003Cb\u003ECustomers that have spent more than $100\u003C/b\u003E - your higher-value customers.\u003C/li\u003E\u003C/ol\u003E\u003Ch3 id=\u0022conversion_tracking\u0022\u003EConversion tracking\u003C/h3\u003E\u003Cp\u003EA WooCommerce \u003Ca href=\u0022/article/conversion-funnels\u0022\u003Econversion funnel\u003C/a\u003E is created when the integration is enabled. With the \u003Ca href=\u0022/article/8omibw2171-integrations-wordpress\u0022\u003EDailyStory WordPress plugin\u003C/a\u003E installed, completed orders report their value to that funnel, so store revenue can be attributed to the campaigns and automations that produced it.\u003C/p\u003E","publish_status":0,"post_type":"Article","authoruid":"3dde8c16-763a-4a2b-ae0b-1d8c50c62e3d","author":{"authoruid":"3dde8c16-763a-4a2b-ae0b-1d8c50c62e3d"},"featured_image_url":"https://cdn-us-1.azureedge.net/content-pages/images/integrations/icons/woocommerce_on.png?v=2","featured_image_updating":false,"meta_description":"WooCommerce is an open-source e-commerce plugin for WordPress. It is designed for small- to large-sized online merchants using WordPress. By integrating WooCommerce with DailyStory, you can leverage the DailyStory marketing automation platform to seamlessly send emails, text messages, push notifications and more. How to integrate WooCommerce and DailyStory Obtain your WooCommerce API keys Login to your WooCommerce account and see the WooCommerce documentation to generate the Consumer Key and ...","display_toc":true,"has_workingcopy":false,"allow_indexing":true,"sort_order":10,"total_views":1218,"date_published":"2023-08-14T16:51:22","date_updated":"2026-09-19T15:49:40.763","date_created":"2025-04-24T15:03:06.083"}}}