Switch case in javascript in a function for GTM - Stack Overflow

Switch case in javascript in a function for GTM - Stack Overflow