Skip to content

Commit

Permalink
Fix: fire view_cart if GAds dyn remarketing disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
duracelltomi committed Apr 8, 2021
1 parent c1159d9 commit cf29557
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integration/woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ function gtm4wp_woocommerce_datalayer_filter_items( $dataLayer ) {
if (
$gtm4wp_options[ GTM4WP_OPTION_INTEGRATE_WCREMARKETING ]
|| $gtm4wp_options[ GTM4WP_OPTION_INTEGRATE_WCEECCARTASFIRSTSTEP ]
|| $gtm4wp_options[ GTM4WP_OPTION_INTEGRATE_WCTRACKENHANCEDEC ]
) {
$gtm4wp_cart_products = array();
$gtm4wp_cart_products_remarketing = array();
Expand Down

0 comments on commit cf29557

Please sign in to comment.