Adding Seline to your Wordpress site

You can easily add Seline to your Wordpress either by installing our wordpress plugin or by simply adding our script to your theme.

Step 1: Add Seline's script to your theme

  1. Copy your project token from Seline Settings.
  2. At Wordpress go to Plugins > Add New.
  3. Search for "Seline Analytics" and click Install Now.
  4. Click Activate Plugin.
Wordpress plugins
Wordpress plugins.

Step 2: Configure the plugin

  1. At Wordpress go to Settings > Seline Analytics.
  2. Paste your project token in the Seline Token field.
  3. Configure other settings as needed.
  4. Click Save Changes.
Wordpress plugin settings
Wordpress plugin settings.

You're all set! Now visit your website, click around a bit, and you should see the events appearing at your Seline dashboard.

Other ways to install

If you know what you're doing and prefer to install Seline manually, you can add our script to your theme.

<script src="https://cdn.seline.com/seline.js" data-token="PROJECT_TOKEN" async></script>
Click anywhere to copy
  1. Copy the code snippet provided above.
  2. Don't forget to replace PROJECT_TOKEN with your project token.
  3. Add the script to your theme's header.php file. Or other place, depending on your theme, but it needs to be before the closing </head> tag.

Our script is updated more frequently than the plugin, so it might be an advantage to use it instead.