I created an issue collector and tested it in template preview, it works fine.

Then I copied the script to my website, it displays the below error. I checked my chrome cookie setting, it actually allows all cookies. It works fine with IE.

Would you please help? Thank you!