Skip to content

AdPageGroup/adpage-facebook-tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Facebook Pixel Tag

This tag template allows you to implement the Facebook Pixel on your website through Google Tag Manager. It supports standard events, custom events, Enhanced Ecommerce integration, and advanced matching parameters.

Required Fields

  • Facebook Pixel ID(s) - Your Facebook Pixel ID(s) (e.g. 12345678910)

Event Configuration

Event Type

  • Standard Events - Choose from predefined Facebook events like PageView, Purchase, AddToCart etc.
  • Custom Events - Define your own custom event names
  • Variable Events - Use a variable to dynamically set event names

Ecommerce Integration

When enabled, the tag will automatically:

  • Populate event parameters from ecommerce data:
    • content_type
    • contents (products array)
    • content_ids
    • value
    • currency
    • num_items

Optional Fields

Advanced Matching

Enable to send customer data parameters:

  • Email
  • Phone
  • First Name
  • Last Name
  • Gender
  • Date of Birth
  • City
  • State
  • Country
  • Zip Code
  • External ID

Object Properties

  • Load properties from a variable
  • Add custom properties via key-value pairs
  • Properties will override Ecommerce values if there are conflicts

Additional Settings

  • Disable Automatic Configuration - Prevent automatic metadata collection
  • Disable History Event Tracking - Stop automatic tracking of history events
  • Event ID - For server-side event deduplication
  • Consent (GDPR) - Control pixel firing based on consent status
  • Data Processing Options - Configure regional data processing requirements

The tag handles Facebook Pixel initialization, event tracking, and provides debug logging when in preview mode.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages