Pixel Placement

 Step 1: Log Into Google Tag Manager

  1. Go to Google Tag Manager.
  2. Select your GTM container (e.g., GTM-XXXXXX).

Step 2: Create or Update a Tag

  1. In the Workspace, click on Tags in the left menu.
  2. Click New (or select an existing tag to update).
  3. Click Tag Configuration and choose the appropriate tag type:
    1. Google Analytics 4 (GA4) Configuration
    1. Google Ads Conversion Tracking
    1. Facebook Pixel
    1. Custom HTML (for other tracking codes like TikTok Pixel, LinkedIn, etc.)

Step 3: Configure the Tag

  • If using GA4:
    • Select Google Analytics: GA4 Configuration.
    • Enter your Measurement ID (G-XXXXXXXX).
    • Choose if you want to Send a Page View Event automatically.
  • If using Facebook Pixel:
    • Select Custom HTML.
    • Paste the Facebook Pixel script.
    • Make sure it includes the correct Pixel ID.
  • If using Google Ads Conversion Tracking:
    • Select Google Ads Conversion Tracking.
    • Enter your Conversion ID (AW-XXXXXXXX).
    • Enter your Conversion Label (from Google Ads).
    • If tracking a dynamic value, set up a Data Layer Variable (e.g., transaction value).

Step 4: Add a Trigger

  1. Click Triggering and choose when the tag should fire.
  2. Common triggers:
    1. All Pages (for general tracking like pageviews).
    1. Click Trigger (for button clicks or link clicks).
    1. Form Submission (for lead forms).
    1. Custom Event (for e-commerce events like purchase).

Step 5: Save & Publish

  1. Click Save.
  2. Click Submit (top-right).
  3. Enter a Version Name & Description (e.g., “Added Facebook Pixel tracking”).
  4. Click Publish.

Step 6: Test the Implementation

  1. Click Preview in GTM to open Tag Assistant.
  2. Open your website in the Tag Assistant Debug Mode.
  3. Perform the action (e.g., load a page, click a button).
  4. Check if the tag fires correctly.

For extra verification:
Use Google Tag Assistant (for Google tags).
Use Facebook Pixel Helper (for Facebook Pixel).
Use Google Analytics Debugger (for GA4).

See something inaccurate?