I am trying to save this Custom Javascript Variable within Google Tag Manager and return this error each time:
Error at line 2, character 4: Parse error. primary express
To fix the issue in Google tag manger, I simple re wrote the code to be :
function() { return document.querySelector(".no-display > input[name=product]").value; }