Deploying a Recommendations Banner Custom Widget

  1. Add Recos Tag to your global code
    1. go to https://app2.abtasty.com/settings/global-code
    2. Add this code snippet

      Image without caption
      const script = document.createElement('script');
      script.src = "https://client.get-potions.com/[SITE_ID]/recos-tag.js";
      script.async = true;
      document.head.appendChild(script);

      Where your SITE_ID is to replace by the SITE_ID visible in your account settings

      Image without caption

       

    3. Click "SAVE" 
      Dev check : Now when you type :
      recos.reco(RECO_ID) with RECO_ID being one of your reco_ids, you get a promise that should fulfill with a product list if all the required variables are available on this page.

  2. Configure the Custom Widget the ABTasty team provided to you
  3. Add it to your campaign

Was this article helpful?

/