Wordpress

To install Smartlook on a WordPress site, you can either use a plugin (recommended) or manually deploy your tracking code.

Installing your tracking code with a plugin

To install Smartlook with your WordPress site, you can use any plugin that inputs scripts into the website header. In our example, we will use Header Footer Code Manager, but any custom plugin with this functionality will do.

Add the plugin of your choice to your WordPress

  1. In your WordPress dashboard, go to Plugins.
  2. Click Add New.

  1. Search for your plugin and install and activate it.
  2. Find your plugin in the sidebar.
  3. If you used Header Footer Code Manager, click Add New Snippet.

  1. Copy your project Tracking code in your project settings.
  2. In Snippet Type, select JavaScript.
  3. In Location, select Header.
  4. Paste the tracking code in Snippet / Code.
  5. Click Save.

Installing your tracking code manually

  1. Copy your Tracking code from project settings.
  2. In WordPress, go to Appearance->Editor->Theme Header (header.php)->Insert code->Update File.
  3. Add your tracking code.

You can't enter your tracking code on free WordPress sites because custom plugins are not allowed.