Docs / PixelYourSite Pro / Consent & Compliance / Cookies set by PixelYourSite

Cookies set by PixelYourSite

Last updated: September 26, 2026

To perform various tasks, the PixelYourSite plugin uses several first-party cookies.

Cookies that PixelYourSite might use

Cookie Notes
pbid It allows the plugin to assign external_id to users, improving API events performance. The cookie life is set in the admin panel in days. External IDs can be turned ON/OFF on the plugin’s main page, under Events Parameters.
last_pysTrafficSource It allows the plugin to track the last traffic source.
last_pys_landing_page It allows the plugin to track the last landing page
pysTrafficSource It allows the plugin to track the traffic source.
pys_fb_event_id It allows the plugin to assign unique event IDs used for the deduplication of tag/API events.
pys_first_visit It configures the type of WooCommerce reports the plugin will track.
pys_landing_page It allows the plugin to track the last landing page.
pys_pinterest_event_id It allows the plugin to assign unique event IDs used for the deduplication of tag/API Pinterest events.
pys_session_limit It allows the plugin to configure the duration of a session, used for WooCommerce and EDD reports.
pys_start_session It allows the plugin to start a session, used for WooCommerce and EDD reports.
pys_advanced_form_data It allows the plugin to track WordPress forms according to the settings. Used for API events, it can improve events’ performance.
productlist Used for Google Analytics list tracking.
select_prod_list Used for Google Analytics list tracking.
form_track Used to track forms.
hide_tag_ Used to hide tags based on settings.
pysAddToCartFragmentId used to prevent duplicate AddToCart events when working with WooCommerce AJAX Cart Fragments.

How to control pixels and cookies

It’s best to review the plugin’s Consent page.

Use pys_gdpr_ajax_enabledfilter to control the Ajax option for consent.

Use following filters to control each pixel:

pys_disable_by_gdpr

pys_disable_facebook_by_gdpr

pys_disable_analytics_by_gdpr

pys_disable_tiktok_by_gdpr

pys_disable_google_ads_by_gdpr

pys_disable_pinterest_by_gdpr

pys_disable_bing_by_gdpr.

The first filter will disable all pixels, other can be used to disable a particular pixel. Simply pass TRUE value to disable a pixel.

pys_disable_all_cookie – disable all PYS cookies

pys_disable_first_visit_cookie – disable pys_first_visit cookie

pys_disable_landing_page_cookie – disable pys_landing_page & last_pys_landing_page cookies

pys_disable_trafficsource_cookie – disable pysTrafficSource & last_pysTrafficSource cookies

pys_disable_utmTerms_cookie – disable [‘utm_source’, ‘utm_medium’, ‘utm_campaign’, ‘utm_content’ ,’utm_term’] with prefix pys_ and last_pys_ cookies

pys_disable_utmId_cookie – disable [‘fbadid’, ‘gadid’, ‘padid’, ‘bingid’] with prefix pys_ and last_pys_ cookies

pys_disable_advanced_form_data_cookie – disable pys_advanced_form_data cookies

pys_disable_externalID_by_gdpr – disable pbid(external_id) cookie

To disable cookies, use filters where necessary.
First filter will disable all cookies, other can be used to disable particular cookie. Simply pass __return_true value to disable a cookie.

Example:
add_filter( 'pys_disable_advanced_form_data_cookie', '__return_true', 10, 2 );