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="//fast.wistia.net/labs/fresh-url/v1.js" async></script>
The script currently works with Google Analytics, Pardot, Hubspot, Clicky and Analytics.js (Segment.io). Special thanks to Jason at Bnpositive for the tip!