Home > Paid Traffic Sources > Facebook & Instagram

viewcontent vs. link click discrepancy (9)


10-03-2020 06:54 AM #1 leadmarketing ()
viewcontent vs. link click discrepancy

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!


10-03-2020 08:49 AM #2 platinum (Veteran Member)

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.


10-03-2020 11:18 AM #3 jeremie (Moderator)

Try to load it using a 1x1 image:
https://developers.facebook.com/docs...ixel/advanced/


10-03-2020 09:03 PM #4 jeremie (Moderator)

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/


10-07-2020 01:03 AM #5 leadmarketing ()

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!


10-07-2020 08:39 AM #6 jeremie (Moderator)

Quote Originally Posted by leadmarketing View Post
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!
1) Why did you remove it from the cache? You server takes 2.8s to serve the page the first time. This includes a useless redirect which you have to fix.

2) Why did you serve from a subdomain?
Doing so force the user to re-download all the static files he has downloaded while browsing your landing page initially.

What i usually do is to put all images / css / js under a static subdomain like static.domain.com or s.domain.com so that i can cache more aggressively these accross all my website pages, but the subdomain stays the same for static files during navigation.

3) Missing file generates 404 error: /wp-content/uploads/2018/05/author-signature.jpg


10-07-2020 04:51 PM #7 leadmarketing ()

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...



10-07-2020 07:37 PM #8 jeremie (Moderator)

Quote Originally Posted by leadmarketing View Post
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...


If you cache everything on a CDN, the RAM of your server is not relevant as your server will not be hit by the request.


10-07-2020 07:50 PM #9 leadmarketing ()

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!


Home > Paid Traffic Sources > Facebook & Instagram