Adding google adsense code


Hello, im building an application with meteor, my app is working on the web as well and i would like to add a google adsense ad code to pay a bit the server on which my app is placed. I tried many different ways but impossible to get it work, does anyone meet this problem before ? I guess it’s not easy with a single page application but i guess after the page is rendered the is a possibility.

Thanks for ur help