Firelight
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Form Integration — Connect Forms to 200+ Apps] phplist integration?phplist is pretty basic so I decided to go with Sendy instead. But it still might be helpful for someone if they’re using phplist.
Forum: Plugins
In reply to: [LiteSpeed Cache] Exclude ESI from specific page(s)?I think the following snippet is working. Pixel helper extension is showing both pageview and purchase, and I get the green check mark in the orders list after visiting those order summary pages, so I think it’s fixed!
add_action('wp', function() { if (is_wc_endpoint_url('order-received')) { // Disable all caching for this page do_action('litespeed_control_set_nocache', 'woocommerce order received'); // Disable ESI processing specifically add_filter('litespeed_esi_status', '__return_false'); } }, 1);Forum: Plugins
In reply to: [LiteSpeed Cache] Exclude ESI from specific page(s)?I’m not sure that the snippet works as the orders coming in still indicate that the facebook pixel on the purchase summary page wasn’t fired. Is there a way to check if ESI is disabled on the purchase summary page so I can at least see if the snippet works or doesn’t work?
Forum: Plugins
In reply to: [LiteSpeed Cache] Exclude ESI from specific page(s)?Got it, thank you, I’ll give it a try!
Forum: Plugins
In reply to: [LiteSpeed Cache] Exclude ESI from specific page(s)?just order-received? In your previous message, you said to change xxx to the URL that matches the target page. Does it need to be a full URL or just the endpoint order-received ?
Forum: Plugins
In reply to: [LiteSpeed Cache] Exclude ESI from specific page(s)?Thank you for the reply, I will try it. If an example thank you page is:
should I replace xxx in your snippet to:
https://mydomain.com/purchase-summary/order-received/
?
Really hmm.. AI told me to check the page source for wpmDataLayer and I found this info:
<!– lscwp Inject data layer through ESI block –>
.
.
.
<!– Block uncached by LiteSpeed Cache 7.7 on 2025-12-21 15:34:11 –><!– lscwp Inject data layer through ESI block esi end –>
<!– END Pixel Manager for WooCommerce –>AI said:
**LiteSpeed is using ESI (Edge Side Includes) to inject the wpmDataLayer!** This is a LiteSpeed-specific caching feature, but it’s causing the script to load **too late** – after the Pixel Manager’s main scripts have already tried to access it.
That actually wasn’t it, it was the ESI setting in Litespeed that caused the wpmDataLayer to not work. After I turned off ESI, the pixel fired, and the error was gone!
I believe I solved the issue with the help of AI. It said that my cache was likely causing the issue, so it had me add
wpm
pixel-manager
wpmDataLayerto the JS excludes and JS Deferred Excludes boxes. When I refreshed the page, the error in the console went away.
Is there a way to reset the diagnostics counter to start checking the % again from zero after the fix?
Thanks for the reply in the other thread. I read your doc about possible other reasons. I went to the elementor editior, and previewed my order confirmation summary page. In the console, I do see two errors, do either of these mean anything to you?:
[NSL Definitive] CRITICAL: Could not find the source buttons. The shortcode style change might have changed the container class.
and
Pixel Manager error: The wpmDataLayer is not defined. Please make sure that the wpmDataLayer script snippet is inserted and not modified by any third-party plugin, such as a consent management platform or a JavaScript optimizer.
(anonymous) @ functions_main.js:47
setTimeout
e.wpmDataLayerFullyLoaded @ functions_main.js:46
(anonymous) @ main.js:14
await in (anonymous)
(anonymous) @ main.js:196
(anonymous) @ wpm-public.p1.min.js?ver=1.54.1:1`Thanks, I shared the link to this thread and asked them to reply here. The only code I use is the code below to send people to a different page if they order a certain product. However, that’s probably just 1 or 2 orders out of the total in the data being reported.
add_action( 'woocommerce_thankyou', 'redirect_product_based_2hr', 1 ); function redirect_product_based_2hr ( $order_id ){ $order = wc_get_order( $order_id ); foreach( $order->get_items() as $item ) { // Add whatever product id you want below here if ( $item['product_id'] == 6865 ) { // change below to the URL that you want to send your customer to wp_redirect( 'https://xxxx.com/' ); } } }Yes that does help some. I asked AI about tracking, and it suggested using the UTM URL parameters (which I just learned about), coupled with another plugin (I don’t believe yours has this feature?) to capture the UTM data and display it in Woo. According to the AI, the UTM will not only allow me to learn that orders resulted from my Facebook ads, but it can tell me which campaign, and even which ad specifically generated the order.
@dowp that’s what I understand from reading the article in the support portal. I am thinking perhaps there is a way to use a code snippet to check to see if a customer already wrote a review for a product, but not sure about that….
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] RAND doesn’t seem to work in slider?I’ve updated and I can confirm that rand is working on a given product category – thanks for addressing this issue!
I was just thinking the same thing. I have a recurring product on my site, and it really doesn’t make sense to keep asking for a review of it.