logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
ray22901031  
#1 Posted : Wednesday, January 24, 2024 6:07:21 AM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 15 time(s) in 15 post(s)
I have been at this for almost 6 hours, and I'm at a complete loss. No matter what I do, the Google Tag Manager does not work, even though the Google code is in the right place. I have disabled Cloudflare, but that doesn't work either.

What am I missing here?

-Ray

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

shaharyar  
#2 Posted : Wednesday, January 24, 2024 6:21:09 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
Hi Ray,

Which AC version are you using?
Did you check the browser console to confirm if there are Javascript errors?
ray22901031  
#3 Posted : Wednesday, January 24, 2024 6:23:47 AM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 15 time(s) in 15 post(s)
Thank you for your reply; I'm on version 9.07, and there are no script errors. If you go to www.myradiomall.com, you will see that the code is properly placed in two places. I'm trying to implement an organizational tag and a breadcrumb list tag. Pulling out my hair down here.

Edited by user Wednesday, January 24, 2024 6:34:50 AM(UTC)  | Reason: Not specified

ray22901031  
#4 Posted : Wednesday, January 24, 2024 6:25:17 AM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 15 time(s) in 15 post(s)
Here's the code for the organizational tag

<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"@name": "Advanced Radio Systems",
"alternateName": "MyRadioMall.com",
"url": "https://www.MyRadioMall.com",
"logo": "https://www.myradiomall.com/Themes/MRM-Default-Wide-2023/content/images/logo.jpg"
}
</script>
shaharyar  
#5 Posted : Wednesday, January 24, 2024 6:34:27 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
Ablecommerce supports GoogleAnalytics and GoogleAnalytics4 setup.

Please read the related merchant guide and make sure the configurations are correctly setup.
https://help.ablecommerc...tore%2FPage_Tracking.htm

I hope it will be helpful
Thanks
ray22901031  
#6 Posted : Wednesday, January 24, 2024 6:36:50 AM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 15 time(s) in 15 post(s)
What you're saying has nothing to do with my problem, you're talking about analysis, I'm talking about the tag manager trying to implement basic tags like organization and breadcrumble list.
ray22901031  
#7 Posted : Wednesday, January 24, 2024 6:39:23 AM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 15 time(s) in 15 post(s)
The product schema works because there is a view for product schema, but it looks like no views for organization or any other Google tag. But the Google manager is supposed to bypass this. I have a funny feeling in order for this to work, I need to create views for the Google tags, not efficient at all.
ray22901031  
#8 Posted : Wednesday, January 24, 2024 6:41:48 AM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 15 time(s) in 15 post(s)
To illustrate what should be happening, please view the following source code from a website using Shopify. The tag manager properly inserts the highlighted information below.



<!doctype html><html id="html" class="no-js" lang="en" dir="ltr">
<head>

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, height=device-height, minimum-scale=1.0"><title>Zipfizz Vitamins - Energy - Hydration &ndash; Zipfizz Corp
</title><meta name="description" content="Zipfizz provides a healthy alternative to sports and energy drinks with peak mental alertness and zero negative side effects. It’s not a Sports Drink - It’s a Lifestyle Drink!">

<meta property="og:site_name" content="Zipfizz Corp">
<meta property="og:url" content="https://zipfizz.com/">
<meta property="og:title" content="Zipfizz Vitamins - Energy - Hydration">
<meta property="og:type" content="website">
<meta property="og:description" content="Zipfizz provides a healthy alternative to sports and energy drinks with peak mental alertness and zero negative side effects. It’s not a Sports Drink - It’s a Lifestyle Drink!"><meta property="og:image" content="http://zipfizz.com/cdn/shop/files/ZF_logo_2022.png?v=1646163607">
<meta property="og:image:secure_url" content="https://zipfizz.com/cdn/shop/files/ZF_logo_2022.png?v=1646163607">
<meta property="og:image:width" content="662">
<meta property="og:image:height" content="186"><meta name="twitter:site" content="@zipfizz"><meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Zipfizz Vitamins - Energy - Hydration">
<meta name="twitter:description" content="Zipfizz provides a healthy alternative to sports and energy drinks with peak mental alertness and zero negative side effects. It’s not a Sports Drink - It’s a Lifestyle Drink!"><script type="application/ld+json">
[
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "Zipfizz Corp",
"url": "https:\/\/zipfizz.com"

},
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Zipfizz Corp",
"url": "https:\/\/zipfizz.com"

}
]
</script>

<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "https://zipfizz.com"

}]
}

Edited by user Wednesday, January 24, 2024 6:42:26 AM(UTC)  | Reason: Not specified

shaharyar  
#9 Posted : Wednesday, January 24, 2024 6:57:49 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
Thanks for the details you have shared but let me admit that I don't have any expertise on Google Tag Manager and how it works.
I was just trying to help you with AC related configuration issues if there were any.

Regards

ray22901031  
#10 Posted : Wednesday, January 24, 2024 7:04:25 AM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 15 time(s) in 15 post(s)
I will get one of my developers to look into this, but I find it odd that AbleCommerce, a modern web development tool, may not support Google Tag Manager. This would be a major inconvenience to people using this platform.

