All Collections
Publishers
How to...
How to add meta verification tag or ad code to WordPress?
How to add meta verification tag or ad code to WordPress?
Ksenia avatar
Written by Ksenia
Updated over a week ago

There are a few ways to put an ad code to your website.

Single web page integration.

This one is easy and would require minimal HTML knowledge, but works with the ad codes (for website verification please proceed to Theme editor). And besides, you’ll need to do this with every page you’d like ads to fire.

  1. Go to the page editor, then click ‘+’ to add a new element on the page.

  2. Here you’ll need a ‘formatting’ set of elements.

  3. Choose ‘Custom HTML’ there.

pasted_image_0__1_.png

4. Use the Custom HTML input to add the ad script received at Publishers’ Dashboard.

pasted_image_0__2_.png
pasted_image_0.png

5. Save the page changes and you’re ready to go. One page at a time.

Theme editor.

To use a theme editor you’ll need ‘write’ permissions. Read the WordPress guide on how to grant ‘write’ permission here.

  1. Choose the ‘appearance’ tab to control your website themes.

  2. In the drop-down menu select Theme Editor to open your theme source code.

  3. In the theme, files choose header.php as the most relevant from all these pages.

  4. Paste your meta verification tag or advertisement code between the <head> and </head> tag.

  5. Clickadu ‘Update file’ to save your changes.

pasted_image_0__3_.png

You’re all set. To complete the verification process just get back to the Publishers' dashboard and click 'Prove Ownership'.

Did this answer your question?