Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 General
 Off topic, News and Updates
 Anyone Using Google Tag Manager (GTM)?
Author « Topic »  

pauld
Advanced Member

USA
486 Posts

Posted - 12/02/2023 :  14:07:53  
We've been using Google Tag Manager (GTM) because it allows us to use one block of code that supports Google Analytics (GA4), Microsoft Advertising and Google Customer Reviews.

This is in place of the GA4 support that's now integrated with the ECT shopping cart.

However, after some brilliant troubleshooting by Phil at Bettapages, it was determined that GTM was interfering with the Fancybox JavaScript code on our site, resulting in intermittent problems that were ugly, confusing to users, and difficult to track down.

Following Phil's advice we were able to strip out enough GTM tags and triggers to speed it up to the point where our pages load normally - but it's a concern that these ugly surprises could return should Google force another change in our GTM configuration (as they did this year with GA4).

Worse yet, the GTM preview feature didn't display any of those errors; we had to deploy each GTM change to our production site and eventually discover problems that visitors were seeing.

Out of fear of this sort of issue repeating, it's tempting to remove GTM and replace it with all those different tracking scripts.

Is anyone else still using GTM? Any issues? Do you plan to keep it?

Edited by - pauld on 12/02/2023 14:09:20

dbdave
ECT Moderator

USA
10406 Posts

Posted - 12/03/2023 :  07:34:40  
Hi Paul, I too use (and a big fan of) fancybox.
I also use the the GTM.
No problems here at all.

Do you know what version of fancybox you have?

Thanks,
David

pauld
Advanced Member

USA
486 Posts

Posted - 12/03/2023 :  07:50:12  
Dave, we're running the 2013 version of Fancybox v2.1.4.

Last week, when we first discovered the issue, we bought a new Fancybox v5 license to try.

However, changing to v5 looks pretty complex - presumably we'd need to update lots of headers and libraries, along with hundreds of v2 links on our site that currently look like this:

<a class="various fancybox.iframe" href="info/information-box.html" >link text</a>

Am I right that the v2 iframe link above won't work with v5?

dbdave
ECT Moderator

USA
10406 Posts

Posted - 12/03/2023 :  08:32:59  
Hi Paul, it looks like I am on 2.5 of fancybox.
I think I did upgrade to that version from an earlier (1.x) version.
Honestly I may not have looked at newer versions in a while, but I did recall updating once.

Below are a few links I use - My iframe links looks like this -
<button class="button fancybox fancybox.iframe" href="somepage.asp?prod=xyz">link text</button>

I'm not sure what the "various" does in your version.

I found another link I use and that's inline
<a class="fancybox" href="#inline-when">
<div class="navinnerinner">
<img style="max-height:85px; padding:2px;" src="images/some-image.jpg"/><br/>
</div><button class="button navbutntxt navbutn2">When will I get it?</button>
</a>


Of course I'm sure you understand the various ways to use fancybox.
FYI - You can easily use it for your tooltips in place of the native ect tooltips.

I also recall having problems at some point with fancybox where I tried aa few different versions of jquery and right now I am using v3.3.1
I would see what version you have as that may sort your issues out.
Lastly, the order of the fancybox and GT4 calls may play a factor and I can share how mine are setup, or you can view source on my pages to see that.

Thanks,
David

pauld
Advanced Member

USA
486 Posts

Posted - 12/03/2023 :  08:42:56  
Thanks so much for this, Dave!
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000