> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/wordpress/hostinger-plugins/must-use-plugins/google-ads.md).

# Google Ads Integration

The Hostinger Google Ads Integration must-use plugin adds the Google tag, with Consent Mode defaults, to every page of your WordPress site when you connect Google Ads in hPanel.

**Hostinger Google Ads Integration** is a must-use plugin that adds the Google tag (`gtag.js`) for your Google Ads account to every page of your WordPress site, so Google Ads can measure the conversions you set up there.

* **Shown in WordPress as:** **Hostinger Google Ads Integration**, under **Plugins** → **Installed Plugins** → **Must-Use**
* **File:** `wp-content/mu-plugins/hostinger-google-ads.php`
* **Requires:** WordPress 5.0 or later, PHP 8.0 or later

## When it's on your site

Hostinger adds the plugin, with your Google Ads tag ID, when you connect Google Ads in hPanel under **Marketing** → **Google Ads**. It removes the plugin when you disconnect Google Ads.

## What it adds to your site

At the top of every page, the plugin adds:

* **The Google tag** for your Google Ads account, using your tag ID (it starts with `AW-`).
* **Consent Mode defaults set to denied** for ad storage, ad user data, ad personalization, and analytics storage. They apply before the tag sends anything, so Google doesn't store cookies or personalize ads for a visitor until that visitor agrees.

To check that the tag is on your site, open a page, view its source, and look for `Google tag (gtag.js) - Google Ads - managed by Hostinger`.

The plugin has no settings in WordPress, and it doesn't track conversions by itself. Set up which actions count as conversions, such as purchases or form submissions, in your Google Ads account.

## Let visitors give consent

Because consent starts as denied, Google Ads measures less until visitors agree. Add a cookie banner, or a consent management plugin, that supports **Google Consent Mode v2**. When a visitor accepts, it updates their consent, and the Google tag starts working fully for that visitor.

## Troubleshooting

### I can't find the tag in my page source

* Make sure Google Ads shows as connected in hPanel.
* [Clear your website cache](https://docs.hostinger.com/wordpress/hostinger-plugins/tools.md#performance), then check again in a private window, since cached pages may not have the tag yet.
* The plugin only adds the tag to pages your theme builds with WordPress's standard page header. If your theme leaves that out, the tag can't be added.

### Google Ads reports few or no conversions

* Check that your cookie banner updates Google consent when visitors accept. See [Let visitors give consent](#let-visitors-give-consent).
* Check that your conversion actions are set up in Google Ads. The plugin only adds the base tag.

### I already added a Google tag with another plugin

Remove the other copy of the Google Ads tag for the same account. Two copies of the same tag can send duplicate data to Google Ads.

## Related guides

* [Must-Use Plugins](https://docs.hostinger.com/wordpress/hostinger-plugins/must-use-plugins.md)
* [Hostinger Tools](https://docs.hostinger.com/wordpress/hostinger-plugins/tools.md)
* [Hostinger Plugins & Themes](https://docs.hostinger.com/wordpress/hostinger-plugins.md)

***

*Last updated: October 12, 2026*
