utag.cfg.path as a JS variable - but NOT utag.data['dom.domain'] because of special characters are not allowed.
Is there a way to repurpose all the data that is available under utag.data - e.g. meta and dom data?
Solved! Go to Solution.
The domain is a pre-declared variable so there is no need to re-declare it. If you are creating a load rule, mapping a data variable in a tag, or using an extension, you can simply type in "domain" in the drop down and it will automatically appear for use.
Please let me know if you are attempting to use domain somewhere else and I can give proper guidance.
Thanks @dan_george for your answer. I would like to use it in the extension. I wanted to picup a query parameter CID from the URL and save it in the variable. The extension I was thinking of using is the Set Data Value and Join Data Value.
If you are just attempting to pick up a querystring parameter out of the URL, you can just declare the QSP in the Data Layer tab:
That's it! And now it will be accessible through the rest of the UI.
If you plan to map it in a tag, or leverage within an extension, this is all that is required to reference it. Please let me know if this is the guidance you are looking for.