Please tell me how to remove beeketing code in my theme completely?

Wenjian_Zhao
Explorer
73 0 9

Hi, all.

I need your help.

Please tell me how to remove beeketing code in my theme? I used beeketing app before, but already uninstalled for long time. I don't know why it's code still works and that slowed my page speed.

I just checked my homepage loading speed from PageSpeedInside, and found beeketing javascript still in my theme and occupied my loading time. that slowed my homepage speed.

PageSeedInside shows beeketing code: https://sdk.beeketing.com/js/beeketing.js?20200823 

Would you please help me as soon as possible? My website: https://iloveforeverfashion.com/   ( forevershop.myshopify.com )

Thanks!

Jane
08/23/2020

 

Replies 6 (6)

JHKCreate
Shopify Expert
3571 639 916

Hi Jane!

Seems the script is still being loaded in your theme.liquid file, would you mind copy/pasting it here so I can give you the updated version without the script?

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
Wenjian_Zhao
Explorer
73 0 9

Hi, JHKC.

Thanks! Below is my theme code: Old version of Minimal template.

<!doctype html>
<!--[if lt IE 7]><html class="no-js ie6 oldie" lang="en"><![endif]-->
<!--[if IE 7]><html class="no-js ie7 oldie" lang="en"><![endif]-->
<!--[if IE 8]><html class="no-js ie8 oldie" lang="en"><![endif]-->
<!--[if gt IE 8]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
<meta name="google-site-verification" content="P_zqpVH28pQb4PQiVSGL0CLRzLE528zOMfzghpf9kSQ" />

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PRNS8B5');</script>
<!-- End Google Tag Manager -->


{%- capture seo_title -%}
{{ page_title }}
{%- if current_tags -%}
{%- assign meta_tags = current_tags | join: ', ' -%} – {{ 'general.meta.tags' | t: tags: meta_tags -}}
{%- endif -%}
{%- if current_page != 1 -%}
– {{ 'general.meta.page' | t: page: current_page }}
{%- endif -%}
{%- assign escaped_page_title = page_title | escape -%}
{% comment %}
{%- unless escaped_page_title contains shop.name -%}
– {{ shop.name }}
{%- endunless -%}
{% endcomment %}
{%- endcapture -%}


<title>{{ seo_title | strip }}</title>
{%- if page_description -%}
<meta name="description" content="{{ page_description | escape }}">
{%- endif -%}

<meta name="keywords" content="shop Sports fans Gear, Kobe Bryant gear, Kobe Bryant sneakers,Kobe Bryant leggings, Kobe Bryant Hoodie, Kobe braynt shirt, 5 Ply KN95 Mask, Carbon Filter Face Mask, mask filter, US Flag Sports mask, Cycling mask, 3 Ply disposable face maske, agles bomber jacket, eagles fleece jacket, eagles car mats, eagles car sun shade, eagles sneakers, Philadelphia eagles car seat covers, eagles leggings, eagles gear, eagles shirts, eaglges necklace, Patriots gear, Patriots Leggings, Patriots bomber jacket, Patriots Fleece jacket, Patriots car mats, Patriots car seat covers, Online shopping, shopping, eagles shop, NFL eagles"/>

<link rel="shortcut icon" href="{{ 'favicon.png' | asset_url }}" type="image/png" />

{% include 'fb-open-graph-tags' %}
{% include 'twitter-cards' %}
{{ 'styles.scss.css' | asset_url | stylesheet_tag }}
{{ 'social/social-icons.css' | global_asset_url | stylesheet_tag }}
{{ '//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css' | stylesheet_tag }}

{% if settings.google_header_font != "none" %}
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family={{ settings.google_header_font }}:300,400,700">
{% endif %}
{% if settings.google_nav_font != "none" %}
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family={{ settings.google_nav_font }}:300,400,700">
{% endif %}

{{ 'html5shiv.js' | asset_url | script_tag }}

{{ content_for_header }}
{%- render 'bold-common' -%}

{{shop.metafields.nitro.cart_related}}

{{ 'bold-brain-widget.css' | asset_url | stylesheet_tag }}
{{ 'bold-custom.css' | asset_url | stylesheet_tag }}<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>

{{ 'option_selection.js' | shopify_asset_url | script_tag }}
{{ 'api.jquery.js' | shopify_asset_url | script_tag }}

{% if template contains 'customers' %}
{{ 'shopify_common.js' | shopify_asset_url | script_tag }}
{{ 'customer_area.js' | shopify_asset_url | script_tag }}
{% endif %}

<link rel="canonical" href="{{ canonical_url }}" />

{% include 'alireviews_core' %}

<style>

h3 {
color:black;
}

div.scroll {
margin:4px, 4px;
padding:4px;
background-color: white;
width: 100%;
height: 200px;
overflow-x: hidden;
overflow-x: auto;
text-align:justify;
}

</style>
<style>

div.certificate {
margin:4px, 4px;
padding:10px;
background-color: white;
width: 100%;
height: 700px;
overflow-x: hidden;
overflow-x: auto;
text-align:justify;
}

</style>
<style>

h3 {
color:black;
}

div.gfg {
margin:4px, 4px;
padding:4px;
background-color: white;
width: 100%;
height: 20px;
overflow-x: hidden;
overflow-x: auto;
text-align:justify;
}

</style>

<!-- BeginConsistentCartAddon --> <script> {% if customer %} Shopify.customer_logged_in = true ; Shopify.customer_email = "{{ customer.email }}" ; Shopify.log_uuids = true; {% else %} Shopify.customer_logged_in = false ; Shopify.customer_email = "" ; Shopify.log_uuids = true; {% endif %} </script> <!-- EndConsistentCartAddon -->
</head>
<body>

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PRNS8B5"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<!-- Begin toolbar -->
<div class="toolbar-wrapper">
<div class="toolbar clearfix">
<ul class="unstyled">
<li class="search-field fr">
<form class="search" action="/search">
<button type="submit" alt="Go" class="go"><i class="fa fa-search"></i></button>
<input type="text" name="q" class="search_box" placeholder="{{ 'general.search.placeholder' | t }}" value="{{ search.terms }}" />
</form>
</li>
<li>
<li class="fr">
<a href="/cart" class="cart" title="{{ 'layout.cart.title' | t }}">
<div style="float:left; padding-top:7px; padding-right: 3px">
<img src="{{ 'USA_logo.jpg' | asset_url }}" alt="iloveforeverfashion.com"/>
</div>
<i class="fa fa-shopping-cart"></i>{{ 'layout.cart.title' | t }}: {{ 'layout.cart.items_with_count' | t: count: cart.item_count }}
</a>
</li>
{% include 'customer-links' %}
{% if settings.top_bar_linklist != blank %}
{% for link in linklists[settings.top_bar_linklist].links %}
<li class="fr"><a href="{{ link.url }}" title="{{ link.title }}">{{ link.title }}</a></li>
{% endfor %}
{% endif %}
</ul>
<div id="menu-button" class="menu-icon"><i class="fa fa-bars"></i>{{ 'layout.menu.title' | t }}</div>
</div>
</div>
<!-- End toolbar -->

<!-- Begin Mobile Nav -->
<div class="row mobile-wrapper">
<nav class="mobile clearfix">
{% include 'mobile-menu' %}
</nav>
</div>
<!-- End Mobile Nav -->
<!-- Begin wrapper -->
<div id="transparency" class="wrapper">
<div class="row">
<!-- Begin right navigation -->
{% if settings.navigation_alignment == "right" %}
<div class="row" id="header">
<div class="span12 border-bottom">
<div class="span2 inner-left logo-wrapper">
<div class="logo">
{% if settings.use_logo %}
<a href="/"><img src="{{ 'logo.png' | asset_url }}" alt="{{ shop.name }}" /></a>
{% if template == 'index' %}
<h1 style="display:none"><a href="/">{{ shop.name }}</a></h1> <table style="width: 100%;">
{% endif %}
{% else %}
<h1><a href="/">{{ shop.name }}</a></h1>
{% endif %}
</div>
</div>

<section id="nav">
<div class="span12 inner-left">
<nav class="main">
{% include 'site-nav' %}
</nav>
</div>
</section>
</div>
</div>
{% endif %}
<!-- End right navigation -->

<!-- Begin below navigation -->
{% if settings.navigation_alignment == "below" %}
<div class="span12 clearfix">
<div class="logo">
{% if settings.use_logo %}
<a href="/"><img src="{{ 'logo.png' | asset_url }}" alt="{{ shop.name }}" /></a>
{% if template == 'index' %}
<h1 style="display:none"><a href="/">{{ shop.name }}</a></h1>
{% endif %}
{% else %}
<h1><a href="/">{{ shop.name }}</a></h1>
{% endif %}
</div>
</div>

