If you want to add Google Analytics or Adwords to your WordPress blog, you need a special plugin. If you a little experience in HTML you can do it on your own and add the needed code to the WordPress theme manually.
If you need an PDF library, wich converts an HTML document to a PDF you need a library. There are a lot of libraries on the market, but only a few wich are free and open source. In my projects i used the DinkToPdf library, wich is a wrapper for the webkit engine (the chrome engine) for c#/.Net Core. The library needs as dependency the wkhtmltopdf library, wich you need to add manually.