问题
I'm having trouble with fbevents.js, I don't know why but is loading with my page, I'm nor importing it anywhere neither putting it inside a script tags referencing it.
Image from my page:
What do you guys think could be the problem?
回答1:
http://staticw2.yotpo.com/QxG0HurQF664N9LddhiDMsxHjx9XYsaVgWcDBnme/widget.js
above widget.js script load fbevent.js.
here is the related code line. view source and search for fbevent.you can find that line.
(window,document,"script","//connect.facebook.net/en_US/fbevents.js"
回答2:
I had the same problem and in my case I noticed it is one of the scripts loaded by the Google Tag Manager.
来源:https://stackoverflow.com/questions/38482681/why-is-fbevents-js-loading-on-my-page