You would actually add a “Text” widget to a widget area and then add that code in. The same goes for pretty much all of those tutorials. Simply drag over the Text widget into the place that you want, and then add your code…..it will show up on your site after that.