ShipHawk Guide

Customer Tracking (Settings Screen)

Customer Tracking Code

With customer tracking, you can provide real-time shipping status information for your customers, directly in your website.

image-20240910-231631.png

Integration Instructions

Use shipment ID or carrier name and tracking number to get shipment tracking details by following the steps below:

  1. Copy the code below.

  2. Paste the code onto the page you want to display to your customer.

  3. Pass carrier code and tracking number variables into the widget.

<div id="shiphawkTrackingApp"></div> <div id="sh-tracking-widget"> <script data-version='v1' id='shiphawk-embedder-id' type="text/javascript"> /************** CUSTOM VARS ************************/ // either carrierCode AND trackingNum need to be set OR // shipmentId needs to be set var carrierCode = 'carrier', //use lowercase for code shipmentId = '11111111', trackingNum = '1111111111'; /***************************************************/ !function(){function e(){var e,t,a=document.createElement("script"); a.type="text/javascript",a.async=!0,e="https://go.aws/2ScfiUM", a.src=e+"?"+encodeURIComponent("carrier="+carrierCode+"&tracking="+trackingNum+"&id="+shipmentId), t=document.getElementById("shiphawk-embedder-id"),t.parentNode.insertBefore(a,t)} window.attachEvent?window.attachEvent("onload",e):window.addEventListener("load",e,!1)}(); </script> </div>

 

 

Contact Technical Support
© ShipHawk 2024. All Rights Reserved.