overturn
Forum Replies Created
-
Thanks for trying to assist me.
Right so the issue is I was referencing ‘Cart.Total.Totals’ and as you can imagine when checkout is complete the cart is empty and values are zeroed.
I am sharing this incase anyone has a similar issue and there is no obvious cause like plugin incompatibility etc at play.Thanks for the responses btw, I appreciate you are hands-on with your plugin.
I think I know what the issue is. I was experimenting earlier in the week and I changed the trigger type from custom event to page load. This meant some values were undefined in relation to FB pixel.
I am 90% sure that’s the issue and I will confirm once I revert the changes back, just just in case anyone has a similar issue.No nothing of the sort, I use very little plugins and none that affect the datalayer.
Have you investigated this issue before? I can see some support topics on this board with the same issue I have, but I don’t see a solution or pointers in them to point me in the right direction.It’s odd, all the other events work correctly and they have data in the event or computed state, it’s just the purchase event. I am going to test my caching plugin to see if it’s messing things up.
My current versions are below:
GTMW4P: 1.10.1
WordPress: 5.2.4
WooCommerce: 3.7.1I think I have figured it out, I just need to utilise the already pre-existing event.
Your plugin is very useful mate.Thanks
Hi Thomas,
This is essentially what I need, but it goes a bit over my head at the moment:
https://www.simoahava.com/analytics/enhanced-ecommerce-facebook-pixel/
I don’t want to add another plugin to the ecosystem, when yours can do the job with a couple of custom scriptsin GOogle Tag Manager.
I will keep looking into it, but I would appreciate any help you can offer.I have ensured the plugin enhanced option tags are checked and sticking, there is now stock you can add into your basket, but still the enhanced e-commerce tags are not firing
That is very odd, I have just checked and the WooCommerce integration options have been unchecked again. I am going to run a few tests and I will follow up.
- This reply was modified 5 years, 3 months ago by overturn.
Apologies, I’ve now turned the enhanced e-commerce option in the gtm4wp plugin. It the tags still do not fire.
Thanks
Hi, sorry for the delayed reply. I am using Redis Object Cache
Thanks @sjhand
I will try this later today. I kind of gave up on the plugin to be honest. Sanity check after sanity check confirm the issue wasn’t my single quotes.Wow you did suggest that initially. There is must be something going on with my formatting. I will restore my wp-config file and start again with the constants. Thanks
I am now currently on wp-fail2ban v4.2.2 and i am not getting anything come up in the php log using the define(‘WP_DEBUG’, true); constant.
However i can see this error repeated a lot in the logs, when i downgraded to v4.0.2 earlier during my test:Use of undefined constant ‘WP_FAIL2BAN_BLOCK_USER_ENUMERATION’ – assumed ‘‘WP_FAIL2BAN_BLOCK_USER_ENUMERATION’’ (this will throw an Error in a future version of PHP) in /var/www/wp-config.php on line 99″
- This reply was modified 5 years, 6 months ago by overturn.
The issue is version 4.2.2, here is how i came to the conclusion:
I did not touch the wp-config.php constants that were not working with V4.2.2, this was left as is.
I uninstalled WP-Fail2ban v4.2.2 and then installed an old backup i had of WP-Fail2ban v4.0.2.
In version v4.0.2 the constants are being picked up and reflected in the settings.- This reply was modified 5 years, 6 months ago by overturn.