render_switcher_input("enable_all_tracking_ids", false, false, false, 'secondary'); ?>

Pixel IDs

Your Meta Pixel

render_switcher_input( "enabled" ); ?>

Enable Pixel

render_checkbox_input( "use_server_api", 'Enable Conversion API (add the token below)' ); ?>

Meta Pixel ID:

render_pixel_id( 'pixel_id', 'Meta Pixel ID' ); ?>

Conversion API:

render_text_area_array_item( "server_access_api_token", "Api token" ) ?>

Send events directly from your web server to Facebook through the Conversion API. This can help you capture more events. An access token is required to use the server-side API. Learn how to generate the token and how to test Conversion API

Test Event Code:

render_text_input_array_item( "test_api_event_code", "Code" ); ?> render_text_input_array_item( "test_api_event_code_expiration_at", "", 0, true ); ?>

Use this if you need to test the server-side event. Remove it after testing. The code will auto-delete itself after 24 hours.

WPML Detected. With the Advanced and Agency licenses, you can fire a different pixel for each language.

Your Google Analytics

enabled() && !empty( GA()->getOption( 'tracking_id' ) ) ) { $trackingId = GA()->getOption( 'tracking_id' ); if ( !isGaV4( $trackingId ) ) { $noticeRenderNotSupportUA = true; } else { $noticeOnlyUA = false; } } if ( $noticeRenderNotSupportUA ) { ?>

The old Universal Analytics properties are not supported by Google Analytics anymore. You must use the new GA4 properties instead.

Watch this video to find how to get your GA4 tag.

Your old Universal Analytics property doesn't send data anymore, consider removing it. Google Analytics supports only GA4 properties.

Watch this video to find how to get your GA4 tag.
render_switcher_input( "enabled" ); ?>

Enable Pixel

Enable Measurement Protocol (add the api_secret)

Google Analytics tracking ID:

render_pixel_id( 'tracking_id', 'Google Analytics tracking ID' ); ?> getPixelIDs(); if ( count( $pixels ) ) { ?>
We identified this tag as a GA4 property.'; } else { echo 'We identified this tag as a Google Analytics Universal property.'; } ?>

Measurement Protocol API secret:

Generate the API secret inside your Google Analytics account: navigate to Admin > Data Streams > choose your stream > Measurement Protocol API secrets. The Measurement Protocol is used for WooCommerce and Easy Digital Downloads "Google Analytics Advanced Purchase Tracking" and refund tracking. Required for GA4 properties only.

render_checkbox_input( "first_party_collection", "First party cookies selector first_party_collection (recommended)" ); ?>
render_checkbox_input_array( "is_enable_debug_mode", "Enable Analytics Debug mode for this property" ); ?>
render_switcher_input( "enable_server_container" ); ?>

Enable Server container url (Beta)

Learn how to use it: watch video

Server container url (optional):

render_text_input_array_item( "server_container_url", "https://analytics.example.com", 0 ); ?>

Transport url (optional):

render_text_input_array_item( "transport_url", "https://tagging.mywebsite.com", 0 ); ?>

How to enable Google Consent Mode V2: click here

Learn how to get the Google Analytics 4 tag ID and how to test it: watch video

Install the old Google Analytics UA property and the new GA4 at the same time: watch video

Learn how to get your Measurement Protocol API secret: watch video

WPML Detected. With the Advanced and Agency licenses, you can fire a different pixel for each language.

GTM Tag

Your GTM Tag

render_switcher_input( 'enabled' ); ?>

Enable GTM

GTM Tag:

render_pixel_id( 'gtm_id', '' ); ?>
render_switcher_input( 'gtm_just_data_layer' ); ?>

Beta version: This feature is now in Beta and can change in the future.

Important:

getContainersForDisplay() as $container ) { if ( !$container[ 'enable' ] || empty( $container[ 'file_name' ] ) ) continue; ?>

watch video

'https://www.youtube.com/watch?v=rmkZZcLxP2I', 'title' => 'How to install the Reddit Pixel', 'time' => '4:19', ), array( 'url' => 'https://www.youtube.com/watch?v=Jm8dFTOLjJE', 'title' => 'WooCommerce Google Ads Conversion Import', 'time' => '9:19', ), array( 'url' => 'https://www.youtube.com/watch?v=WUrl-2fgTxg', 'title' => 'Fix SAFARI Google Ads Tracking - GCLID missing solution', 'time' => '4:59', ), array( 'url' => 'https://www.youtube.com/watch?v=eoJT1fSIar0', 'title' => 'Google AUTOMATED Discounts + WooCommerce', 'time' => '14:26', ), array( 'url' => 'https://www.youtube.com/watch?v=Wv6KhJQqFL4', 'title' => 'HOT: Secret Trick to Boost Your Meta EMQ Score: Facebook Login Integration', 'time' => '6:20', ), array( 'url' => 'https://www.youtube.com/watch?v=wUsqwomsYMo', 'title' => 'Conditions: Improved Event Tracking - Meta, Google, TikTok, GTM', 'time' => '5:09', ), array( 'url' => 'https://www.youtube.com/watch?v=kWozitdarSA', 'title' => 'How to use Custom Events for Meta Ads', 'time' => '7:49', ), array( 'url' => 'https://www.youtube.com/watch?v=7BNHWbLbbdg', 'title' => 'Meta Limited Data Use - Privacy Options for USA States - WordPress', 'time' => '6:17', ), array( 'url' => 'https://www.youtube.com/watch?v=bEK3qaaRvNg', 'title' => 'Google Tag Manager and PixelYourSite', 'time' => '7:48', ), array( 'url' => 'https://www.youtube.com/watch?v=DZzFP4pSitU', 'title' => 'Meta Pixel, CAPI, and PixelYourSite MUST WATCH', 'time' => '8:19', ), array( 'url' => 'https://www.youtube.com/watch?v=QqAIO1ONc0I', 'title' => 'How to test Facebook Conversion API', 'time' => '10:16', ), array( 'url' => 'https://www.youtube.com/watch?v=kEp5BDg7dP0', 'title' => 'How to fire EVENTS with PixelYourSite', 'time' => '22:28', ), array( 'url' => 'https://www.youtube.com/watch?v=EvzGMAvBnbs', 'title' => 'How to create Meta (Facebook) Custom Audiences & Lookalikes based on Events & Parameters', 'time' => '21:53', ), array( 'url' => 'https://www.youtube.com/watch?v=w97FATUy7ok', 'title' => 'How to configure Custom Conversions on Meta (Facebook) based on Events & Parameters', 'time' => '11:03', ), array( 'url' => 'https://www.youtube.com/watch?v=snUKcsTbvCk', 'title' => 'Improve META (Facebook) EMQ score with form automatic data detection', 'time' => '11:48', ), array( 'url' => 'https://www.youtube.com/watch?v=c4Hrb8WK5bw', 'title' => 'Fire a LEAD event on form submit - WordPress & PixelYourSite', 'time' => '5:58', ), ); renderRecommendedVideo( $videos ); ?>
render_switcher_input( "automatic_events_enabled", false, false, false, 'primary' ); ?>

