Rocket Beetle
Forum Replies Created
-
I just tested without WP Rocket enabled, because there is a lot of js errors when it is enabled, and then I can see that this event is fired: “Form Submission” I dont know if you have configurated that yourself in Zaraz. Our configuration is including the event called “Form”
https://drive.google.com/file/d/177ZGgi89310VKuFVQzComLsQoJ1DagMT/view
- This reply was modified 2 years, 2 months ago by Rocket Beetle.
Great to hear that the plugin and Zaraz in general have helped your site speed. Meta, Google and other tracking scripts are just getting larger and larger, so we also really like the approach Zaraz have taken on tracking which benefits a lot of users.
I dont know which version you had before the upgrade, but when it comes to tracking forms we have not change any behaviour on how forms at tracked. I did however do a test you your page and noticed that WPForms is submitting the form via ajax, which of cause is common practice.
We are however listening for a submit event which WPForms might also do, but if they “steal” that event and is it not propagated to our plugin is never going to receive this, so the missing event might also be because of a WPForms update.
We are however planing to incorporate the most used form plugins into our tracking, and here WPForm definitely is one of them.
But for now a way to fix it, is by using similar approach in their documentation here:
https://wpforms.com/developers/how-to-open-a-new-link-on-form-submission/
The the code should look like this:/** * WPForms: Track form submissions with Beetle Tracking * * @link https://wordpress.org/support/topic/can-not-tract-forms-event/ */ function wpf_dev_event_after_submit() { ?> <script type="text/javascript"> ( function() { jQuery( window ).on( 'load', function() { // Change your form ID or replace it to the .wpforms-form container. jQuery( '.wpforms-ajax-form' ).on( 'wpformsAjaxSubmitSuccess', function( e, response ) { beetle_tracking.track('Form', { window.form_id: $(this).attr('data-formid') }); } ); } ) }() ); </script> <?php } add_action('wpforms_wp_footer_end', 'wpf_dev_event_after_submit', 10);What happens here is it will Submit a “Form” event to Zaraz which is the one we have in our configuration and then it will add the parameter of form_id which is the id of the form submitted.
I hope this helps you until we have an official integration with WPFormsForum: Plugins
In reply to: [Beetle Tracking - Cloudflare Zaraz for WooCommerce] Javascript delayI actually dont think there should be any problems with out js is being delayed, but it could be that the plugin is also trying to do some extra minification on out JS and therefor it fails.
Thank you, that warning will be fixed in next release.
Have you tried using Zaraz’s debugging tool and see home many request it is sending
You can see here how:
https://developers.cloudflare.com/zaraz/web-api/debug-mode/
We can also help you if you send the code to support support@rocketbeetle.comThat is strange, we have not experienced that and it should just be an empty array. Could you send the export file to support@rocketbeetle.com
Just a head up, that the plugins has been updated
Hi,
Unfortunately we have not been good enough with our documentation and easiness of use just yet. At the moment you need to have ecommerce on Zaraz enabled, but in the settings and on the tools.
We are however working on a version which is ready within the next two weeks where that is not necessary since you will be able to export all settings for Zaraz through the plugin.Hope this answers you questions.
Sorry for the lack of reply. We have been busy lately preparing a pro version which will be ready early next year.
We also thing that Zaraz is a great solution for Server-side tracking and just want to make it easy for everybody to start tracking.
Please let us know if there is any you need.We found a solution or the error causing the above.
We had by mistake inserter Woo-breadcrumbs instead og Yoast-breadcrums on product pages. After changing to Yoast breadcrumb block it works 🙂