Extract part of the URL with Google Tag Manager (2 options)

preview_player
Показать описание
Learn how to extract part of the URL with Google Tag Manager. In this video, I will show you two examples. The first one is with the URL variable in GTM and the second one is using a little custom JavaScript code.

=== LINKS ===

✭ GET THE CODE FROM HERE: Article - Extract part of the page URL with GTM

⭐⭐ Google Analytics 4 course ⭐⭐

📕 Free e-book: Getting Started with Google Analytics 4

📕 Free e-book: 8-step migration to Google Analytics 4

✭ Video: how to install Google Analytics 4

✭ Google Tag and Event Settings Variables in Google Tag Manager

=== CONNECT WITH JULIUS & ANALYTICS MANIA ===

#googleanalytics #googleanalytics4 #googletagmanager #elementor
Рекомендации по теме
Комментарии
Автор

Really appreciate your time to share this video

atulsharma
Автор

Mine keep coming back undefined... is there some sort of option to wait - when its a react app with URL params?

cameronaudet
Автор

After getting this data into GA4 can i access (for example) the demographics of who clicked the button?

VITORB
Автор

Can one also do the second option with the use of a Lookup or RegEx table variable that use URL fragment custom variables to define the various content groups instead of using JavaScript?

Zita
Автор

Is there a possibility of doing a guide on A/B testing with GTM/GA4 since the new updates?

phoenixforce
Автор

Is there any way to know gclid and timing of the click with the help of GTM and GA4??

freedom-online-
Автор

hi Julius, is there anyway you can make an update video on how to install pinterest tag with gtm? as the last one you did was 21 years ago and there is nothing really up to date with proper explanation like yours, thanks.

mhozayien
welcome to shbcf.ru