What's new in 0.5.2

blockedEvents for every destination, checkout texts that can be translated, and one checkout fix. Your page works without changes.

New

  • Keep an event off one destination. destinations.<name>.blockedEvents takes tracking event names, for gtm, ga4, meta and rudderstack:

    CODE
    window.nextConfig = {
      analytics: {
        destinations: { ga4: { enabled: true, blockedEvents: ['upsell_completed'] } },
      },
    };

    The 0.4.x analytics.providers.<name>.blockedEvents still works as it did, with dl_* names. Destinations

  • A translated header for address suggestions. The header reads Suggestions unless checkout.address_suggestions.title is set, in the page's translations or by the address service. Language

  • Every message of the error box can be translated. Each has a text key now, and "Please check the following fields" names each field as its country does. Language

Fixed

  • Address suggestions stay closed once the shopper has left the address field. A lookup that answers later shows when the shopper returns to the field.