Custom JS code reports an error
Hi!
I want to include the JS code in Betheme (https://gist.github.com/gutenberghub/fc1b94a464db70ddd6824f4105737897#file-toggle-switch-pricing-tabel-js) but when I copy it into the Custom JS window, the system gives me the error "Unexpected token <".
What's going wrong?
Kind, Daniel
Comments
Hello,
In the custom JS field, you put your script only, so it should look like this:
The first line of this code, put in Betheme -> Theme options -> SEO in the Google Analytics field:
Best regards
It is ok now. Thank you!