Analytics & Testing, Marketing & Sales Videos

Fresh URL: Clean Up Your URLs for Sharing

The good people at Wistia have developed a cross-browser script called Fresh URL that you can embed in your site that removes all the extraneous campaign tracking and other unnecessary querystring code from your URL. This is a great tool because it means that your campaign codes won’t be re-used as people share links to your site.

As an example, if you have an email campaign with your campaign querystring on it… and one of your recipients shares the link via social media, now a bunch of folks are going to come to your site and the attribution is to the email campaign, not social media.

To add the script to your site, just add the following script tag before your </body> tag:
<script src="//" async></script>

The script currently works with Google Analytics, Pardot, Hubspot, Clicky and Analytics.js ( Special thanks to Jason at Bnpositive for the tip!

Download a Sponsored Marketing Whitepaper:
Magic Quadrant for Digital Marketing Analytics

Magic Quadrant for Digital Marketing Analytics

Use this research to find a digital marketing analytics tool to support your needs. Download Now


  1. 1
  2. 2