The auto-detect function can be enabled by removing the data-slug parameter from the track button code. The tracking will then be initiated on the basis of your courier settings and carriers that are not activated during auto-detect will be excluded.
🚛 Define courier preference
- Go to AfterShip courier settings > Disabled tab
- Enable required couriers
🔓 Enable auto-detect feature
- Go to track Button settings > Enable Auto-detect under Public account
- Add the Track Button code to your store
For your account (username.aftership.com), the Track Button code by default does not contain the data-slug parameter.