How-to · Funnels, Websites & Forms
How to Add Google AdSense Code to a GoHighLevel Website
AdSense code goes in your HighLevel website's head tracking code. Here is how to add it, verify the site, deal with ads.txt, and avoid the issues that stall approval.
What you'll do
- Paste the AdSense code into the website-level head tracking code so it loads on every page.
- AdSense reviews your site before showing ads; content-rich sites have the best chance.
- AdSense expects an ads.txt file at your domain root; check how to provide it on HighLevel.
- Keep ads off funnels, order forms, and thin pages.
To add Google AdSense to a GoHighLevel website, copy the AdSense code from your AdSense account, paste it into the website's head tracking code (in the website settings) so it loads on every page, save, republish, and request a review in AdSense. You'll also need to provide an ads.txt file at your domain root and meet AdSense's content policies before ads appear.
Before you start
- An AdSense account in good standing.
- A HighLevel website on your own domain. See connecting a domain. AdSense works with sites you control on a real domain.
- Real content. AdSense reviews sites for useful, original content. A blog with substantial posts helps. See setting up a blog.
- A privacy policy that mentions advertising cookies. See terms and privacy pages.
Add the code
- In AdSense, add your site and copy the code snippet it gives you.
- In HighLevel, open the website (not a single page) and go to its settings.
- Paste the snippet into the head tracking code field. Why: website-level code loads on every page, which is what AdSense needs for verification and auto ads.
- Save and republish all pages so the code goes live.
- Confirm it's there: open a live page, view the page source, and search for your AdSense publisher ID.
- Return to AdSense and request the review.
Handle ads.txt
AdSense asks you to publish an ads.txt file at yourdomain.com/ads.txt listing your publisher ID. Options to try, in order:
- Check your HighLevel domain settings for a way to add root files or custom text files.
- Search HighLevel's help center for "ads.txt" for the current method.
- Ask HighLevel support whether ads.txt can be served on your connected domain.
If you can't serve the file, AdSense may warn about earnings at risk. Resolve this before investing heavily in an ad-funded site on HighLevel.
Running a content site mainly for ad revenue? WordPress, including HighLevel's WordPress hosting add-on, gives you direct control over root files and ad plugins. Weigh that against the simplicity of the native builder.
Auto ads vs manual ad units
| Auto ads | Manual ad units | |
|---|---|---|
| Setup | Head code only; turn on in AdSense | Head code + a unit code where each ad goes |
| Where in HighLevel | Website head tracking code | Custom HTML/JS element on the page |
| Control | AdSense chooses placements | You choose exact spots |
For manual units, paste each unit's code into a custom HTML element at the spot you want. See adding custom CSS and code.
Where not to show ads
- Funnels, order forms, and checkout pages: ads distract from the sale and can confuse buyers.
- Thank-you and confirmation pages.
- Pages with little content.
Put the code at the website level only, not in funnel settings.
Test it
- View source on several live pages and confirm the snippet appears once.
- Check that funnel pages don't contain it.
- Once approved, check ads display on desktop and mobile without covering content.
- Run a speed test; ads add weight. See page speed.
Common mistakes
- Pasting code into one page only, so verification fails.
- Duplicate code at site and page level.
- Applying with thin content, the most common reason for rejection.
- No ads.txt, leading to warnings in AdSense.
- Clicking your own ads to test. That breaks AdSense policies; use AdSense's preview tools instead.
What to build next
- Build content worth monetising: set up a blog.
- Get pages indexed: edit the sitemap.
- Write a privacy policy that covers ads: terms and privacy pages.
Frequently asked questions
How do I add Google AdSense code to the GoHighLevel website builder?
Copy the AdSense code from your AdSense account, open your HighLevel website's settings, paste it into the head tracking code field, save, and republish. Then return to AdSense to request a site review.
How do I add AdSense auto ads to the website header?
Auto ads use the same single code snippet. Placing it in the site-wide head tracking code puts it in the header of every page, and AdSense then decides ad placements automatically.
Can I add ads.txt to a GoHighLevel domain?
AdSense asks for ads.txt at your domain's root. Check HighLevel's current domain settings or help center for a way to serve a root file; if there isn't one, contact HighLevel support before relying on AdSense.
Will AdSense approve a GoHighLevel funnel?
Funnels built for single offers are usually thin on content, which makes approval unlikely. A website with genuinely useful, original content is a better candidate.