_satellite.URI
This function in DTM returned the URI of the page where run. If it were run on https://www.example.com/Things/Stuff?foo=cats&bar=dogs#supersale , it would rteurn "/Things/Stuff?foo=cats&bar=dogs".
It does not exist in Launch.
Remedy:
Create a data element (call it URI if you wish) using Core > Custom Code. In the custom code section enter the following:
1
return (document.location.pathname + document.location.search);
Copied!
You may then replace _satellite.URI() with _satellite.getVar("URI").
Last modified 2yr ago
Copy link