WordPress Integration

Embedding the code snippet into your WordPress site is easy. You just need to paste the code snippet into the header of your WordPress site. The easiest way to do this is by using a plugin like Head, Footer and Post Injections.

Log in to your WordPress dashboard.

  1. Go to Plugins > Add New.
  2. Search for the "Head, Footer, and Post Injections" plugin.
  3. Click "Install Now" and then "Activate" to enable the plugin.
  4. Go to Settings > Header and Footer.
  5. Click the "Add New" button to create a new injection.
  6. Paste the code snippet into the "<HEAD> PAGE SECTION INJECTION" > "ON EVERY PAGE" box.
  7. Click "save" to save your injection. Congratulations, you've successfully embedded a script into the head of your WordPress site!

When you're ready to go live with your translated website, you'll need to remove the section of the embed code that says:

js data-collect="true"

Translation editor