It’s different on every Wordpress theme, but generally anywhere in the theme settings, titled header, footer, or script will work.

Check the documentation regarding your theme on where you should paste script!

Did this answer your question?