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:
2018 Enterprise Analytics Benchmark Report

2018 Enterprise Analytics Benchmark Report

Optimizing the analytics solutions for maximizing business performance Download Now


  1. 1
  2. 2

This site uses Akismet to reduce spam. Learn how your comment data is processed.