Has anyone had issues with trying to add google remarketing codes as non-sequential js? I keep getting the error Unexpected token < (line: 1; col:1)
There is a great article by Jennifer Kunz that goes over converting various marketing pixels from HTML to JS. Have a look at the link below:
I pulled the code directly from Adwords. How do I convert to only .js?
You have HTML in your tag and it can only contain pure JS, you need to remove all HTML before you can use your tag, otherwise you can change the type to an HTML tag however it's better for performance if you use pure JS.