What is AfterShip Track Button?

AfterShip Track Button is the easiest way to add tracking ability to your website, allowing your visitors to track shipments of over 300 carriers.

By inserting the Track Button to your page, you could allow visitors to track shipments by either inputting a tracking number or just a simply click (you could pre-input the tracking number and courier for the users). What's best? AfterShip Track Button is free!

How to embed Track Button to your site?

You can simply embed this track button widget by inserting the following code

<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="//button.aftership.com/all.js";i.parentNode.insertBefore(r,i)})(document,"script","aftership-jssdk")</script> 
<div class="as-track-button" data-size="large" data-domain="track.aftership.com"></div>

Remember to login to your AfterShip account >  apps > Track Button for custom style. You can also replace data-domain="track.aftership.com" with your AfterShip username or custom domain to display tracking results, and apply your carrier settings. 

Still need help? Contact Us Contact Us