Track key actions with the automatic events

getOption( 'automatic_events_enabled' ) ) { cardCollapseBtn( 'style="display:none"', 'icon-settings' ); } else { cardCollapseBtn( '', 'icon-settings' ); } ?>
render_switcher_input( 'automatic_event_form_enabled' ); ?>

Track Forms

The Form event will fire when a form is successfully submitted for the following plugins: Contact Form 7, Forminator, WP Forms, WS Forms, Formidable Pro, Ninja Forms, and Fluent Forms. For forms added by different means, we will fire the event when the submit button is clicked. Watch this video to learn more.

Fires when the website visitor clicks form submit buttons.

getName(); ?> detected - we will fire the Form event for each successfully submitted form.

render_checkbox_input( 'enable_success_send_form', 'Fire the event only for the supported plugins, when the form is successfully submitted.' ); ?>

Configure Lead or other events using our events triggers. Learn how from this video

Event name: Form

Event name on Reddit: FormSubmit (custom event)

Specific parameters: text from_class form_id

render_switcher_input( 'automatic_event_signup_enabled' ); ?>

Track user signup

enabled() ) : ?> getOption( "woo_complete_registration_fire_every_time" ) ) : ?>
render_switcher_input( 'automatic_event_signup_enabled_disable', false, true ); ?>

Enable on Facebook

Facebook CompleteReservation is fired every time a WooCommerce takes place.
You can change this from the WooCommerce events settings

render_switcher_input( 'automatic_event_signup_enabled' ); ?>

Enable on Facebook

enabled() ) : ?>
render_switcher_input( 'automatic_event_signup_enabled' ); ?>

Enable on Google Analytics

enabled() ) : ?>
render_switcher_input( 'automatic_event_signup_enabled' ); ?>

Enable on Bing

enabled() ) : ?>
render_switcher_input( 'automatic_event_signup_enabled' ); ?>

Enable on Pinterest

enabled() ) : ?>
render_switcher_input( 'automatic_event_signup_enabled' ); ?>

