Re: Google Tag and PAGE SPEED

Solved

How can I improve page speed by managing Google Tags?

Shawn512
Shopify Partner
111 2 16

My page speed is poor, and in the analysis, I was informed that Google Tag is the main culprit. I might have installed multiple Google Tags in a state of confusion. How can I find the Tags that I can remove?

  1. I have enabled tracking in Google and YouTube apps, which means I have used Google Analytics 4.
  2. I have also used Google Tag Manager. Overall, it seems that I have installed many Tags on my website. What should I do?

My site: julibees.com

Shawn512_0-1687389367775.png

 

Pet Travel Supplies Small Business
Accepted Solution (1)

Cedcommerce
Shopify Partner
718 76 113

This is an accepted solution.

Hello @Shawn512

 

To identify and resolve the issue with your store's page speed caused by Google Tags, you can follow these steps:

 

Log in to your Google Tag Manager account and review the tags that are currently active. 

Go to the Tags section and check for duplicate or unnecessary tags. 

You can also check the triggers associated with each tag to determine if they are correctly configured.

 

Also, Since you mentioned using Google Analytics 4, ensure the tracking code is implemented correctly on your website.

 

Double-check that you have not added the Google Analytics tracking code directly on your site in addition to using Google Tag Manager, as this could lead to duplicated tags.

 

To identify the tags installed on your website, use browser developer tools. Here's how:

 

  • Open your website (julibees.com) in Google Chrome. 
  • Right-click on any page element and select "Inspect" from the menu. This will open the Chrome Developer Tools. 
  • In the Developer Tools panel, click the "Sources" tab. 
  • Expand the "Page" section on the left sidebar and look for the following files: gtm.js, gtag.js, and analytics.js. These indicate the presence of Google Tag Manager, Google Analytics, and Google Ads tags, respectively. 
  • Click on each file to see the details of the associated tags. You can inspect the code to identify any redundant or unwanted tags.

 

Now, once you have identified the unnecessary or duplicate tags, you can remove them from your Google Tag Manager account. 

 

This will prevent them from being loaded on your website and potentially impacting the page speed. After removing the unwanted tags, monitor your store's page speed to see if there is an improvement. 

 

Remember to test your website thoroughly after making any changes to ensure that all essential functionality and tracking are still working correctly.

 

If you encounter any specific issues or need further assistance, feel free to provide more details, and we’ll be glad to help you further.

All the best, 

CedCommerce

CedCommerce || Shopify Expert
- Let us know if our reply is helpful for you. Like it.
- Was your question answered? Mark it as an accepted solution.
- For further discussion contact: Email ID- [email protected]
- Whatsapp:- Join Here

View solution in original post

Replies 3 (3)

flareAI
Shopify Partner
2405 224 543

Hello @Shawn512,

 

Greetings from flareAI app helping Shopify merchants get $6Million+ in sales from Google Search, on autopilot! I am Gina, and I am here to help.


If you suspect that multiple Google Tags are causing poor page speed on your Shopify store, it's important to identify and streamline your tag implementation. Here's a step-by-step approach to finding and removing unnecessary tags.


1. Review your Google Tag Manager setup
Log in to your Google Tag Manager account and examine the tags, triggers, and variables that are currently implemented. Take note of the tags associated with Google Analytics and other Google services.


2. Analyze your Shopify theme code
Access your Shopify store's theme code by going to "Online Store" > "Themes" > "Actions" > "Edit code." Look for any manual implementations of Google tags directly in the theme files. These can include Google Analytics or other tracking code snippets. Note down any tags that you find.


3. Check your Shopify apps
Some Shopify apps may also install their own tracking tags or require the use of Google Tags. Review the apps you have installed and check their settings or documentation to determine if they install any tracking tags. Note down the relevant tags associated with these apps.


4. Identify redundant tags
Compare the list of tags you gathered from Google Tag Manager, theme code, and Shopify apps. Look for any duplicates or redundant tags that serve the same purpose. Keep in mind that some tags might be necessary for different functionalities or tracking purposes, so focus on identifying tags that are performing similar functions.


5. Test and remove unnecessary tags
Before removing any tags, it's crucial to test your website thoroughly to ensure that the essential tracking and functionality are not affected. Start by disabling or removing one tag at a time and then monitor the impact on your page speed and tracking. Use tools like Google PageSpeed Insights or Lighthouse to measure the improvements in page speed after each tag removal. If you notice any negative impact on tracking or functionality, re-enable the tag and move on to the next one.


6. Consolidate tags with Google Tag Manager
Whenever possible, consolidate your tracking tags using Google Tag Manager. By centralizing your tracking implementation, you can reduce the number of tags firing directly on your website and have better control over their triggers and configurations. You can create custom triggers and variables in Google Tag Manager to replicate the functionality of the tags you removed.


7. Regularly review and optimize
As your Shopify store evolves and you add or remove apps or implement new tracking requirements, periodically review your tags to ensure they remain streamlined and optimized. Regular maintenance and optimization will help maintain good page speed and efficient tracking.


Remember to thoroughly test your website after making any changes to ensure everything is functioning as expected.


Hope this helps


Gina

flareAI : Get Sales from Google Search, on Autopilot
$10+ billion in eCommerce on Google Search, every day. Find out how much you are missing

Cedcommerce
Shopify Partner
718 76 113

This is an accepted solution.

Hello @Shawn512

 

To identify and resolve the issue with your store's page speed caused by Google Tags, you can follow these steps:

 

Log in to your Google Tag Manager account and review the tags that are currently active. 

Go to the Tags section and check for duplicate or unnecessary tags. 

You can also check the triggers associated with each tag to determine if they are correctly configured.

 

Also, Since you mentioned using Google Analytics 4, ensure the tracking code is implemented correctly on your website.

 

Double-check that you have not added the Google Analytics tracking code directly on your site in addition to using Google Tag Manager, as this could lead to duplicated tags.

 

To identify the tags installed on your website, use browser developer tools. Here's how:

 

  • Open your website (julibees.com) in Google Chrome. 
  • Right-click on any page element and select "Inspect" from the menu. This will open the Chrome Developer Tools. 
  • In the Developer Tools panel, click the "Sources" tab. 
  • Expand the "Page" section on the left sidebar and look for the following files: gtm.js, gtag.js, and analytics.js. These indicate the presence of Google Tag Manager, Google Analytics, and Google Ads tags, respectively. 
  • Click on each file to see the details of the associated tags. You can inspect the code to identify any redundant or unwanted tags.

 

Now, once you have identified the unnecessary or duplicate tags, you can remove them from your Google Tag Manager account. 

 

This will prevent them from being loaded on your website and potentially impacting the page speed. After removing the unwanted tags, monitor your store's page speed to see if there is an improvement. 

 

Remember to test your website thoroughly after making any changes to ensure that all essential functionality and tracking are still working correctly.

 

If you encounter any specific issues or need further assistance, feel free to provide more details, and we’ll be glad to help you further.

All the best, 

CedCommerce

CedCommerce || Shopify Expert
- Let us know if our reply is helpful for you. Like it.
- Was your question answered? Mark it as an accepted solution.
- For further discussion contact: Email ID- [email protected]
- Whatsapp:- Join Here

marshray
New Member
5 0 0

I have a website and it's also facing serious speed issues. Upon checking on Google Page speed insights it shows that there's too much time spending on CLS issue. I'm using google adsense code on my website. Is it due to the ads or its something else.
speeddddddddd.png
There've been serious errors as well on my other clients services website including web developing, evg fine check and other gaming sites.

What should be the strategy for it?

Regards,
Marsh