Hi,
In case you haven't already solved this issue:
I'd recommend using some of the built-in functions in DTM if possible to pull items from the URL. If that isn't possible, you can use the custom section. If you are having an issue with this still, I'd need more information on how the code was getting the values and setting the variables.
Cheers,
Jantzen