--- title: "Step 3: Initializing Elements" slug: "step-3-initializing-elements" updated: 2025-07-31T08:00:00Z published: 2025-07-31T08:00:00Z canonical: "docs.mapp.com/step-3-initializing-elements" --- > ## 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 3: Initializing Elements After activating the plugin, you must define which content elements should be tracked. This is done by adding a short JavaScript snippet to your website or tag manager, using a global array called `window.wt_rt`. > [!NOTE] > This step is required for all integration types — whether you use Smart Pixel, Tag Integration, or Pixel Version 4. The plugin automatically reads this array when the page loads. Make sure it is defined — and includes all tracked elements — before the plugin is executed. --- ## Where to place the code You can insert the JavaScript either: - in your website’s HTML code (e.g., inside a