Enable on Reddit

enabled() ) : ?>
render_switcher_input('automatic_event_signup_enabled'); ?>

Enable on GTM dataLayer

Fires when the website visitor signup for a WordPress account.

Event name:

On Google Analytics the event is called sign_up (standard event).

On Facebook the event is called CompleteRegistration (standard event).

On Pinterest the event is called Signup (standard event).

On Bing the event is called sign_up (custom event).

On Reddit the event is called SignUp (standard event).

render_switcher_input( 'automatic_event_login_enabled' ); ?>

Track user login

Fires when the website visitor logins a WordPress account.

Event name:

On Google Analytics the event is called login (standard event).

On Google Ads the event is called login (custom event).

On Facebook, Pinterest, Bing, Reddit the event is called Login (custom event).

render_switcher_input( 'automatic_event_download_enabled' ); ?>

Track Downloads

Extension of files to track as downloads:
render_tags_select_input( 'automatic_event_download_extensions' ); ?>

Fires when the website visitor open files with the designated format.

Event name: Download

Event name on Reddit: Download (custom event)

Specific parameters: download_type download_name download_url

*Google Analytics 4 automatically tracks this action with an event called "file_download". If you want, you can disable this event for Google Analytics

render_switcher_input( 'automatic_event_comment_enabled' ); ?>

Track comments

Fires when the website visitor ads a comment.

Event name: Comment

Event name on Reddit: Comment (custom event)

render_switcher_input( 'automatic_event_scroll_enabled' ); ?>

Track page scroll

render_number_input_percent( 'automatic_event_scroll_value', '', false, 100 ); ?>

Fires when the website visitor scrolls the page.

Event name: PageScroll

Event name on Reddit: PageScroll (custom event)

*Google Analytics 4 automatically tracks 90% page scroll with an event called "scroll". If you want, you can disable this event for Google Analytics

render_switcher_input( 'automatic_event_time_on_page_enabled' ); ?>

Track time on page

render_number_input( 'automatic_event_time_on_page_value', '', false, 100 ); ?>

Event name: TimeOnPage

Event name on Reddit: TimeOnPage (custom event)

render_switcher_input( 'automatic_event_404_enabled' ); ?>

Track 404 pages

Event name: 404

render_switcher_input( 'automatic_event_search_enabled' ); ?>

Track searches

Event name:

On Google Analytics the event is called search (standard event).

On Google Ads the event is called search (custom event).

On Facebook, Pinterest called Search (standard event).

On Bing the event is called search (custom event).

On Reddit the event is called Search (standard event).

Track AdSense

Fires when the website visitor clicks on an AdSense ad.

Event name: AdSense

Track internal

Fires when the website visitor clicks on internal links.

Event name: InternalClick

Event name on TikTok: ClickButton

Event name on Reddit: ClickButton (custom event)

Specific parameters: text target_url

Track outbound

Fire this event when the visitor clicks on links to other domains.

Event name: OutboundClick

Event name on TikTok: ClickButton

Event name on Reddit: ClickButton (custom event)

Specific parameters: text target_url

*Google Analytics 4 automatically tracks clicks on links to external domains with an event called "click". If you want, you can disable this event for Google Analytics

Track embedded YouTube or Vimeo video views

enabled() ) : ?>

Enable on Facebook

enabled() ) : ?>

Enable on Google Analytics

Enable on Google Ads

enabled() ) : ?>

Enable on Bing

enabled() ) : ?>

Enable on Pinterest

Enable on TikTok

enabled() ) : ?>
render_switcher_input( 'automatic_event_video_enabled' ); ?>

Enable on Reddit

enabled() ) : ?>

Enable on GTM dataLayer

Fires when the website visitor watches embedded YouTube or Vimeo videos.

Event name: WatchVideo

Event name on Reddit: WatchVideo (custom event)

Specific parameters: progress video_type video_title video_id

*Google Analytics 4 automatically tracks YouTube embedded videos with two events called "video" and "video_progress". You can disable this event for Google Analytics YouTube videos.

Track tel links

Fires when the website visitor clicks on HTML links marked with "tel".

Event name: TelClick

Track email links

Fires when the website visitor clicks on HTML links marked with "email".

Event name: EmailClick

render_switcher_input( "fdp_enabled", false, false, false, 'primary' ); ?>

Dynamic Ads for Blog Setup

getOption( 'fdp_enabled' ) ) { cardCollapseBtn( 'style="display:none"', 'icon-settings' ); } else { cardCollapseBtn( '', 'icon-settings' ); } ?>

