What's new in 0.5.1
Fixes for pages that moved to 0.5.0, and four things a page can now do. Your page works without changes.
You will notice
- Prices show which dollar. CAD, AUD, NZD, HKD and MXN read
CA$49.90, not$49.90. Selling in your home market? Setlocale: 'en-CA'to keep$. Language and currency - Meta gets PageView from the SDK. Remove
fbq('track', 'PageView')from your pixel code, or it is counted twice.
New
- A currency switch for your page.
data-next-action="setCurrency"opens the page again in the currency the shopper picks. Language and currency - A total before shipping.
cart.total_before_shippingis the total without the shipping price, for a checkout that shows shipping on a later step. Cart - Sums in
data-next-query.data-next-query="total / 30"writes a price per day, with no script. data-next-query - A name for a sum.
data-next-define="cart.free_shipping_left = 75 - total_before_shipping"makes it a field every query and condition can read. data-next-define
Fixed
- Order bumps count in the purchase again.
blockedEventskeeps an event from one destination again, as on 0.4.x.- The data layer carries the shopper's email and country before the purchase again, for tags that match the shopper early.
- The 0.4.x visitor id key is in
localStorageagain, holding the campaign session id, for pages that send it to Meta asexternal_id. dl_user_datano longer reports the bundle a checkout pre-selects at its list price, anddl_begin_checkoutalways comes afterdl_add_to_cart.- An add-to-cart button with
data-next-urlsendsdl_add_to_carton the page it is clicked on, once the price is in (3 s at most), before it leaves. - A currency picked with
?currency=stays for the rest of the tab. - Affiliate and ad tracking reaches the order: on a first visit, after PayPal, Apple Pay or 3-D Secure, and when a shopper taps a link early.
- Checkout tells the shopper why an order could not be placed.
- A name, address line or city is refused only for an emoji or an HTML tag:
Smith, Jr.,John Smith 3rdand迈克尔·杰克逊go through. - A personalisation typed once for the whole order stays when the shopper picks another bundle.
- Pages are ready sooner on a slow connection: about a second sooner on a checkout page.