Parse URL Parameters
I would appreciate any help with this:
I know how to parse a URL parameter and populate a traffic variable with the value using a data element, but In some cases I only want part of the value.
I'm capturing full URLs in prop2: document.location.hostname+document.location.pathname+document.location.search
- Example URL: "www.example.com?vanity_url=website.com-spring"
- Desired outcome: sprop8="spring"
Ali