Custom plugins with your custom functions.
There are plugins so complex to generate the Google Analytics or Tag Manager code that they don’t work as expected.
For this reason I decided make a simple plugin, fast and with less consume of the resources.