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
- In your WordPress dashboard, go to Plugins.
- Click Add New.
- Search for your plugin and install and activate it.
- Find your plugin in the sidebar.
- If you used Header Footer Code Manager, click Add New Snippet.
- Copy your project Tracking code in your project settings.
- In Snippet Type, select JavaScript.
- In Location, select Header.
- Paste the tracking code in Snippet / Code.
- Click Save.
Installing your tracking code manually
- Copy your Tracking code from project settings.
- In WordPress, go to Appearance->Editor->Theme Header (header.php)->Insert code->Update File.
- Add your tracking code.
You can't enter your tracking code on free WordPress sites because custom plugins are not allowed.
Updated almost 2 years ago