How to implement AI Engine script on WordPress

  • 03 / 08 / 2021
  • Agata Cnatalska
How to implement AI Engine script on WordPress

Owning a website built on WordPress? Planning to monetize it and increase your revenues? If you answered “yes” to both questions, you’ve come to the right place. The first step towards your income optimization is to implement the AI Engine script. We’ve prepared a quick guide on how to do it.

It is worth noticing that implementing any JavaScript is only allowed when using the self-hosted version of the software, which is Hence, in the case of running a website, you can switch into its Business Plan or move your content entirely to WordPress located on a web server, where you can add almost any script you want.

Before the AI Engine implementation

The ads inserted with AI Engine will not work properly without ads.txt. If your website’s lacking such a file, add it as soon as possible. Check out the article on how to implement ads.txt on WordPress.

If the file is already placed on your website, you should make sure that the information contained therein is updated. In such a case, get familiar with this quick instruction on how to actualize ads.txt.

AI Engine implementation using plugins

Scripts can be added to WordPress in two ways: manually or using plugins. The first method is not a commonly chosen one since the script will be, in a way, unstable due to the system’s peculiar structure and its loading sequence. For instance, it may stop running when you change or even update WordPress’s theme. Implementing it with a plugin ensures that the code fragments remain intact in the <head> element. And that’s why we recommend option number two.

If you already have an implementation plugin installed on your WordPress, you can use it for the AI Engine insertion. However, remember that not every plugin works well with certain scripts, and some were created to support particular solutions exclusively. This is why we came across two plugins that will certainly let the AI Engine script do its monetization wonders: Ad Inserter and Insert Headers and Footers.

How to easily install a WordPress plugin:

  1. Find “Plugins” on your Dashboard’s sidebar menu.
  2. Click on “Add New” (you’ll find it in the drop-down menu after hovering your mouse cursor over the “Plugins” position).
  3. Type the name of the desired plugin in the search bar and press Enter.
  4. Click on “Install Now” next to the chosen plugin.
  5. Lastly, activate it by clicking on the “Activate” button.

See how simple it is to implement AI Engine involving the plugins mentioned above (naturally, first you have to download and activate the picked one following the previously described instruction):

Implementing AI Engine with Ad Inserter:

  1. Hover over “Settings” on your Dashboard’s sidebar menu.
  2. Choose “Ad Inserter”.
  3. Click on the “Settings” gear wheel icon.
  4. Choose the “Header” tab.
  5. Make a few lines of space under the text you’ll find there (if there’s any).
  6. Insert the AI Engine script.
  7. Ensure the dot on the right above the code window is green and not gray (it means that the code is enabled).
  8. Click on “Save Settings”.

Implementing AI Engine with Insert Headers and Footers:

  1. Hover over “Settings” on your Dashboard’s sidebar menu.
  2. Choose “Insert Headers and Footers”.
  3. Go to the “Scripts in Header” section.
  4. Insert the AI Engine script.
  5. Click on “Save”.

Service activation

Remember not to switch off the ads that are currently on your web pages. We will inform you once our solutions are ready so that the previous ones can be deactivated. Also, after implementing the AI Engine script, make sure to let us know by replying to the e-mail in which you received it. This way, we will be able to activate the suitable products and start to monetize your website.

Please feel free to contact us if you encounter any difficulties or need further information. The most convenient way to do so will be by turning to the person you got the script from. At this point, your part of the job is done. Soon we’ll introduce the individual monetization solutions for your website.

Read also

Ads.txt creation (and do you actually need it?)
Ads.txt creation (and do you actually need it?)

Ads.txt creation (and do you actually need it?)

What is an ads.txt file, and what are its components? How can you create it? Is there a way to generate it automatically? And finally, is the file obligatory? Read on to find out!

Read more
How to generate ads.txt file in Google AdSense and Google Ad Manager
How to generate ads.txt file in Google AdSense and Google Ad Manager

How to generate ads.txt file in Google AdSense and Google Ad Manager

Trying to create an ads.txt file while using Google AdSense or Google Ad Manager to monetize your content? See how you can generate it automatically!

Read more

Find the best solutions
for your business

Benefit from expert knowledge

Start earning more

Registration to the optAd360 network

Increase your website’s revenue!

Join satisfied publishers who, thanks to the optimization of their advertising space
with our technology, started to generate greater profits.

Sign up