<section id="nav" class="row">
<div class="span12">
<nav class="main">
{% include 'site-nav' %}
</nav> <!-- /.main -->
<nav class="mobile clearfix">
{% include 'mobile-menu' %}
</nav> <!-- /.mobile -->
</div>
</section>
{% endif %}
<!-- End below navigation -->

<!-- Begin content-->
<section id="content" class="clearfix">
{{ content_for_layout }}{% include 'vnavs' %}
</section>
<!-- End content-->

</div>
</div>
<!-- End wrapper -->

<!-- Begin footer -->
<div class="footer-wrapper">
<footer>
<div class="row">
<div class="span12 full-border"></div>

{% assign blog_module_in_footer = false %}

<!-- Begin latest blog post -->
{% unless settings.footer_blog_post == blank or blogs[settings.footer_blog_post].empty? or blogs[settings.footer_blog_post].articles.size == 0 %}
{% assign article = blogs[settings.footer_blog_post].articles.first %}
{% assign blog_module_in_footer = true %}
<div class="span4 footer-blog">
<div class="p30">
<h4><a href="/blogs/{{ settings.footer_blog_post }}">{{ 'layout.footer_blog.title' | t }}</a></h4>
<p class="p10"><strong>{{ article.title | link_to: article.url }}</strong></p>
{% if article.excerpt.size > 0 %}
<div class="clearfix">
{{ article.excerpt }}
</div>
{% else %}
<p>{{ article.content | strip_html | truncatewords: 30 }}</p>
{% endif %}
</div>
</div>
{% endunless %}
<!-- End latest blog post -->

<!-- Begin footer navigation -->
<div class="span4 footer-menu">
<h4>{{ 'layout.footer_navigation.title' | t }}</h4>
<ul class="unstyled">
{% for link in linklists[settings.footer_linklist].links %}
<li><a href="{{ link.url }}" title="{{ link.title }}">{{ link.title }}</a></li>
{% endfor %}
</ul>
</div>
<div class="span4 footer-menu">
<h4>HELP</h4>
<ul class="unstyled">
{% for link in linklists.footer2.links %}
<li><a href="{{ link.url }}" title="{{ link.title }}">{{ link.title }}</a></li>
{% endfor %}
</ul>
</div>
<!-- End footer navigation -->

<!-- Begin newsletter/social -->
<div class="span4">

{% if settings.footer_display_newsletter %}
<div class="p30">
<h4>{{ 'layout.newsletter.title' | t }}</h4>
<form action="{{ settings.mailing_list_form_action }}" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" target="_blank">
<input type="email" value="" placeholder="{{ 'layout.newsletter.placeholder' | t }}" name="EMAIL" id="mail" /><input type="submit" class="btn newsletter" value="{{ 'layout.newsletter.submit' | t }}" name="subscribe" id="subscribe" />
</form>
</div>
{% endif %}

<div class="privy-embed-form" data-campaign="104391"></div>

{% if blog_module_in_footer %}
<div class="clearfix">
{% if settings.enable_social_links %}
<h4>{{ 'layout.social.title' | t }}</h4>
{% include 'social-links' %}
{% endif %}
</div>
{% endif %}
</div>

<!-- End newsletter/social -->

{% unless blog_module_in_footer %}
<div class="span4">
<div class="clearfix">
{% if settings.enable_social_links %}
<h4>{{ 'layout.social.title' | t }}</h4>
{% include 'social-links' %}
{% endif %}
</div>
{% endunless %}
</div>

<div class="span12">
<table align="center" border="0" cellpadding="0" cellspacing="0" class="mcnCaptionBottomContent">
<tbody>
<tr>
<td style="text-align: center;"> <img src="{{ '100-percent-satisfaction2.gift' | asset_url }}" alt="Iloveforeverfashion.com" /></td>
</tr>
</tbody></table> </div>

<!-- Begin copyright -->
<div class="span12 tc copyright">
{% assign current_year = 'now' | date: "%Y" %}
<p>{{ 'layout.copyright.copyright_html' | t: year: current_year, name: shop.name }} | {{ powered_by_link }} {% if settings.designed_by %}{% endif %} </p>
{% if shop.enabled_payment_types.size > 0 %}
<ul class="credit-cards clearfix">
{% for type in shop.enabled_payment_types %}
{% comment %} <li><img width="50" src="{{ type | payment_type_img_url }}" alt="Iloveforeverfashion.com" /></li> {% endcomment %}
{% endfor %}

