Reducing size of data layer on orderComplete
-
Hi Thomas thanks for the plugin.
I have a question. Is it possible to reduce the size of the payload on event: gtm4wp.orderComplete? It seems that there is a lot of duplicate data in the payload which is quickly exceeding the 8kB limit, resulting in transactions not being recorded in Analytics Enhanced Ecommerce (I’m following your guide here: https://gtm4wp.com/for-advanced-users/missing-google-analytics-transactions-here-are-10-reasons-why.html).
In GTM4WP plugin settings, under Integration > Woocommerce, I have only checked “Order data in data layer” to be added to my data layer which appears to be required to record order $ value, etc. Is there any way to reduce the size of the payload further?
Any help is much appreciated, thanks Thomas.
- The topic ‘Reducing size of data layer on orderComplete’ is closed to new replies.