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.
Integration Instructions
Use shipment ID or carrier name and tracking number to get shipment tracking details by following the steps below:
Copy the code below.
Paste the code onto the page you want to display to your customer.
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.