Trying to understanding advanced Google Tag Manager setup with custom tags and variables

I’m a marketing professional who has been doing basic tagging and analytics for clients. I’ve encountered an account set up by someone with extensive development/analytics knowledge, and I’m struggling to understand some of the custom tags and variables. Specifically:

  1. What is a ‘GTAG Get API – Client ID’ tag? How does it differ from a standard Client ID tag?
  2. There’s a tag called ‘GTAG Client ID’ that seems to use a custom template. What might this be doing?
  3. For conversion tracking, there’s a tag named ‘onboard step tracking_2024’ with a variable containing JavaScript. What could be the purpose of this more advanced setup?

I may need to replicate these tags for other clients, but I’m unfamiliar with these more complex configurations. Can anyone with experience in advanced GTM setups explain what these tags might be doing and why they might be used instead of standard implementations?
Any insights or explanations would be greatly appreciated. Thanks!

I have played around in GTM and preview mode, as well as inspecting the page. That is how I have found the detail I have. This page also experiences a below normal bounce rate at 3% on average, so I know something else might be off. It is hard for me to decipher with all of this javascript involved.

I also found that A GTAG Get API – Client ID tag in Google Tag Manager (GTM) is a custom tag template that allows you to retrieve the Google Analytics client ID and other fields using the gtag.js API. It’s a custom tag template created by Simo Ahava that can be added to your GTM workspace from the template gallery. HOWEVER, this doesn’t help me much, just gives origination context.

See my preview/debug link here: https://tagassistant.google.com/#/?id=GTM-NKPL4LG&url=https%3A%2F%2Fapply.zynlobank.com%2F%3F_ga%3D2.228588379.717648131.1726682440-1476769114.1724684401%23%2Fintake%2Fobject%2Frao%3Ffield%255Bstep%255D%3D2%26field%255Breferral%255D%3DTWO&source=TAG_MANAGER&gtm_auth=KfdaAJLWOmUYMVQgwn07Tw&gtm_preview=env-3

New contributor

Sophie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

  1. Judging from the name, that’s not a tag but a variable. And from the name of it, it seems like it depends on Simo’s template that uses gtag API to pull its current state variables and dump them into the DL. The variable then picks the client id from there. When you say the standard client id, I don’t know what you mean. I just checked my GTM and there’s no such variable. Or tag.

  2. Open the template, see what it does. It’s all open source.

  3. More advanced? Using JS is pretty normal in a TMS. A martech developer has to be comfy with JS. At least the basic things. Again, hard to tell without seeing the code, but there are many valid reasons to have JS in a TMS, especially when there is not enough front-end resources to own all the data molding logic on their side.

To debug anomalous bounce rate, you don’t need go to JS. You just need to know how bounce rate works and how to look at the GA events firing. You install an extension or go to network and look at your ‘collect’ calls. In them, you need to look at the interactional calls. The property in the body of the request for them would be ni. If there are interactional hits after the initial pageview, the visit won’t bounce.

In conclusion: you need to know JS to do more advanced TMS setups. It’s very rare that a TMS setup won’t require JS knowledge. And that would normally be a very unreliable or simplistic setup.

It’s possible to create reliable and complex TMS setups with no code, but it’s rare. Requires quite an effort from everyone involved: PMs, scrum teams, analytics engineers. That’s usually not the case even though many think that’s how it should be done.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật