URL Cleaning Feature Guide¶
Overview¶
AirShop automatically cleans product URLs by removing tracking parameters and affiliate tags, providing cleaner, more reliable links for your inventory items.
What Gets Cleaned¶
When you paste a URL into the Purchase URL field on an inventory item, AirShop can automatically strip out:
- Tracking parameters: UTM tags, affiliate IDs, campaign codes
- Platform-specific junk: Amazon ref codes, eBay tracking IDs, etc.
- Session data: Cart IDs, user session tokens
Vendor-Specific Cleaning¶
| Vendor | Before | After |
|---|---|---|
| Amazon / Amazon Business | https://www.amazon.com/Product-Name/dp/B0FCHHZ76X/ref=pd_ci_mcx...?pd_rd_w=jBhca&content-id=... |
https://amazon.com/dp/B0FCHHZ76X |
| Digi-Key | https://www.digikey.com/en/products/detail/product-name/PART123/12345?s=N4Ig... |
https://digikey.com/en/products/detail/product-name/PART123/12345 |
| eBay | https://www.ebay.com/itm/123456789012?_trkparms=... |
https://ebay.com/itm/123456789012 |
| Fastenal | https://www.fastenal.com/product/details/12345678?src=... |
https://fastenal.com/product/details/12345678 |
| Global Industrial | https://www.globalindustrial.com/p/product-name-123456?utm_source=... |
https://globalindustrial.com/p/product-name-123456 |
| Grainger | https://www.grainger.com/product/NAME-5K459?tracking=... |
https://grainger.com/product/NAME-5K459 |
| Home Depot | https://www.homedepot.com/p/Name/123456789?cm_mmc=... |
https://homedepot.com/p/Name/123456789 |
| Lowe's | https://www.lowes.com/pd/Name/1234567?cm_mmc=... |
https://lowes.com/pd/Name/1234567 |
| McMaster-Carr | https://www.mcmaster.com/92196A111/?some=param |
https://www.mcmaster.com/92196A111/ |
| MSC Industrial | https://www.mscdirect.com/product/details/12345678?rItem=... |
https://mscdirect.com/product/details/12345678 |
| Portland CNC | https://shop.portlandcnc.com/products/item?variant=123&utm_source=... |
https://shop.portlandcnc.com/products/item |
| Uline | https://www.uline.com/BL/S-12345?pricode=WA123&utm_source=... |
https://uline.com/BL/S-12345 |
| Zoro | https://www.zoro.com/product-name-here/i/G5124366/?variantSelection=... |
https://zoro.com/i/G5124366/ |
Generic Tracking Parameters Removed¶
For any URL not from a known vendor, these common tracking parameters are automatically removed:
utm_source,utm_medium,utm_campaign,utm_term,utm_contentfbclid(Facebook)gclid,dclid(Google)msclkid(Microsoft/Bing)ref,source,campaign,affiliate- And many more...
How It Works¶
Automatic Cleaning (Default Behavior)¶
- Paste a URL into the Purchase URL field
- The URL is automatically cleaned - tracking parameters are stripped out
- A message appears: "We cleaned that link up for you" with an Undo button
- Click Undo if you need the original URL (available until you navigate away)
This happens automatically on paste or when you finish typing and leave the field.
Manual Override¶
If you need the original URL for some reason: - Click Undo immediately after cleaning to restore the original URL - The undo option is available until you navigate away or make other changes
Organization Settings¶
Automatic URL cleaning can be turned off organization-wide:
- Go to Settings → Inventory Settings
- Toggle "Automatically clean purchase URLs"
- When enabled (default): URLs are automatically cleaned on paste
- When disabled: URLs are saved exactly as entered, no auto-cleaning
Benefits¶
- Cleaner data: No more cluttered URLs in your database
- Reliable links: Tracking parameters can sometimes cause issues or expire
- Privacy: Removes referral tracking when sharing links internally
- Consistency: All product URLs follow a standardized format