Wait for a Script to Load in Javascript
Ever needed to wait for a script to load before doing something with it? Here's a quick and easy way to make that happen. Perfect for 3rd party scripts you have no control over like Google Analytics, Segment, Intercom, etc.
Tags: javascript, browser, analytics