--- title: "Implementing the Marketing Automation Plugin" slug: "implementing-the-marketing-automation-plugin" description: "Integrate the Marketing Automation plugin with the Smart Pixel, Mapp Tag Integration or Pixel Version 4 to show on-site recommendations and exit-intent layers." updated: 2026-10-06T13:53:03Z published: 2026-10-06T13:53:03Z canonical: "docs.mapp.com/implementing-the-marketing-automation-plugin" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.mapp.com/llms.txt > Use this file to discover all available pages before exploring further. # Implementing the Marketing Automation Plugin Mapp's Marketing Automation creates effective personal recommendations using a plethora of data. You can use it to interact with your visitors by creating recommendations on your website or through e-mails and other external advertising. > [!NOTE] > Note > > This is an optional feature. Please speak with your Customer Success or Account Manager for more information. --- ## Functions There are two types of functions that you can use to get your visitor's attention. - On-site recommendations are great for updates or special offers based on user behavior. - Exit-intent technology should be used to display a layer with discounts, shipping offers, or reminders when a user intends to exit a purchase process or page. You can find more information on Marketing Automation here: [Marketing Automation](/v1/docs/marketing-automation). --- ## Implementation Methods How you integrate Marketing Automation depends on the pixel integration you use. Select your integration below. **Smart Pixel** In the Smart Pixel, Marketing Automation is available as an extension. It is configured through `wtSmart.extension.marketing_automation`. The [Marketing Automation extension](/v1/docs/integrated-marketing-automation) page documents all configuration parameters, the available methods, a full example and the code generator. **Mapp Tag Integration** 1. Open the container to which you want to add the Marketing Automation plugin. 2. Click [Add plugin]. You will be forwarded to the overview of all available plugins. ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/image(55).png) 3. Select the "Marketing Automation" plugin by clicking on the corresponding button. The plugin configuration dialog opens. ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/image(56).png) 4. Make the following settings: | Parameter | Description | | --- | --- | | Mapp Intelligence track ID | Mapp Intelligence uses the track ID to assign the server requests to an account. To find your track ID, log in Q3 and go to *Configuration > System Configuration > Data Collection*. It is listed under "Your Track ID." Use the same track IDs that you have stored in the tracking code, regardless of which ID you have used to configure Marketing Automation. | | Load JavaScript file asynchronously | Activate the checkbox to load the Marketing Automation JavaScript file asynchronously. | | Media Code parameter | Optional. Enter all media code parameters you use for your campaign tracking here. You can also define multiple media codes, separated by semicolons. | | Keyword parameter | Optional. Enter any keyword parameters you use for your campaign tracking here. You can also define multiple keywords separated by semicolons. | 5. Click [Next] to add rules. ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/image(57).png) 6. Finally, click [Save configuration]. The plugin is added to the container. 7. In the last step, click [Publish]. ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/image(58).png) **Pixel Version 4** 1. First, [download](/v1/docs/mapp-marketing-automation) the JavaScript file "pixel-marketingautomation.min.js". 2. Integrate the downloaded script directly into the of your webpage. This is necessary to load all campaigns as early as possible. Example of a page-specific integration: ```xml             ``` 3. The configuration object "wt_marketingAutomationConfig" is located inside the plugin. Here, you can set the following parameters. Example: ```javascript (function(window, document) { var wt_marketingAutomationConfig = window.wt_marketingAutomationConfig || { trackId: "111111111111111", async: true, mediacode: "wt_mc;wtmc;mc", keyword: "wt_kw;wtkw;kw", mcpBaseURL: "", widgetServiceUrl: "" }; // ...... })(window, document); ``` | Parameter | Description | | --- | --- | | `trackId` | Mapp Intelligence uses the track ID to assign the server requests to an account. To find your track ID, log in Q3 and go to *Configuration > System Configuration > Data Collection*. It is listed under "Your Track ID." Use the same track IDs that you have stored in the Mapp Intelligence tracking code, regardless of which ID you have used to configure Marketing Automation. | | `async` | `true` = The Marketing Automation JavaScript file will be loaded asynchronously. | | `mediacode` | Optional. Enter all media code parameters you use for your campaign tracking here. You can also define multiple media codes separated by semicolons. | | `keyword` | Optional. Enter any keyword parameters you use for your campaign tracking here. You can also define multiple keywords separated by semicolons. | | `mcpBaseURL` | Defines the location of the Mapp Marketing Automation functionality JavaScript file. Default value is "//cdn.mateti.net/mcp/onsite.min.js". Please contact our Support or your responsible Customer Success Manager for activation if you prefer to fetch this library using your first-party [Custom Track Domain](/v1/docs/custom-track-domain) for better data quality and quantity and to avoid Content Security Policy issues. | | `widgetServiceUrl` | Defines the location of the Mapp Marketing Automation server configuration. If no value is set, Marketing Automation falls back to "//[Trackdomain]/[TrackId]/rdfs". Please contact our Support or your responsible Customer Success Manager for activation if you prefer to fetch this configuration using your first-party [Custom Track Domain](/v1/docs/custom-track-domain) for better data quality and quantity and to avoid Content Security Policy issues. | 4. To activate the plugin functionality, the parameter "executePluginFunction" is used in the tracking pixel. This can be set either in the configuration variable (webtrekkConfig) or as a parameter of the pixel object. Example of a global configuration: ```javascript var webtrekkConfig = { trackId: "111111111111111", trackDomain: "track.webtrekk.net", domain: "www.website.com", executePluginFunction: "wt_teaserTracking;wt_marketingAutomation" }; ``` Example of a page-specific configuration: ```javascript var wt = new webtrekkV3(); wt.contentId = "de.startseite"; wt.executePluginFunction = "wt_teaserTracking;wt_marketingAutomation"; wt.sendinfo(); ``` | Parameter | Description | | --- | --- | | `executePluginFunction` | Enter the Marketing Automation plugin. A semicolon separates multiple plugins. |