--- title: "Create Smart Pixel Snippet" slug: "create-smart-pixel-snippet-tag-integration" updated: 2026-04-14T13:46:26Z published: 2026-04-14T13:46:26Z canonical: "docs.mapp.com/create-smart-pixel-snippet-tag-integration" --- > ## 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. # Create Smart Pixel Snippet Create a Smart Pixel Snippet to configure additional tracking behavior within your Smart Pixel setup. --- ## Prerequisites - Access to Tag Integration - A container using Smart Pixel --- ## Procedure 1. Navigate to **Tag Integration**. 2. Open **Smart Pixel Snippets**. 3. Click **Create Smart Pixel Snippet**. 4. Enter a **Name** for the snippet. 5. Select the **Position**: - **Head** – Executes during the initial page load. - **After ** – Executes after the opening body tag. - **Before ** – Executes before the page finishes loading. - **Instantly** – Executes as soon as conditions are met. 6. Configure the tracking logic using the Smart Pixel configuration interface. 7. Click **Create**. --- ## Result The Smart Pixel Snippet is created and appears in the overview. You can now assign it to a container and use it with rules to control execution. --- ## Best Practices - Use clear naming conventions to describe the purpose of the snippet. - Choose the position carefully to ensure correct execution timing. - Test snippets in a staging environment before using them in production.