Search code examples
pagespeed

Google PageSpeed Insights show unidentified scripts in results


I am testing my home page (http://stayuncle.com/home) speed at Google PageSpeed Insights. In result, I am getting few unidentified java script. I have no idea how they get into the results.

enter image description here

Can someone help me to understand how they get into result?


Solution

  • If you open up a network tab and view the results when the page loads you will see that those scripts load with the page. This script isn't coming from Google PageSpeed, but rather from your own site. It seems to be coming from a metrics script and is pushing mixpanel results.

    This is the URL inside the script.

    http://popcornmetrics.com/legal

    Unfortunately, I am not able to see what initiated the script. You might want to go through each of your JavaScript files and check if it isn't loaded from there!