When using static mode, you can define parameter values only via the data layer or HTML node relations. It is not possible to use Javascript functions (excluding wts.get()).
// works
_ti.pageName
_ti["pageName"]
_ti['pageName']
wts.get('pageName')
document.location.href
// does not work
document.getElementById('foo').value
Date.now() + '' + parseInt(Math.random() * 10000)
(function(){return 'foo.bar'})()
JS