render_switcher_input('google_consent_mode'); ?>

Google Analytics and Google Ads events with Conversions with Card Data (CwCD) use different parameter names (e.g., GA4 uses item_id, Google Ads uses id; GA4 supports item_name, Google Ads doesn’t; Google Ads supports order-level discount, GA4 doesn’t). You can fire a single event with all parameters, or separate events with supported parameters. This applies to WooCommerce or EDD events like purchase, add_to_cart, and view_item. It will also affect manually configured events that track WooCommerce product or cart data.

render_radio_input('gtag_datalayer_type', 'default', 'Use PYS recommended name for data layer variable (recommended).'); ?> render_radio_input('gtag_datalayer_type', 'disable', 'Disable name transformation for the data layer (use dataLayer).'); ?> render_radio_input('gtag_datalayer_type', 'custom', 'Use this custom name for the data layer variable.'); ?>
render_text_input('gtag_datalayer_name', 'custom name for the data layer'); ?>

render_switcher_input( 'custom_page_view_event' ); ?>

render_switcher_input( 'disable_noscript' ); ?>

render_switcher_input( 'disable_advertising_features' ); ?>

render_switcher_input( 'disable_advertising_personalization' ); ?>

true ); $exclude = array("post","page"); if(isWooCommerceActive()){ $exclude[] = "product"; } if(isEddActive()){ $exclude[] = "download"; } $post_types = get_post_types( $args, 'objects' ); foreach ( $post_types as $type) { if(in_array($type->name,$exclude)) continue; ?>

label?>

render_switcher_input( 'cross_domain_enabled' ); ?>

render_switcher_input( 'cross_domain_accept_incoming' ); ?>

getOption('cross_domain_domains') as $index => $domain ) : ?>

Track more actions with the PRO version.
Find more about the Google Analytics pro implementation