Skip to main content

WordPress Installation

Install Told on your WordPress website by adding the script to your theme or using a plugin.

  1. Go to Appearance → Theme File Editor in your WordPress admin
  2. Open the header.php file
  3. Paste the Told script just before the closing </head> tag:
<script>
(function (w, d, e, v, o, l, t) {
w['ToldWidget'] = o;
w[o] = w[o] || function () { (w[o].q = w[o].q || []).push(arguments); };
w[o].l = 1 * new Date();
l = document.createElement(e);
t = document.getElementsByTagName(e)[0];
l.async = 1;
l.src = v;
t.parentNode.insertBefore(l, t);
})(window, document, 'script', 'https://scripts.told.club/sdk/sdk.js', 'told');

told('init', 'YOUR_SOURCE_ID');
</script>
  1. Click Update File

Option 2: Plugin

Use a "header/footer scripts" plugin to inject the code without editing theme files. Popular options:

  • Insert Headers and Footers (by WPBeginner)
  • Header Footer Code Manager

Install the plugin, then paste the Told script in the "header scripts" section.

Verify installation

  1. Visit your WordPress site
  2. Go to your source in the Told dashboard
  3. Click Verify Installation