Docs
Open Okidoki

Install on WordPress

The easiest way on WordPress is a free plugin that adds code to the head of every page.

WordPress does not write code for you, but it has a box for code that goes in the head of every page. Paste one line there and you are done.

#Before you start

Sign in to Okidoki and add your site. On the setup page, choose With a site builder and copy the line. It looks like this, with your own site key:

The script tag
<script defer data-site="ok_your_site_key" src="https://okidoki.sh/js/okidoki.js"></script>

#Install on WordPress

  1. In WordPress, go to Plugins → Add New, search for WPCode and install and activate it.
  2. Open Code Snippets → Header & Footer.
  3. Paste the script tag into Header and save.
  4. Open your site once in a normal browser window.

The setup page in Okidoki turns green as soon as the first visit arrives. See Check that it works.

#Good to know on WordPress

  • Rather not paste anything? Download the Okidoki plugin, upload it under Plugins → Add New Plugin → Upload Plugin and press Connect to Okidoki. It adds your site and the line for you.
  • If your theme has its own field for code in the head, that works just as well.
  • On WordPress.com you can only add plugins on a plan that allows them. On your own WordPress you always can.

Okidoki sets no cookies and collects no personal data, so it needs no cookie banner. If your builder offers to add one for analytics, you can usually say no. Read more in Privacy and GDPR.