<li><img width="300" src="{{ 'Paypal_Express.png' | asset_url }}" /></li>

</ul> <!-- /.credit-cards -->
{% endif %}
</div>

<!-- End copyright -->

</div>
</footer>
</div>
<!-- End footer -->

{% if settings.display_slideshow %}
{{ 'jquery.flexslider-min.js' | asset_url | script_tag }}
{% endif %}
{% if settings.enable_product_image_zoom %}
{{ 'jquery.zoom.js' | asset_url | script_tag }}
{% endif %}
{{ 'scripts.js' | asset_url | script_tag }}


{{ 'social-buttons.js' | asset_url | script_tag }}
{% if template contains 'product' %}

<script>

var selectCallback = function(variant, selector) {


if (variant) {
$('.variant-sku').text(variant.sku);
}
else {
$('.variant-sku').empty();
}

if (variant) {
if (variant.featured_image) {
var newImage = variant.featured_image;
var mainImageEl = $('.image.featured img')[0];
Shopify.Image.switchImage(newImage, mainImageEl, MinimalTheme.switchImage);
}
if (variant.price < variant.compare_at_price) {
jQuery('#price-preview').html(Shopify.formatMoney(variant.price, "{{ shop.money_format }}") + " <del>" + Shopify.formatMoney(variant.compare_at_price, "{{ shop.money_format }}") + "</del>");
}
else {
jQuery('#price-preview').html(Shopify.formatMoney(variant.price, "{{ shop.money_format }}"));
}
if (variant.available) {
jQuery('#add-to-cart').removeAttr('disabled').removeClass('disabled').val({{ 'products.general.add_html' | t | json }});
}
else {
jQuery('#add-to-cart').val({{ 'products.general.sold_out_html' | t | json }}).addClass('disabled').attr('disabled', 'disabled');
}
}
else {
jQuery('#add-to-cart').val({{ 'products.general.unavailable_html' | t | json }}).addClass('disabled').attr('disabled', 'disabled');
}

};

jQuery(document).ready(function($){
var optionSelectors = new Shopify.OptionSelectors("product-select", { product: {{ product | json }}, onVariantSelected: selectCallback, enableHistoryState: true });

// Add label if only one product option and it isn't 'Title'.
{% if product.options.size == 1 and product.options.first != 'Title' %}
$('.selector-wrapper:eq(0)').prepend('<label>{{ product.options.first }}</label>');
{% endif %}

});

function imageSize(src) {
if (!src) {
return null;
}
var match = src.match(
/.+_((?:pico|icon|thumb|small|compact|medium|large|grande)|\d{1,4}x\d{0,4}|x\d{1,4})[_\\.@]/
);

if (match === null) {
return null;
} else {
return match[1];
}
}

</script>

{% endif %}

{% include 'linked-options' %}

{{ 'booster-page-speed-optimizer.js' | asset_url | script_tag }}


</body>
</html>

 

 

Wenjian_Zhao
Explorer
73 0 9

Hi, K&J:

Thanks for your posting the sample!

However, my theme doesn't have layout.liquid, but only have theme.liquid. As you can see my theme code pasted here, there is no beeketing code in my theme code,

and also, there is no beeketing code in my snippet too.

I don't know why beeketing code still run on my shopify store? Here is beeketing code link show on Google PageSpeed Insights page: https://sdk.beeketing.com/js/beeketing.js?20200823 

I also contacted beeketing.com again this morning, but they still haven't responded to me yet.

Please help me if you know where this beeketing code locates.

Anyone know? Please show me.

Thanks!

Jane

08/24/2020

 

 

oreoorbitz
Shopify Partner
242 29 129

Hi Zhao.

If you can't find the snippet for beeketing, then probably the code for the app is still being loaded in content_for_header, even though the app was uninstalled. I've had this happen before with a client, with a different app. I recommend you try contacting shopify support, have them look at the store, and ask them to remove the code, that is what my client did.

Available for freelance. I specialize in speed improvement and theme development.
https://www.upwork.com/fl/orionholmes



You can also contact me directly if you prefer.
Wenjian_Zhao
Explorer
73 0 9

Hi,  

Thanks!

Jane

08/25/2020

 

oreoorbitz
Shopify Partner
242 29 129

https://www.shopify.com/contact

Available for freelance. I specialize in speed improvement and theme development.
https://www.upwork.com/fl/orionholmes



You can also contact me directly if you prefer.