Migration Guide

This part of the documentation will guide you through the steps of migrating from old Ingrid Tracking Widget into new Ingrid Delivery Tracking Widget. All the steps from this guide you need to do on frontend of your application.

Changing URL that points to Tracking Widget

Find in your code script that loads Tracking Widget and change its source to:

@@ -1 +1 @@
-<script src=""></script>
+<script src=""></script>

Change the integration

In the part of your application where you initialize Tracking Widget change it to either search mode or private mode:

@@ -1,8 +1,5 @@
- elementId: string,
- trackingNumber: string,
- externalId: string,
- siteId: string,
+ containerId: string,
locale: string,
- authToken: string,
+ siteId: string,

Please see IngridDeliveryTrackingWidget API section of your docs to know more which mode you should render.

New integration doesn't require you to pass authToken anymore.

Last updated: Fri, Jul 12, 06:15 AM