Joryio - changelog

Every version of the plugin. The readme keeps the latest ones.

= 1.6.35 =
* The web push service worker is now served by WordPress itself at the same address, /joryio-sw.js, generated from your settings. The plugin no longer writes any file to your site folder (WordPress.org review). Browsers that already subscribed keep working: the address is unchanged
* The joryio-sw.js file an earlier version wrote to your site folder is deleted once by this update, and only when it is exactly the file the plugin wrote; a file you changed is left alone
* Some web servers answer .js addresses themselves and never pass a missing file to WordPress. With web push on, the In-app & web push tab now checks the address and says so; ask your host to pass /joryio-sw.js to WordPress
* The storefront's calls to your site (the typed email, the signed-in customer proof, the queued add-to-cart events) now also carry a WordPress nonce. It is never printed into the page, so full-page caches keep working: the tracking script asks for a fresh one when it needs it
* Saving a settings tab now needs the same permission that opens the page (Manage WooCommerce on a store), and the registration consent box checks the registration form's own nonce
* The plugin's admin notices (no API key saved, reconnect after WooCommerce was activated) now show only on the Plugins screen and the Joryio settings page, to users who can act on them. The reconnect notice can be dismissed; the choice is kept per user. Nothing else changes

= 1.6.34 =
* A signed-in customer can update their phone number through a website form. When a logged-in customer submits a Contact Form 7 or Elementor form, the plugin now sends a signed proof of who is logged in (the same signed proof the storefront sign-in uses, made on your server and good for that one submission only). When the form's email belongs to that same customer's contact in Joryio, the phone typed into the form replaces the contact's phone; the email never changes this way
* A visitor who is not logged in changes nothing that is already there: the form fills an empty email or phone only, as before. The proof is sent only for a form submitted on your own site (a form posted from another site in the customer's browser gets none)
* The form's email and phone are kept on the Form Submitted event in Joryio, so a different phone a visitor typed is no longer lost; the event says whether the contact took it
* Needs a Joryio release later than 2026-11-03 (an older Joryio refuses the new field, and that submission is not recorded); nothing to configure
* A Contact Form 7 form that submits through the WordPress REST API without the REST nonce is seen by WordPress as logged out; it sends no proof and the visitor rule applies
* On a WordPress site without WooCommerce, the In-app & web push settings tab now says "your site" and "visitors" instead of "your store" and "shoppers"
* The "External services" section of the readme now lists everything sent: a ticked form consent box's wording and the submitter's IP address (since 1.6.31), the wording, page and IP address with an order's consent, and the signed-in customer proof sent with a form (1.6.34)
* The "Allow HTML in-app messages" help text and the readme now say exactly what an HTML message can do: it is shown in a separate frame whose Content Security Policy blocks every script written into it; it can show images, fonts and video loaded over HTTPS, but cannot run code on your pages, fetch data or submit forms itself

= 1.6.33 =
* The email a shopper types now says where it was typed: the checkout's email field (the classic checkout's billing email or the Checkout block's email) is sent as a checkout entry, any other email field (Contact Form 7, Elementor, a newsletter box) as a form entry. Joryio corrects a mistyped address only when it was typed at checkout: when a guest fixes a typo in the checkout email, the earlier address is removed from their contact, as Magento and PrestaShop stores already do. An address typed into a website form is never removed this way
* The email remembered from an earlier page is sent without a source, as before, and never corrects another
* A Joryio version that does not read the source treats every email as before; nothing to configure

= 1.6.32 =
* The settings page is now in tabs instead of one long page: Connection, Tracking & identity, Store, Consent, In-app & web push and Forms (Store and Consent only with WooCommerce active; a site without WooCommerce has Connection, Tracking & identity, In-app & web push and Forms). Until the site is connected, only the Connection tab is shown. The page works without JavaScript, every tab has its own link (for example WooCommerce > Joryio > Consent, ?page=joryio&tab=consent), and saving returns to the tab you saved
* Each tab saves only its own settings: saving one tab never changes a setting on another tab
* After a save the page now says "Settings saved." under WooCommerce > Joryio too (WordPress showed it only under Settings > Joryio)
* The sync status (products, orders, customers, tracked carts) is on the Connection tab. Every setting, its default and its value are unchanged; nothing to configure
* The website-form consent wording (1.6.31) is cleaned with WordPress's own wp_strip_all_tags() instead of PHP's strip_tags() (flagged by Plugin Check); the text sent is the same

= 1.6.31 =
* Website forms (Contact Form 7, Elementor Pro) now send the consent wording: when the person ticks the form's consent field, the plugin sends its visible text with the submission - a Contact Form 7 acceptance tag's text, an Elementor Acceptance field's "Acceptance Text" (else its label) - as plain text, at most 500 characters. Joryio records it on the consent entry as the exact wording the person agreed to, with the page and the time, the way the checkout box's label already is. A box left unticked never sends its text, and a "signup form" (no box) sends none
* The Elementor consent field is matched by the ID set in "Consent field ID" (any custom ID) and must be an Acceptance field; a Contact Form 7 acceptance tag gives its text only when the text is inside the tag ([acceptance your-consent] I agree ... [/acceptance])
* Consent evidence on orders and registrations: an order's checkout box (ticked or unticked) now carries the order's customer IP and the checkout page, and the My Account registration box the registration request's IP and the My Account page, so the consent entry in Joryio shows them - also for "An unticked box unsubscribes". The registration IP is the connection's address unless you trust your proxy (the joryio_trust_forwarded_ip filter); the IP is sent with the event only, never stored in order or user meta
* Needs Joryio from 2026-11-03 or later; nothing to configure

= 1.6.30 =
* A guest's cart now stays with the guest's own visitor profile in Joryio. The plugin reported a guest's cart under the WooCommerce session only until the guest typed an email, so Joryio kept the cart on a separate contact for that session; when the guest then typed the email of an existing customer at checkout, the browser joined that customer but the cart stayed behind, and its abandoned-cart reminder went to nobody. Every guest cart event now names the browser's anonymous visitor id (from the shopper's own cookie, as the identity events already did), so Joryio keeps the cart on the visitor's profile from the first product added, and the cart follows when the email is typed
* Correcting a mistyped email at checkout now moves the visitor and the cart to the corrected address in Joryio (Joryio change, no plugin setting)
* With "Recognise visitors by the email they type" off, the cart stays on its own contact as before
* Nothing to configure

= 1.6.29 =
* A personal coupon code (a Joryio coupon program that locks each code to the person it was sent to) now works for a guest. WooCommerce refuses a code with "Allowed emails" while it does not know the shopper's email - a guest before checkout - with "Please enter a valid email at checkout to use coupon code", and never tried it again, so the guest's apply link gave no discount even with the right email at checkout. The plugin now keeps the code waiting and applies it as soon as the shopper's email is known and is the one the code was sent to: at once for a signed-in customer, and for a guest when they enter their email at checkout (block and classic checkout), at the latest when the order is placed
* Another email gets "The code ... belongs to another customer, so it was not applied" (it never says whose) and no discount; the code keeps waiting, so correcting the email applies it. WooCommerce still checks the email itself when the code is applied and on the order: a wrong email never gets the discount
* The block cart and checkout show these messages as notices (the plugin's small coupon-notice script, loaded on the cart and checkout pages only); the classic ones use WooCommerce's notices
* A signed-in customer who opens someone else's personal code is told at once that it belongs to another customer, instead of WooCommerce's "Please enter a valid email at checkout" (and still gets no discount)
* The page an apply link lands on (usually the home page) now shows the coupon message too, also on themes that show WooCommerce notices only on shop pages
* Messages show the code as it was sent (WooCommerce's own messages wrote it in lower case)
* Nothing to configure

= 1.6.28 =
* A cart a shopper changes is reported to Joryio right away, from the shopper's own visit. Cart updates used to wait for another WP-Cron run, which happens only on a later visit (or, on a site whose WP-Cron is run by the server, only when the server runs it), and running the abandoned-cart check by hand - "Run now" in WP Crontrol - runs only that check. A customer who added a product to a cart Joryio had already marked abandoned was not reported: Joryio kept the cart as abandoned with its old contents. Now the change goes out at the end of the request, after the page is sent where the server allows it (PHP-FPM, LiteSpeed), so the shopper never waits; a failed send is retried as before
* The abandoned-cart check also runs at the end of a visit when it has not run for a minute (PHP-FPM and LiteSpeed sites, after the page is sent), not only on WP-Cron's 15-minute schedule: carts are reported about when your abandonment time has passed, even where WP-Cron runs late or not at all. One check runs at a time
* A run of the abandoned-cart check on its own (at the end of a visit, or "Run now" in WP Crontrol) first sends the plugin's events that are waiting (for example a cart update waiting for its retry), so it never reports a cart whose last change Joryio has not received
* Errors, warnings and the abandoned-cart check's reports (cart row ids only) are now always written to WooCommerce > Status > Logs, source "joryio" (before, only with WP_DEBUG on)
* To run WP-Cron by hand, use `wp cron event run --due-now` or request wp-cron.php WITHOUT a doing_wp_cron value: a request with one (for example `?doing_wp_cron=$(date +%s)`) runs nothing unless the value is WordPress's own current lock, and still answers 200
* The help text of "An unticked box unsubscribes" now says what it does plainly: it also unsubscribes someone who never opted in (Not Set becomes Unsubscribed), it applies to every contact with the same email or phone in the workspace, like every unsubscribe, and undoing it needs a new opt-in. Behaviour unchanged
* Nothing to configure

= 1.6.27 =
* New optional setting "An unticked box unsubscribes" (WooCommerce > Joryio > Settings, next to "When a shopper ticks the checkout opt-in"), off by default, for stores with a strict consent policy. On: a consent box that was shown and submitted unticked - on the order or on the registration form - unsubscribes that person from that channel (email or SMS) in Joryio, with the reason and the box text recorded. It applies only to signed-in customers unless you also turn on "Also for guest checkouts" (anyone can type someone else's email at a guest checkout, and a new account registration counts as a guest). It never re-subscribes anyone and never touches bounces or complaints. Off (the default), an unticked box changes nothing, as before
* Both options are reported to Joryio with every request (one X-Joryio-Untick-Optout header) and at once when you save them; Joryio shows them on the store's page and applies them
* A box ticked by default that the shopper never touched is sent as no answer - neither a tick nor an untick (it was never consent, and it is no untick either)
* The settings now say that a tick on the registration form waits like a new guest's checkout tick: it counts at once only for a known buyer or subscriber, and anyone else is kept as pending ("Awaiting confirmation") until their first order or their email confirmation

= 1.6.26 =
* A shared browser starts a new visitor for each person. Signing out of WordPress gives the browser a new anonymous visitor id, so the next person on that device is not shown as the one before. A different customer signing in on a browser another customer used gets a new visitor id first. And when Joryio answers that the browser's visitor id belongs to someone else (for example the store admin who used the browser before), the plugin starts a new visitor id and sends the signed-in proof again. The customer's visit and sign-in used to go to the earlier person's profile
* While this is being worked out on a page, that page's events wait (a few seconds at most) and the web SDK starts after it, with the new visitor id. The earlier person's profile and history are not changed, and two people are never merged. Guests, and the "Recognise visitors by the email they type" setting, work as before. Nothing to configure
* A signed-in customer's cart is reported as abandoned again after their first order. A signed-in customer's cart is kept under their account, so after an order every later cart of theirs was saved into the finished one and the abandoned-cart check never looked at it again - Joryio's own backup check sent the reminder instead, later and with the plain checkout page. A cart after an order is now a new cart with its own recovery link (the old link still says "You already completed this order.")
* Emptying the cart and adding the same products again is tracked as a change

= 1.6.25 =
* Ready for the WordPress.org plugin directory. The plugin is now called "Joryio" (WordPress.org does not allow "WordPress" in a plugin name); the folder, settings and connection are unchanged
* Requires WordPress 6.0 or newer (it already needed 5.3 to connect). Tested with WordPress 7.1
* Scripts and styles go through the WordPress APIs: the settings page styles moved into the plugin's stylesheet, and the checkout scripts are printed with wp_print_inline_script_tag()
* Request values (cookies, headers, form fields) are unslashed and sanitized before use; output on the cart restore pages runs through wp_kses()
* The readme lists every external service the plugin uses, what is sent and when, with Joryio's terms and privacy policy. The full changelog moved to changelog.txt
* The download zip no longer contains the plugin's tests or developer files
* The abandoned-cart check runs on the plugin's own WP-Cron interval (`joryio_fifteen_minutes`, was `fifteen_minutes`): the update moves the scheduled check over, keeping its next run time
* Nothing to configure. Behaviour is unchanged

= 1.6.24 =
* Abandoned carts are reported on time whatever the site's time zone. The abandoned-cart check compared the cart's last change, saved in the site's time zone, with a time in UTC: a store east of UTC (for example Israel or Europe) reported its carts hours late, so Joryio marked them abandoned itself first, with the plain checkout page instead of the recovery link; a store west of UTC could report a cart while the shopper was still on it
* The abandoned-cart reminder is sent in the same WP-Cron run that finds the cart, not queued for the next one. WP-Cron runs only when someone visits the site, so on a quiet store the queued report waited for yet another visit
* Every cart event now carries the cart's recovery link and whether it is a guest's cart. When WP-Cron runs late and Joryio marks the cart abandoned itself, its reminder still rebuilds the cart
* "Track guest carts" and the abandonment time are reported to Joryio with every request (one X-Joryio-Cart-Tracking header) and at once when you save them. Joryio's own abandoned-cart fallback follows them: with "Track guest carts" off a guest's cart is never marked abandoned, and the fallback never runs before your abandonment time
* Browser events (page views, product views, add to cart, checkout started) are recorded for guests whether or not "Track guest carts" is on - the setting covers guest carts and their abandonment only

= 1.6.23 =
* A cart restored from a recovery link in another browser is shown in Joryio as a restored copy of the original cart. The copy has no email (the link copies only the products), so Joryio used to list it under "No contact - No email or phone to recover it with", which looked like a lost cart. Every cart event of such a copy now names the cart it was restored from (`restoredFromSessionId`); Joryio names the original cart's contact on it and does not count it as another abandoned cart. An order placed from the copy still recovers the original cart, once
* Nothing to configure. A customer who changes an abandoned cart and leaves it again now gets a new abandoned-cart reminder - that part is in Joryio and needs no plugin update

= 1.6.22 =
* New setting "Recognise visitors by the email they type" (Settings > Joryio, on by default). On: an email a visitor types at checkout or in a website form tells Joryio who is browsing - the visit joins the contact with that email (the one you already have, or a new one), and no second contact with the same email is made. Off (strict identity): a typed email never tells Joryio who is browsing; only signed-in customers are recognised. Carts, orders and form submissions still go to the contact with the email typed either way, so abandoned-cart emails still reach the address typed. Turn it off if you would rather not have someone who types another person's email be shown that person's messages in their browser
* The plugin reports this setting to Joryio with every request (one X-Joryio-Visitor-Identity header) and at once when you save it; Joryio shows it read-only on the store's page (Settings > Integrations > WooCommerce)

= 1.6.21 =
* A signed-in customer is recognised again (owner QA 2026-11-01). The signed customer proof request answered 404 on every page when the site had no API key saved - a Save Changes in 1.6.18 or older erased it while the page still said "Connected" - so the storefront sent the customer's email alone and Joryio made a second contact holding their visit. Every admin page now says when no API key is saved (disconnect, then connect again with your key), and a refused proof request says why (no_api_key, visitor_id, customer_not_synced)
* No email-only identify for a signed-in customer. When the proof cannot be had, the storefront sends nothing and asks again on the next page (up to three times per tab); a signed-in customer's typed or remembered email is never sent from the browser. Guests are unchanged
* A guest who logs in is asked again in the same tab: 1.6.19 asked who is signed in once per tab, so a shopper who browsed, then logged in, never sent their proof. A sign-in cookie (`joryio_li`, a random value, no user data) tells the storefront the sign-in changed
* Customers created in wp-admin (Users > Add New), through the WooCommerce REST API or by an import, and users given the customer role, are sent to Joryio with their customer id. Before, only a storefront or checkout registration was. Sent once per request, after the role and the name are saved
* A customer Joryio was never told about is sent before their first proof, so the visit joins the contact holding their customer id
* A user created by an admin no longer puts that user's email on the admin's own store session

= 1.6.20 =
* Cash on delivery and other unpaid orders no longer show "Paid" in Joryio (owner QA 2026-11-01). Order events now carry whether the order was paid: the date WooCommerce recorded the payment, the payment method and the gateway's transaction id. WooCommerce records a payment date on every order that reaches Processing, Cash on delivery included, so Joryio reads it with the payment method: a Cash on delivery order, or one made in the admin without a payment method, is "Awaiting payment" until you mark it Completed. Orders paid online, and bank transfer or cheque orders you moved to Processing after the money arrived, are "Paid" as before

= 1.6.19 =
* Settings survive Save Changes and updates (owner QA 2026-10-31, 1.6.18 over 1.4.0). Every "Save Changes" on the settings page also erased the API key, the Server URL and the Workspace ID: WordPress writes every setting registered for the form, and those three were registered but are not on it. The page still said "Connected" while nothing reached Joryio - events, the checkout opt-in report and the Disconnect call. They are no longer part of the form. A site whose key was already erased says so on the settings page: click Disconnect, then connect again with your key. An update now also adds the defaults of settings an older version never had, and never changes one you saved (the consent checkbox settings, their text and the record mode included)
* Test connection button on the settings page (when connected): checks that Joryio accepts the key and has this store connected, and says why not ("Connection is working." / "Connection failed: ...")
* Disconnect reaches Joryio. The plugin deletes the Joryio webhooks in WooCommerce and its "Joryio Integration" REST key, then tells Joryio, which marks the store disconnected (the key stays valid, so the same key connects again). If Joryio cannot be reached, the site still disconnects and the page says Joryio may still show the store as connected, so you can disconnect it there too
* Reconnecting shows today's date as "Connected at" in Joryio, and "Last sync" shows "Syncing now..." while the sync the reconnect starts runs. Your consent settings in Joryio are kept across a disconnect and a reconnect
* "Get your API key" opens the WooCommerce & WordPress page in Joryio (it opened the Shopify page), in your Server URL's region
* The settings page logo ships with the plugin (assets/images/logo.svg was missing)
* Privacy: the storefront script no longer carries anything about the visitor. It held the visitor's email (`customerEmail`), the store session id and a nonce, so with a full-page cache one visitor's email could be served to another. Who is signed in is now asked through an uncached request; a guest's typed email stays in their own browser. The identify request is protected by a request header instead of a nonce, which a cached page would hold stale. The update empties the page cache of the common cache plugins, so no cached copy of an older script stays
* A guest's checkout email joins the visitor's earlier events. On the block checkout a guest's contact had no history (Page Viewed, Product Viewed, Product Added, Checkout Started stayed on an anonymous visitor) and no name. The browser's visitor id now goes with the identity the plugin sends (classic and block checkout, any typed email, and a guest's cart with an email), and Joryio adds the visitor's earlier events to the history of a contact this email makes new - only the history: the browser never becomes the contact (an email typed at a guest checkout is not proof of who someone is), and an email that already belongs to a contact adds nothing. The block checkout's email, name and phone are captured on the server as on the classic checkout, and the browser sends the checkout name with the email. A signed-in customer is still joined only by the signed customer proof
* The storefront script is the same on every page and sets no cookie on page views, so a page cache can store it; the page cache is emptied when you connect, disconnect, change the tracking settings or update (Breeze, WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache, WP Fastest Cache, SiteGround Optimizer). Purge any other cache after connecting - see the FAQ

= 1.6.18 =
* Store and sales channel (2026-10-28): every order event now carries where WooCommerce says the order was made (`createdVia`: checkout, the block checkout, the admin, the REST API or a POS plugin). Joryio shows it as the order's sales channel - online, phone (made in wp-admin), pos or other - on the Orders page, in the E-Commerce overview and in the "Bought in channel" segment condition. Orders Joryio reads through the WooCommerce REST API already carried it, so earlier plugin versions still get the channel, a little later. Nothing to configure

= 1.6.17 =
* Opening a cart recovery link no longer changes the cart. In QA one recovery link made five copies of the cart: four from a phone's link previews before the real click, because every opening of the link restored it - and email security scanners (link checkers in Outlook, Gmail and others) open links the same way. Now the link opens a small page ("Restoring your saved cart...", never cached, never indexed) whose script sends a form back with a WordPress nonce; only that restores the cart. Without scripts the "Restore my cart" button does the same. A link preview or scanner that runs no script restores nothing. The "Add these products from your saved cart to your current cart?" confirmation is unchanged and never sent automatically
* One link, one restored cart per browser. The cart a link restored is remembered against the link (a hash of it, never the link itself) and the browser session it was restored in. Opened again in the same browser within 7 days (new setting "Recovery Link Reuses Its Cart For", 1-30 days), the products go back into that same tracked cart - no second copy. Another browser gets a cart of its own with the saved cart's products and coupon, never the cart another browser restored, so nothing anyone typed in one browser is ever tied to another. Both carts count as the same saved cart: one recovery when either is ordered, one reminder if left again. Once an order was placed from it the link says "You already completed this order." in any browser. Signed-in shoppers keep their own cart as before
* A restored guest cart that is left again now gets its one reminder. A guest's restored copy carries no email, and the abandoned-cart scan only looked at carts with one, so the "re-abandoned after recovery" reminder never fired for it. The scan now also looks at an unmerged restored copy without an email: its one cart/abandon is sent with reabandonedAfterRecovery and originalSessionId and no email at all - Joryio finds the shopper through the original cart (never the original's email copied by the store). Further idle copies of the same original are still not reported; a copy where the shopper typed an email is reported under that email, as before
* The restore form is tied to the browser (security review before release): besides the WordPress nonce - which for a signed-out visitor is the same in every browser - the form carries a key made from a random secret in the visitor's WooCommerce session, checked in constant time. A restore without it, with another browser's key or one for another link, or posted from another site, restores nothing and copies nothing ("Your session has expired. Please open the cart link again."); the confirmation page is checked the same way
* With "Track Guest Carts" off, the abandoned-cart scan reports signed-in customers' carts only: no guest cart, a restored guest copy included - also guest carts tracked before the setting was turned off. The same rule as the Magento extension and the PrestaShop module
* Restores per link are capped at 10 an hour: over that, "Too many attempts with this cart link. Please try again later." (logged, ids only)
* The order from a restored cart still carries the recovered cart and the message's jr_cid / jr_jid / utm_* attribution. A new table (joryio_restore_links) is created automatically after the update; unused rows are deleted after 30 days

= 1.6.16 =
* Joryio shows your checkout opt-in settings on the store's page (Settings > Integrations > WooCommerce), read-only: whether the box is shown, whether it is ticked by default, and "When a shopper ticks the checkout opt-in". They are still set only here, in the plugin; nothing is changed from Joryio. The plugin reports them with the requests it already makes (one X-Joryio-Checkout-Optin header) and once more when you save one of them

= 1.6.15 =
* "Record consent immediately" is safe to use. At a guest checkout anyone can type anyone's email, so a bot could tick the box for a stranger and leave (1.6.14 made "Only when the order is placed" the default for that reason). Now, with "Record consent immediately", Joryio counts a tick that arrives before an order at once only for a known buyer or someone already subscribed; a new guest is held as pending (no marketing, no abandoned-cart reminder) until their own order arrives with the box ticked or they click the confirmation email (a per-store setting in Joryio, off by default). The option no longer carries the "use only with bot protection" warning; its description says who counts at once
* New setting "Opt-in ticks per shopper per hour" (default 3), counted per IP address and per checkout session. A tick over it is not sent to Joryio (logged), and that checkout's abandoned-cart event carries no consent; the order still records the shopper's choice. An untick is never capped. Each tick now carries the shopper's IP (shopperIp), which Joryio counts against its own per-store cap and keeps as consent evidence

= 1.6.14 =
* The checkout opt-in counts only with the order by default. "When a shopper ticks the checkout opt-in" now defaults to Only when the order is placed (default, recommended). Record consent immediately stays available, with the warning "Any guest can enter any email - use only with bot protection": in that mode a guest who types someone else's address and ticks the box subscribes that person without an order. A store that saved a choice keeps it (1.6.13 was not released)
* A new cart is no longer counted as the recovery of an older abandoned cart. The order event now names the cart it was placed from (cartRef - the session id the cart events were sent under, taken before an account created at checkout signs in). Joryio counts an order as a recovered cart only when it is that same abandoned cart finished later, or when a recovery link restored it (recoveredCart, 1.6.10). Before, a shopper who abandoned one cart and later checked out a new one in another session had the order tagged "Recovered cart" and counted under Recovered on the Carts page

= 1.6.13 =
* The checkout opt-in counts as soon as the shopper ticks it. New setting under Marketing consent checkbox, "When a shopper ticks the checkout opt-in": Record consent immediately (default) or Only when the order is placed (the behaviour before 1.6.13). Immediately: a tick the shopper makes on the classic or block checkout is sent to Joryio at once, so a shopper who opts in and then abandons can get the abandoned-cart reminder; unticking it again in the same checkout withdraws that tick only (never a subscription from anywhere else); the abandoned-cart event carries the boxes as the shopper left them. Someone who unsubscribed is re-subscribed only under the store's re-subscribe setting in Joryio, as before
* Only a tick the shopper makes counts, once per change: the checkout sends a change only on the shopper's own (trusted) change event, never when the box renders; a change that does not change anything sends nothing. A box pre-ticked by "Ticked by default" counts only after the shopper interacts with it: left untouched it is not consent - not at once and not with the order or the registration form (both modes)
* The checkout change endpoint accepts a POST with its nonce only, changes only the current session's state, and sends the session's own email - never a session, cart or email from the request (nor the joryio_email cookie)

= 1.6.12 =
* A restored cart that is left again gets exactly one more reminder. A cart a recovery link restored into another browser that goes idle again is reported after the normal abandonment time, once per original cart within 30 days, with reabandonedAfterRecovery: true and originalSessionId (the original cart's session) on the cart/abandon event, so journeys can branch on it; further idle copies of the same original are not reported. 1.6.11 and older reported every restored cart again with no cap and no marker. A cart that already had products and received the saved ones is an ordinary cart: reported like any other, never marked or capped
* An order placed from any restored cart, including a copy of a copy, recovers the original cart, once
* The carts table gets three columns (restored_from, restore_merged, reabandoned_at) automatically after the update - no reactivation needed. The plugin never marked a restored cart abandoned when it was restored, so there is nothing to clean up

= 1.6.11 =
* A recovery order is attributed to the message that sent the link. The cart recovery link redirected without the jr_cid / jr_jid / utm_* that Joryio's click tracking adds, and nothing in the plugin stored Joryio's own click ids - so the order carried no attribution. The link now carries those parameters (and only those, each checked for its expected format; never the recovery token or anything else) to the cart or checkout page and through the "Add these products" confirmation, and stores them in the joryio_* cookies the order reads. The storefront script also stores jr_cid / jr_jid from any page's address, like the utm_* it already stored. The nonce and cross-site rules of 1.6.10 are unchanged; a request loaded by another site sets nothing

= 1.6.10 =
* Cart recovery links behave like the Magento extension's. The link never empties the shopper's current cart: the saved products are added to it, and when the cart already has products, or a signed-in shopper opens a guest's saved cart, a page asks first ("Add these products from your saved cart to your current cart?", a form with a WordPress nonce)
* A saved cart of a registered customer opened while a different customer is signed in is refused ("This cart belongs to a different account. Sign out to open it as a guest."), naming nobody. Opened signed out, the products are restored with "Sign in to use your saved details at checkout."
* Opening a link again never dead-ends: the same browser goes to the cart it already restored (nothing doubled), another device gets the products again, and after the order it says "You already completed this order."
* The link loaded by another site (as an image, frame or fetch) changes nothing
* The ORDER now records the recovery: the order event names the saved cart it came from (recoveredCart), so the abandoned cart counts as recovered by that order even when the shopper checks out with another email. 1.6.9 and older marked the cart recovered when the link was clicked, with no order

= 1.6.9 =
* A cart recovery link whose products can no longer be added (all out of stock, deleted or unavailable) now says "The products in this cart are no longer available." and opens the cart page; it used to show nothing, open an empty checkout and count the cart as recovered. When only some products are unavailable, they are named: "No longer available, so not added: ...". No success message over an empty cart, and no discount code applied to one

= 1.6.8 =
* On a page with RequireJS (a theme or plugin can add it) the storefront script loads the Joryio web SDK through RequireJS instead of a plain script tag, so the SDK cannot be mistaken for another module ("Mismatched anonymous define()"). Without RequireJS nothing changes. The SDK is loaded only from sdk.joryio.com

= 1.6.7 =
* The storefront script is printed with WordPress's `wp_print_inline_script_tag()` (WordPress 5.7 or later), so a Content Security Policy plugin can add its nonce to it instead of needing 'unsafe-inline'. Nothing else changes

= 1.6.6 =
* A logged-in customer is recognised as the customer Joryio already knows. The plugin now signs the logged-in customer's id (a single-use proof, fetched by the storefront script from a logged-in-only, never-cached request) and the storefront identify carries it; Joryio verifies it and joins the visitor to the contact that holds that customer id. Before, the identify put the email on the visitor's anonymous profile, which could make a second contact for a customer the sync had already brought in. Guests and typed emails are unchanged

= 1.6.5 =
* A refused connection leaves nothing behind: the read/write WooCommerce REST API key the plugin creates on Connect is deleted again when Joryio refuses the connection
* The reason Joryio gives for a refused connection is shown as is (for example that the web server removes the Authorization header), and a refusal without one names the HTTP status. Joryio now gives a specific reason for each case

= 1.6.4 =
* Settings: the help text under "Allow HTML in-app messages" is corrected: it was wrong about how HTML messages are protected. Joryio keeps their markup as written. HTML messages are shown in a protected frame on your store, where scripts written into them do not run and the message can't reach your store's pages or make network requests of its own. Nothing else changes

= 1.6.3 =
* Order events carry the time of the save that sent them, so Joryio can tell an older order update from a newer one. A delayed or retried update no longer rolls an order back to an earlier status

= 1.6.2 =
* The plugin is now called "Joryio for WordPress" (it was "Joryio for WooCommerce"), because it runs on any WordPress site since 1.6.0. Nothing else changes: the same folder, settings, connection and updates. The settings page title says "Joryio for WordPress" on every site

= 1.6.1 =
* Orders now tell Joryio whether the customer was logged in (the WooCommerce customer id; 0 for a guest checkout). A marketing tick by a logged-in customer can re-subscribe someone who unsubscribed earlier; a guest's tick never does

= 1.6.0 =
* New: Contact Form 7 forms. In the Forms section of the Joryio settings page (WooCommerce > Joryio, or Settings > Joryio without WooCommerce) each form gets a switch, a list, a list-subscription mode and a field mapping (each field to Email, Phone, First name, Last name, a custom attribute, or not sent). Only mapped fields leave your site
* New: Elementor Pro forms. Add "Joryio" under Actions After Submit and set the list, the mode and the field IDs in the Joryio section of the form
* Two list-subscription modes per form: "This is a signup form - always subscribe", or "Only when a consent field is ticked" (a Contact Form 7 acceptance field or an Elementor Acceptance field). In both modes the contact is created or updated and a "Form Submitted" event is recorded; only the subscription depends on the mode. A list that requires double opt-in sends its confirmation email first
* Form submissions never slow the visitor down: they are queued and sent in the background, and retried if Joryio cannot be reached. A retry is never counted twice
* An existing contact's email and phone are never changed by a form - a form can only fill them in when they are empty
* New: the plugin runs on WordPress sites without WooCommerce. Settings, the connection, website forms, the tracking script, in-app messages and web push work everywhere (Settings > Joryio); the store features turn on when WooCommerce is active. A site that adds WooCommerce later is asked to reconnect so its store can sync
* Needs the Joryio server update of 2026-10 for connecting without WooCommerce and for forms

= 1.5.0 =
* New: in-app messages on your store. The tracking script now also loads the Joryio web SDK (https://sdk.joryio.com/web/1/joryio.min.js, the latest 1.x version) to show in-app messages, including messages built with the HTML editor. Its data calls go to your store's Joryio server, like the tracking script
* New: web push. When turned on, the plugin serves the notification service worker from your own site at `/joryio-sw.js` (a file it writes to the site folder, with WordPress answering the same address as a fallback), and shoppers can subscribe through a push opt-in in-app message. With web push off the same address serves a worker that removes itself. Needs the store at the root of its domain
* New settings under WooCommerce > Joryio > In-app messages and web push: In-app messages (on by default), Allow HTML in-app messages (on by default), Web push (off by default). Stores upgrading from an older version get the same defaults
* Nothing is counted twice: the SDK uses the tracking script's anonymous id, emails are still identified by the tracking script only, and the SDK sends no page views or session starts of its own

= 1.4.0 =
* New: coupon apply links. A Joryio message can link to your store with the person's code (`?jry_coupon=CODE`); the code is applied to the cart and the visitor stays on the page. With an empty cart the code is kept and applied when the first product is added
* New: a "Created by" column in Marketing > Coupons shows which Joryio coupon program made a coupon (and marks test codes)
* Joryio coupon codes themselves are created through the WooCommerce REST API, so they also work with older plugin versions; only the apply link and the column need 1.4.0

= 1.3.1 =
* Add to cart is now tracked however the product is added: the AJAX button, the product page form (which reloads the page), and the WooCommerce Blocks buttons and mini-cart. It used to be tracked only from the AJAX button. The add is recorded by the store and sent once from the visitor's browser, so one add is one event
* Add to cart now carries the variation id, price, currency, name, SKU and stock status
* Checkout started now fires on the Checkout block too (it used to fire on the classic checkout only), once per cart - a reload of the checkout page is not a second start
* New: a view of a product category page is tracked (stored as Product List Viewed) with the category id, name and address
* Product views now carry the stock status (in stock, out of stock, on backorder) and the currency
* Orders now send every coupon code with the discount each one gave, so Joryio can show it on the order and segment by coupon

= 1.3.0 =
* New: marketing consent checkbox. Turn it on per location (classic checkout, block checkout, My Account registration form) under WooCommerce > Joryio, and set its text
* A tick subscribes the contact to email in Joryio. An unticked box changes nothing - it never unsubscribes anyone - and a tick never re-subscribes someone who unsubscribed
* Each choice is recorded on the order (or the new customer) with the text shown, the time, where it was shown and the store URL, and is shown on the order screen
* Optional second checkbox for text-message (SMS) consent on the checkout, for the billing phone number
* The box is unticked by default; pre-ticking can be enabled for the classic forms, with a GDPR warning. The block checkout needs WooCommerce 8.9 or later and always shows the box unticked
* Orders placed through the block checkout now reach Joryio when they are created (not only on their first status change), and their tracked cart is marked converted
* Product updates sent by the plugin are now stored in the Joryio catalog (they were received and dropped), so the catalog - and back-in-stock and price-drop alerts - stay current even if WooCommerce disables its webhooks after delivery failures
* Product data now includes the brand (WooCommerce Brands, or Perfect Brands / YITH Brands), the GTIN / UPC / EAN / ISBN (WooCommerce 9.2+, also per variation), the product attributes, and a plain-text description without HTML or page-builder shortcodes
* A variation edit or a stock change from an order or a restock now re-sends its product, once per request
* Each product carries its last-modified time, so a late delivery never overwrites newer product data

= 1.2.1 =
* Installing a second copy (an older upload in another folder) no longer stops WordPress with "Cannot redeclare joryio()": the new copy stands down and asks you to remove the older one
* The default server URL is now https://api-eu1.joryio.com (api.joryio.com does not exist)

= 1.2.0 =
* Fixed server-side event sync: orders, products, carts and customers now reach the platform via the plugin's server path. Previously the payloads were wrapped in order/cart/product envelopes and posted in a shape the server no longer read, so nothing landed
* Added customer sync, cart-recovered and disconnect signals over the server path
* Order sync is now non-blocking - checkout never waits on a Joryio request, so an outage can't stall the storefront
* De-duplicated abandoned-cart events: browsing an already-abandoned cart no longer resurrects it and re-fires the abandonment email; each abandonment now fires once per genuine episode
* Cart tracking now skips redundant database writes when cart contents are unchanged, reducing load on high-traffic stores
* Order attribution (Joryio click/journey ids, UTM parameters and landing page) is captured on each order
* Failed background sends are now logged and retried instead of being silently dropped

= 1.1.0 =
* Storefront tracking now posts events to the server's /api/woocommerce/events endpoint (SDK-key authenticated, sendBeacon with XHR fallback) - the previous endpoint was unreachable, so page views, product views, add-to-cart and identify events silently went nowhere
* The store's SDK key is persisted when connecting; already-connected stores fetch and persist it automatically on the next page load (no reconnect needed)
* Tracking script is only injected when an SDK key is available
* Anonymous visitors get a persistent client id so pre-purchase activity links to the customer profile on identify

= 1.0.0 =
* Initial release
* Product, order, and customer sync
* Abandoned cart tracking
* Customer identity capture
* Cart recovery links
* UTM parameter tracking
