Not the best way of doing that but found that you could inject some stuff in metaData.device.name
<input type="hidden" name="metaData.device.name" value="_${request.getParameter('someparam')}" />I can later retrieve it and parse it and assign it
[#assign someparam=request.getParameter("metaData.device.name")?split("_")?last]