My competitor, who is properly using the Google schemas, is getting a better ranking because of this, so obviously, I'm not happy. Google is now putting tremendous importance on structured data.

I will report back once I get more information from my developer.

Many thanks
Katie S  
#11 Posted : Wednesday, January 24, 2024 12:08:59 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 467

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Hi Ray,

We are going to put in a feature request to implement Google Tag Manager in a future release. Thank you for bringing this to our attention. I was looking into this a few months ago and just never found the time to get it implemented.
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
ray22901031  
#12 Posted : Wednesday, January 24, 2024 12:15:36 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 15 time(s) in 15 post(s)
Hi Katie,

Your timing is excellent. I'm back into SEO mode, so I'll be checking some other things and letting you know.

On another note:
One of the main issues I'm having after verifying the HTML is that AbleCommerce likes to add an "/>" tag to things, which technically should just be an ending tag of ">".

Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.
From line 24, column 1; to line 24, column 96
sheet" />↩<link href="/Themes/MRM-Default-Wide-2023/Content/favicon.ico" rel="icon" type="image/x-icon" />↩<link

I have quite a lot of those.

Thanks

Edited by user Wednesday, January 24, 2024 12:16:13 PM(UTC)  | Reason: Not specified

ray22901031  
#13 Posted : Wednesday, January 24, 2024 2:30:11 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 15 time(s) in 15 post(s)
Google Tag Manager is now working with AbleCommerce.

The code is in the right place and my malware which was interacting with the code has been disabled.

All is fine.
Katie S  
#14 Posted : Thursday, February 15, 2024 2:48:03 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 467

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Hi Ray,

I'm wondering how your migration to GTM went? We are adding this as a new feature in the next release. Hopefully, that should be ready by end of next month.

I'm working on our live site and following this guide which is proving helpful.

https://www.analyticsman...r-Beginners-with-GA4.pdf

In the migration section (pg 31), the author recommends using GA4 and GTM together until the transition is confirmed to be working. The question that has come up here is whether the eCommerce tracking is included by default in GA4 when configured via https://tagmanager.google.com/

I have "Enhanced Measurement" enabled in the Events section, but I'm not sure if that is covering ecommerce tracking. I'll dig deeper into other documentation materials, but I thought you might already know from your experience.

If you have any other thoughts about migration from GA4 to GTM, please let me know. This is going to be a great feature and I can't wait to learn more!

Edited by user Thursday, February 15, 2024 2:49:49 PM(UTC)  | Reason: fixed URL

Thanks for your support!

Katie
Secure eCommerce Software and Hosting
ray22901031  
#15 Posted : Thursday, February 15, 2024 3:17:29 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 15 time(s) in 15 post(s)
Hi Katie,

All is working perfectly, and I hard-coded it into the view files. And everything is in the proper position as recommended by Google. However, I was also concerned about whether the e-commerce tracking would work under GTM, so I did not create a tag for that and kept using the one inside AbleCommerce. I guess for now, you can just leave the GA4 input inside AbleCommerce and let the shop owner determined the best way to proceed. If the owner decides to create a tag for the GA4 inside GTM, he can just not fill in the blanks. I would advise, though, a warning at that level that states that it is possible to have GA4 running twice if you're not careful.

Hope this helps.
Katie S  
#16 Posted : Thursday, February 15, 2024 3:42:11 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 467

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Thanks for the info. Ray,

I'll do some more research and testing and let you know what I find on eCommerce tracking. Ideally, it would be better to use only GTM.

Have a great weekend!
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
ray22901031  
#17 Posted : Thursday, February 15, 2024 4:03:23 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 15 time(s) in 15 post(s)
I agree; however, you need to know how GTM works, and many business owners may not have the skill set to implement it correctly. Also, troubleshooting requires going beyond the view source, which, in many instances, does not display GTM Tags. I would personally keep your GA4 because it's easier to set up than GTM and will appear when viewing the source.

Please remember that once you start going down this route, and a user starts to implement data schemas, they can conflict with the ones already built into AbleCommerce, a good example of this would be the product schema that's already built into AbleCommerce. Perhaps under the website setting in a future release, you can provide the user the ability to turn off the built-in schemas, because a user might decide to use enhance capability provided under GTM.

Schema examples would include, but not limited to, category schemas, bread-crumbs schema, organization schema, and a few others. We currently have the organization schema up and running and are now working on setting up a breadcrumb schema.

Hope this helps.
Katie S  
#18 Posted : Thursday, February 15, 2024 5:14:18 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 467

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Yes, you make a very good point. I'll relay the info to our team and make sure it's clear to merchants. I agree that GTM is a powerful tool, and it might be a bit much for some people to learn all the ins and outs, plus any conflicts that could arise.

The dev team was asking me about the built-in schemas. Having the ability to turn this off is another good idea which I will bring up as well.

Thanks for the great feedback - we really appreciate it.
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.