Legacy Strategy: This approach is no longer recommended. Meta requires catalog items to be real products, making dynamic promotion of blogs less effective. We plan to remove this feature in future updates.

This setup will help you to run Facebook Dynamic Product Ads for your blog content.

enabled() ) : ?>

Fire this events just for this Pixel ID with the pro version

Meta Pixel ID:

'Product', '' => 'Empty' ); Facebook()->render_select_input( 'fdp_content_type', $options ); ?>
$val ) { $options[ $key ] = $key; } Facebook()->render_select_input( 'fdp_currency', $options ); ?>
render_switcher_input( 'fdp_view_content_enabled' ); ?>

Enable the ViewContent on every blog page

render_switcher_input( 'fdp_view_category_enabled' ); ?>

Enable the ViewCategory on every blog categories page

render_switcher_input( 'fdp_add_to_cart_enabled' ); ?>

Enable the AddToCart event on every blog page

render_number_input( 'fdp_add_to_cart_value', "Value" ); ?>
render_select_input( 'fdp_add_to_cart_event_fire', $options ); ?> render_number_input_percent( 'fdp_add_to_cart_event_fire_scroll', 50 ); ?>
render_switcher_input( 'fdp_purchase_enabled' ); ?>

Enable the Purchase event on every blog page

render_number_input( 'fdp_purchase_value', "Value" ); ?>
'Page Scroll', 'comment' => 'User commented', 'css_click' => 'Click on CSS selector', //Default event fires ); Facebook()->render_select_input( 'fdp_purchase_event_fire',$options ); ?> render_number_input_percent( 'fdp_purchase_event_fire_scroll', 50 ); ?> render_text_input( 'fdp_purchase_event_fire_css', "CSS selector" ); ?>

You need to upload your blog posts into a Facebook Product Catalog. You can do this with our dedicated plugin: Click Here

Control the Global Parameters

You will have these parameters for all events, and for all installed tags. We recommend to keep these parameters active, but if you start to get privacy warnings about some of them, you can turn those parameters OFF.

render_switcher_input( "enable_page_title_param" ); ?>

page_title

render_switcher_input( "enable_post_type_param" ); ?>

post_type

render_switcher_input( 'enable_post_category_param' ); ?>

post_category

render_switcher_input( "enable_post_id_param" ); ?>

post_id

render_switcher_input( 'enable_content_name_param' ); ?>

content_name

render_switcher_input( 'enable_event_url_param' ); ?>

event_url

render_switcher_input( 'enable_user_role_param' ); ?>

user_role

landing_page (PRO)

crown

event_time (PRO)

crown

event_day (PRO)

crown

event_month (PRO)

crown

traffic_source (PRO)

crown

UTMs (PRO)

crown

tags (PRO)

crown

categories (PRO)

crown

search (mandatory)

crown

plugin (mandatory)

crown

About Parameters:

Parameters add extra information to events.

They help you create Custom Audiences or Custom Conversions on Facebook, Goals, and Audiences on Google, Audiences on Pinterest, Conversions on Bing.

The plugin tracks the following parameters by default for all the events and for all installed tags: page_title, post_type, post_id, landing_page, event_url, user_role, plugin, event_time (pro), event_day (pro), event_month (pro), traffic_source (pro), UTMs (pro).

Facebook, Pinterest, and Google Ads Page View event also tracks the following parameters: tags, category.

You can add extra parameters to events configured on the Events tab. WooCommerce or Easy Digital Downloads events will have the e-commerce parameters specific to each tag.

The Search event has the specific search parameter.

The automatic events have various specific parameters, depending on the action that fires the event.

enabled() ) : ?>
render_switcher_input( $event . '_enabled' ); ?>

Enable on Facebook

enabled() ) : ?>
render_switcher_input( $event . '_enabled' ); ?>

Enable on Google Analytics

enabled() ) : ?>
render_switcher_input( $event . '_enabled' ); ?>

Enable on Bing

enabled() ) : ?>
render_switcher_input( $event . '_enabled' ); ?>

Enable on Pinterest

enabled() ) : ?>
render_switcher_input( $event . '_enabled' ); ?>

Enable on Reddit

enabled() ) : ?>
render_switcher_input( $event . '_enabled' ); ?>

Enable on GTM dataLayer

enabled() ) : ?>

Enable on Facebook

enabled() ) : ?>

Enable on Google Analytics

enabled() ) : ?>

Enable on Bing

enabled() ) : ?>

Enable on Pinterest

enabled() ) : ?>

Enable on Reddit

enabled() ) : ?>

Enable on GTM dataLayer