Hello,
Install Insert Header and Footers plugin and add the mentioned script to the Insert Footer area (Settings > Insert Headers and Footers).
Regards