Highlighted

Which extension should be used to exclude a query parameter from a URL before data is send to analytics solution?

Rookie Contributor
I want to use Tealium to rewrite my URLs which include a specific parameter in the URL which is unique per session. So basically this query parameter needs to be excluded/removed from the URL. Could one of the default extensions be used, or should I rather write a custom script and add this via the JavaScript Code extension? tx Siegert
2 REPLIES 2
Highlighted

Which extension should be used to exclude a query parameter from a URL before data is send to analytics solution?

Employee Emeritus
Hi Siegert, if there is only the one query parameter to deal with, or if removing all of the query parameters is acceptable, you could use a Join Data Values extension (joining Domain and Pathname) in conjunction with a Set Data Values extension (to pass the "cleaned" url to a new data source) to accomplish this. If the URL has many query parameters and you only want to remove the one, then a custom JavaScript extension would probably be the most efficient method. There was a similar question here: https://community.tealiumiq.com/questions/73845-what-s-the-best-way-to-modify-the-raw-url-to-remove-... that you might find the answers helpful.
Highlighted

Which extension should be used to exclude a query parameter from a URL before data is send to analytics solution?

Rookie Contributor
Thank you Clint.