Uncaught SyntaxError: Unexpected token in main.js

Greetings,

Hopefully I’m posting this in the correct forum. I’m just jumping into Hubspot in my role and have noticed a syntax console error in all of the landing pages. I’m not adding any javascript or modifying any scripts. I’d appreciate if someone could take a look and advise.

I opened a ticket but it was closed with a note that this was related to some code I had in the header which has since been removed on a previous example.

Example : https://info.vagaro.com/demo-landing-page

Error: Uncaught SyntaxError: Unexpected token ‘<’ (at main.js:195:1)

HubSpot Ticket #9879356 - Javascript error

Thanks in advance,

Dorian

I figured this out. Someone had inserted a <script> tag in the main.js file. Can mark this as solved.