How to place tracking on my website?
Anastasiia Iakymchuk
Last Update 2 months ago
Website tracking allows you to monitor the activity of your mailing list subscribers on your website. By tracking the pages they visit, you can gain insights into their interests and behaviors. This enables you to automate emails based on user actions - such as sending a follow-up email to users who abandoned their shopping cart or visited a specific page but didn’t take further action.
To enable website tracking, you need to install a small tracking code on your website. This code is available in your Marketune account and should be placed in your website's footer to prevent conflicts with other scripts.
How to copy and install the tracking code
Find the tracking code in your account by following these steps:
1. Go to the Website section on your Marketune account and click "Site Tracking".
2. Toggle the "Site Tracking" switch to the On position.
3. Under "Whitelist" and "Install Code", enter your website’s URL.
4. Copy the generated tracking code and paste it into the footer of your website to ensure it loads correctly across all pages.

Placing tracking code to the website
The process for adding the tracking code to your website varies depending on the platform you're using. Below are the recommended steps for different website setups.
For WordPress users
If you’re using WordPress, you can easily add the tracking code to the footer by using the Insert Headers and Footers Plugin. This plugin is available for free and allows you to insert scripts into your website without modifying any core files.
For non-WordPress websites
If your website is built on another platform, you may need assistance from your website developer to insert the code correctly.
For example, if you’re using Phoenix, which doesn’t have a footer, the best practice is to place the tracking code within the body section instead.
No matter which platform you use, we strongly recommend adding the tracking code to your website footer whenever possible. This helps ensure smooth operation and prevents conflicts with other scripts, such as Google Tag Manager, which is typically placed in the header.
Proper placement of the tracking code ensures accurate visitor tracking and prevents interference with other essential site scripts.