mkarena
Forum Replies Created
-
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] GA4 unassigned trafficHi @piotroxy,
I had a lot of unassigned traffic few months ago but now i have less but i did do any change. However i still have “unset” traffic and quite a lote more “direct traffic” than before upgrading to consent mode v2…
I’m using this code that seems to work but no guarantee :
if ( ! function_exists( 'fc_gtm4wp_fix_gateway_conversions' ) ) {
function fc_gtm4wp_fix_gateway_conversions(): void
{
global $wp;
$order_id = apply_filters( 'woocommerce_thankyou_order_id', absint( $wp->query_vars[ 'order-received' ] ) );
if ( ! $order_id ) {
return;
}
$order = wc_get_order( $order_id );
if ( ! isset( $order ) ) {
return;
}
$customer_ip = get_post_meta( $order_id, '_customer_ip_address', true );
if ( $customer_ip !== $_SERVER[ 'REMOTE_ADDR' ] ) {
$order->update_meta_data( '_ga_tracked', 0 );
$order->save();
}
}
add_action( 'wp_footer', 'fc_gtm4wp_fix_gateway_conversions', PHP_INT_MAX );
}Hello,
What would happen if the customer refresh the page ? Will the push be sent again and produce multiple conversion on GA4/GAds ?
ThanksHi,
Had this bug too where the purchase event not being push.
My workaround was to add in the elseif ( is_order_received_page() ) in intergrations/woocommerce.phpif ( isset( $order ) ) {
$customer_ip = get_post_meta( $order_id, '_customer_ip_address', true );
if ($customer_ip !== $_SERVER['REMOTE_ADDR']) {
unset($order);
}
}Seems like there is some work on the server side triggering the _ga_tracked, then when the thank you page pop, because the _ga_tracked is already flagged so nothing is push to GTM…
I did not dive more but now my paypal/ card gateway are working.Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] GA4 unassigned trafficHi,
I submitted an help request from ur website with more data and screenshots.
ThanksForum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] cmplz-force-reload=XXXXHi,
I revert to a previous snapshot and it works back. I probably did a mistake somewhere…
ThanksForum: Plugins
In reply to: [LiteSpeed Cache] Hidden elements in UCSSIn fact, with flatsome, the mobile menu is injected into a wrapper when visible. The html is still in the page but its probably messing up because it’s injected into a parent wrapper.
By adding this CSS white list :
.mfp-*
.off-*
I have a much better output but i didnt dive deeper for now !
ThanksOk thanks !
Hello,
I’m using a cart recovery plugin that is tracking live cart and each time you cron (woosea…) is running, a cart is generated (every time with the same product, most likely the last created).
It starts to happen 3/4 month’ish ago and i just discover that the problem was coming from Product Feed Pro plugin.
ThanksForum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Cookie Banner not showing on all pagesI will mark the post as resolved is it’s working ok now.
Could you just remove the link from previous post (i dont want search engine to scrap it).
Thanks !Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Cookie Banner not showing on all pagesIt seems to work now after resetting the option. Do you think this is a viable solution?
Thanks- This reply was modified 1 year, 6 months ago by mkarena.
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Cookie Banner not showing on all pages$excluded_posts_array = get_option( ‘cmplz_excluded_posts_array’, array() );
This variable contains the word “dimplex”. But I have no idea where it comes from… any idea ?
EDIT : i deleted the option but no change- This reply was modified 1 year, 6 months ago by mkarena.
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Cookie Banner not showing on all pagesHi,
Thanks for your reply.
Indeed all url that have “dimplex” in their url seems broken.So I tried to add the word to a url where the banner is displayed and it broke. I added dimplex to a second page with a working url and it still worked… So I don’t know what to think.
The MU-PLUGINS directory is empty and I have never used this feature.
EDIT: i replaced the .htaccess with a wordpress vanilla one, i tried to resave permalinks but no changeEDIT 2: if i take the previous url example, the i put the dimplex keyword at the very beginning, then it’s work. If i replace it at the previous spot, it still not working and if i put it at the very end, it does not work.
EDIT 3: I dont have any page /dimplex/ but for whatever reason it’s redirecting to a product page that contains dimplex in its url (probably based on wordpress url matching)
ThanksForum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Cookie Banner not showing on all pagesHi,
No I didn’t disable any specific page and I don’t use MU Plugin.
I tested with StoreFront and only WooCommerce and Complianz activated. All while using the private mode of the browser. I deleted all cookies, I have no cache…
When I change the url of the page, then the banner is displayed but if I put it back as it was, it is no longer displayed.
Some pages may have something in common (like the product brand) but it works for other products with related keywords. The url were probably edited in the past.
For example, a page where the banner does not show up :
https://www.artfire.fr/produit/cheminee-electrique-dimplex-haydn/Thanks for your help
- This reply was modified 1 year, 6 months ago by mkarena.
Hello,
It’s working
Thanks you !