Hostinger Horizons: Google AdSense Integration

Learn how to integrate your web application to your Horizons project

Updated 1 month ago

To connect to AdSense, first you need to verify the domain ownership. There are multiple ways how to verify web app ownership when connecting to AdSense, as below:

AdSense verification methods: code snippet, ads.txt, and meta tag options

The easiest one would be to add the code snippet provided from AdSense directly to your WebApp. You can write the prompt such as:

  • Add this code snipped to all pages between the <head> and </head> tags

Instead of all pages, you can write the pages where you would like to add it as well. Result example below:

Hostinger Horizons chat showing Google AdSense code snippet inserted into the HTML head

And you should be good to go!

Hostinger Horizons AdSense pop-up confirming site is verified with Next button