--- title: "Step 2: Configuring and Activating the Plugin" slug: "product-advertised-step-2-configuring-and-activating-the-plugin" updated: 2025-01-10T08:47:27Z published: 2025-01-10T08:47:27Z canonical: "docs.mapp.com/product-advertised-step-2-configuring-and-activating-the-plugin" --- > ## 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. # Step 2: Configuring and Activating the Plugin ## Implementation Methods Integrate the Product Advertised Plugin into the container in which the webpage to be measured is located. To add plugins to the desired container, proceed as follows: 1. In the container overview, select the required container by clicking the corresponding entry. ![](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/678321c6-19cc-4ed5-bced-9cb0be325774.png) 2. Click [Add Plugin]. You will be forwarded to the overview of all available plugins. 3. Select "Product Advertised" by clicking the appropriate button. The plugin configuration dialog opens. 4. Now enter the following information: | Parameter | Description | | --- | --- | | Product status | From the dropdown menu, specify the product status at which the information should be sent to Mapp. The values correspond to the values of the pixel parameter wt.productStatus. | 5. Then click [Next]. 6. In the "Assign rules" area, you define the page areas on which the measurement is to be carried out. 7. Then click [Add plugin]. 8. Finally, click [Publish] to publish your container including the newly added Product Advertised Plugin. Since version 3.2.x of the Mapp Intelligence tracking script, the use of plugins is supported. A plugin is all JavaScript functions that are transferred to the Mapp pixel. To integrate the Product Advertised Plugin, you need the JavaScript file "productAdvertised.min.js." 1. [Download](https://cdn.document360.io/554b9b98-6720-4d8b-9919-c7b203d72648/Images/Documentation/Mapp_Plugin_ProductAdvertised.zip) the JavaScript file. 2. In the JavaScript file "productAdvertised.min.js," make the following adjustments: **Example** ```javascript var wt_productAdvertised = function(conf) {      if (conf.mode === "page" && conf.type === "before") {          this .productAdvertisedAction = "view;add;conf";            // ...      } }; ``` | Parameter | Description | | --- | --- | | productAdvertisedAction | Specify the product status at which the information should be sent to Mapp. The values correspond to the values of the Mapp pixel parameter wt.productStatus. | 3. Include the script file in your website in advance so that it provides the method "wt_productAdvertised" under the object "window". 4. The parameter "executePluginFunction" is used for the activation itself. This can be set either in the configuration variable (webtrekkConfig) in the global pixel file (for example, "webtrekk_v4.js") or as a parameter of a page-specific pixel object. **Example global configuration** ```javascript var webtrekkConfig = {     trackId: "111111111111111",     trackDomain: "track.webtrekk.net",     domain: "www.website.com", executePluginFunction: "wt_productAdvertised" }; ``` **Example page-specific configuration** ```plaintext var wt = new webtrekkV3(); wt.contentId = "en.home"; wt.executePluginFunction = "wt_productAdvertised"; wt.sendinfo(); ```