Articles on: Tracking Page

Add Order Lookup Widget Code to Your Store

You can create a new page on your store, or just choose one of the existing pages to add the AfterShip order lookup widget.

Add the widget to your store



Go to your store > Select a page to add track button

Copy and paste the below-mentioned code after the <body> tag

<div id="as-root"></div><script>(function(e,t,n){var r,i=e.getElementsByTagName(t)[0];if(e.getElementById(n))return;r=e.createElement(t);r.id=n;r.src="https://button.aftership.com/all.js";i.parentNode.insertBefore(r,i)})(document,"script","aftership-jssdk")</script>

Copy and paste the below-mentioned code between <body> and </body> tags. The button will appear wherever you place it.

<div class="as-track-button" data-size="large" data-domain="track.aftership.com"></div>

Note: Make sure you copy both the codes and paste as explained above to use the order lookup widget.

Save changes

Updated on: 07/10/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!