How Beeketing scripts work?

As a Service provider for E-commerce merchants, we totally understand that page speed is a vital matter to the performance of your site. That's why we always optimize all of our codes so that they only take minimum resources of your site.


Beeketing scripts only start loading after all elements on your website finish rendering and loading, so that they don't affect your site’s loading process.


It may take a bit longer for sites to load for first-time visitors since Beeketing js scripts call request back to our server to retrieve all data. Then we use cache to save all loaded data on your site. Next time when customers browse your web, Beeketing js scripts will only load updated data to save time and resources.


This way, we minimize the time and resources taken for Beeketing js scripts to load when your website is opened.

It seems that Beeketing scripts are slowing down my site, how can I prevent the issue?

1. Recommended solution:

If you experience this issue several times, the extended loading time might come from some conflicts between the app scripts and your theme. Please contact hi@beeketing.com so we can investigate and fix it for you.

2. Another solution:

For Shopify shops, there are 2 beeketing.js file loaded on your site

 

Beeketing.js is javascript file we use to load Beeketing apps on your site, for Shopify we use Shopify script tag to add this file to your site header (1) and add another beeketing.js to your footer by using bk-tracking.liquid.html file on your theme files (2).


By adding this script to the header using Shopify Script Tag, we ensure our apps can work in your thank you page, and by adding this script to the footer, we make the script load faster because Shopify script tag only starts loading after all elements on your site is loaded. It may make some lower points on speed testing tools like google page speed, but rest assure that this won't affect your site's speed since the file is cached for 30 days on visitors browser, so even there are 2 files loaded, it will take time to load just 1 file.

If you prefer only load this script once, you can delete bk-tracking.liquid in your theme.


We insert two Beeketing.js files into your theme to make sure the app can load faster. One is the default file to render Beeketing apps on your store (which MUST NOT be removed), the second one - the bk-tracking file – is our backup code (which CAN BE removed). 


If you still need help to check the loading speed, please don't hesitate to contact us via hi@beeketing.com and grant access for us to your store backend, we will help to check it 

thoroughly.


Beeketing team.