For the complete documentation index, see llms.txt. This page is also available as Markdown.

Navidium Testing

Introduction

Intelligems' Navidium integration allows merchants to test Navidium's shipping protection (including the upsell at checkout) via an Intelligems content test. You can test:

  • Widget on vs. off (both the cart widget and the upsell at checkout)

  • Auto add-to-cart

  • The minimum fee offered

  • The fee percent

How It Works

To set up a Navidium checkout test:

  1. Create a new Intelligems Onsite Edit content test

  2. For the groups for which you want to test different settings than the current defaults, inject the following Javascript:


// change the configurations below to what you want to test
// you only need to specify configurations that you want
// to behave differently than your current Navidium settings
window._igNavidiumConfig = {
    isOn: true,
    autoAddToCart: true,
    pctFee: 5, // 5 here means 5%
    minFee: 3,
}

  const res = fetch("/cart/update.js", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      attributes: {
        '_igNavidiumConfig': JSON.stringify(window._igNavidiumConfig)
      },
    }),
  })

  1. Enable "Use Intelligems App Config" in the settings of the Navidium checkout block in your Shopify checkout settings:

Last updated

Was this helpful?