Create Smart Pixel Snippet

Prev Next

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 <body> – Executes after the opening body tag.

    • Before </body> – 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.