Google Tag Manager (GTM) manages tags and website events without requiring a developer for every change. One of its most common triggers is the Page View trigger, which fires tags when a user visits a specified page. It supports website traffic analysis, landing-page monitoring and conversion-funnel tracking. This guide explains how to configure it for your website.

Step 1: Open GTM and create a trigger

Sign in toGoogle Tag Manager.

  1. Select the container for the website where you want to create the trigger.
  2. Click "Triggers" in the navigation menu.
  3. Click "New" to create a new trigger.

Step 2: Choose the trigger type

  1. Click the trigger configuration box and select "Page View" (page view).
  2. Select "Some Page Views" to fire the trigger only on selected pages, or "All Page Views" for every page.

Step 3: Set conditions where needed

If you selected "Some Page Views", you can add conditions such as:

  • Specific pages only (URL contains /thank-you , for example).
  • Visitors from specific sources (Referrer contains facebook.com).

Step 4: Save the trigger

  1. Name the trigger, for example "All page views" or "Thank-you page views".
  2. Click "Save".

Step 5: Create a tracking tag, such as Google Analytics or Facebook Pixel

  1. Open "Tags" and click "New".
  2. Choose the tag type, for example:
    • Google Analytics: GA4 Event to send data to GA4.
    • Facebook Pixel – Page View Event to track views with Facebook Pixel.
  3. Under Triggering, select the trigger you created in the previous step.
  4. Click "Save".

Step 6: Test and publish

  1. Click "Preview" to check that the trigger works correctly.
  2. If everything works correctly, click "Submit" and then "Publish" to publish the changes.

The trigger is now active and will fire the chosen tag when its conditions are met.

Step 3: Add a trigger

  • Click "Triggering":

    • Click "Add Trigger" and select All Pages (to track every page) or a custom trigger that meets your needs.
  • Save the tag:

    • Click Save after adding the trigger.

Step 4: Test the pixel

    1. Preview mode in GTM:

      • Click "Preview" in GTM to test the pixel.
      • Visit your website and check that the tag fires on the intended pages.
    2. Check with Meta Pixel Helper:

      • Install the extension Meta Pixel Helper for Chrome.
      • Visit your website and check that the extension detects the pixel and PageView events.

Step 5: Publish the tag

      • Publish the changes:

        • Return to GTM and click Submit to publish the tag.
      • Name the version:

        • For example, "Meta Pixel Base Tag Added".

Step 6: Check Meta Events Manager

      • Sign in to Meta Events Manager

      • Select your pixel

        • In the Pixels menu, select the pixel you want to check.
      • Open the "Test Events" tab

        • Enter the URL of the website where you installed the pixel, then click Open Website.
      • Check that events are recorded

        • After opening the website, return to Events Manager and look for PageView or other events you configured

Step 7: Check Meta Pixel Helper

    • Install Meta Pixel Helper

    • Check your website

      • Visit the website where you installed the pixel.
      • Click the extension icon in your browser and check that the pixel fires correctly.
    • Check for errors

      • If the pixel works, you will see its ID and the events that fired, for example: PageView).
      • If errors appear, check the Pixel ID and the tag settings in GTM.
Back to top ↑