Hi STMers.
Even after optimizing the landing page down to 482 ms - 1.5 sec(depending on locations) load times (according to pingdom), I'm still struggling with the viewcontent vs. link click discrepancy, currently at 131 unique outbound clicks and 84 unique content views. https://tools.pingdom.com/#5d3b4e2774400000
Can anyone provide any insight or suggestions?
Fyi I tried using a Google tag manager installing the code with a Header footer plugin but the load time was almost the same as using a plugin, pixelyoursite so I'm currently using the pixel plugin.
Many thanks!
On what conditions are firing the viewcontent event? Is it on page view or after X amount of seconds?
If it is supposed to load on pageview, then it could be worth adding FB pixel with the viewcontent event directly on your page code without using any plugins. On the other hand, if you’re looking to fire it after X seconds then GTM would be your best choice, unless your targeting CN where google and google tools don’t work.
Furthermore, if you’re using a CMS like Wordpress or something alike that relies on server-side processing, you’d want to check other plugins loading time to see if they are causing the delay.
Try to load it using a 1x1 image:
https://developers.facebook.com/docs...ixel/advanced/
Just had a look at your code.
1) Remove WP emoji that loads a script before your FB pixel
https://www.netmagik.com/how-to-disa...-in-wordpress/
2) You are loading jQuery before your FB pixel, so that delays the FB pixel trigger. Switch the script order to load it first. See wordpress $priority hook here:
https://stackoverflow.com/questions/...les-to-the-top
https://developer.wordpress.org/refe...ns/add_action/
Thanks so much for your advice, Jeremie.
Do you mind advising on how to improve the speed of the Woocommerce checkout page? https://gtmetrix.com/reports/account...t.com/GuvhZE6Q hopefully within 1-2 sec load time.
I'm currently using digital ocean + cloudways RAM: 2GB and since I'm still in a testing phase, I think it'd make sense to upgrade the server when ready to scale if necessary...
Fyi, I'm using W3, Autoptimize plugins and excluded the checkout page from cache, CDN to avoid issues and I separated the checkout page into a sub domain so the landing page can load faster without unnecessary or irrelevant scripts...
Many thanks!
Thanks so much for your advice. After fixing the issues #1-3, would it be possible to achieve 1-2 sec load time for the checkout page with RAM: 2-4GB?
A website optimizer I found on fiverr insists that I need to upgrade the RAM to 8GB first...
Can you possibly recommend an affordable developer that can fix the issues, or kindly let me know where to find one?
All developers I found on fiverr didn't mention anything you mentioned, and that makes me think that those even with 5 star ratings may not be competent.
Many thanks!