Using Basic Web Tracking, you can track the recency and frequency of page views by your known contacts. For an introduction to Maropost's web tracking feature, see Introduction to Web Tracking.
When a contact clicks a tracked link included in an email sent from Maropost, the contact ID and the campaign ID are automatically set as cookies in the contact’s browser. As part of basic web tracking, Maropost's web tracking script reads those cookies to attribute the page views to the contact and the campaign.
Note: To prevent any tracking errors, you need to make sure that your browser’s ad and cookie blockers, plus other utility tools, do not interfere with the functions of the Web tracking feature.
By default, Maropost's web tracking script only records the page title, the domain and path of the page URL being viewed, and any external links included in those pages. The script does not record the query string parameters.
This omission is intentional; otherwise, clients who use web analytics (that is, Google Analytics, Adobe Analytics, WebTrends, and so on) query string parameters will be left with hundreds of thousands of separate URLs that are identical except for the query string parameter values with only a single page view for each.
You can, however, override the default URL by using the advanced capabilities of web tracking. To learn more about advanced web tracking, see Advanced Web Tracking.
Add New Web Tracking Domains
To add a website for enabling Maropost's web tracking, perform the following steps:
- In the Navigation, go to AUDIENCE and select Web Tracking.
- On the Web Tracking Index page, click New Tracking.
- The dialog box contains the following fields:
- Website Domain: (Mandatory) Enter the root domain (without the ‘www’) of the website that you want to track. You can also use a regular expression to define the domain.
📋 Note: The domain must be publicly accessible.
- Use regular expression to define website domain: (Optional) Select the checkbox if you are using a regular expression in the Website Domain field.
- Website Tag: (Mandatory) Enter the tag name for the website. The website tag is utilized if you want to include items from an abandoned funnel in the body of an email.
📋 Note: The tag should be simple, written in lowercase, and entered as one continuous word with no spaces, capital letters, numbers, or special characters.
- File Path: (Optional) Enter the fully qualified URL to the mp_processor.html file on your website. The domain in the URL must be the same as the one you entered for the website domain.
📋 Note: - You only need this if you want to use a double redirect mechanism to avoid appending the mpweb query string parameter to any link from an email to your website.
- When a contact clicks a link sent from Maropost, a query string parameter called mpweb is automatically appended to the destination URL of your landing page. The purpose of the query string parameter is to set cookies in the contact’s browser that the web tracking script needs to identify your account ID, the campaign ID, and the contact ID.
- Enable recommendations: (Optional) Select the checkbox to enable your website for content recommendations. For more information, see Enable Website for Content Recommendations.
- The Web Tracking Index page will now show the domain of the website that you’ve just created. Click on the domain name to open the web tracking details screen.
Click the Integration tab to view the HTML code for your web tracking script. If this is the first time that you’re enabling web tracking for your website, the screen will be blank. Click the Script Builder button on the right-hand side of the screen, and then click the Submit button.
The screen will now show you the web tracking script.
- Copy and paste the web tracking script into your web page.
📋 Note: We recommend that you place the web tracking script tag in the footer of your web pages so that it can read all Javascript variables that you have defined within the web page. The Javascript function works in an asynchronous fashion so that it has no impact on your page load time.