Показаны сообщения с ярлыком ga-gtm. Показать все сообщения
Показаны сообщения с ярлыком ga-gtm. Показать все сообщения

четверг, 30 мая 2024 г.

Some words about server container GTM

 https://business.reddithelp.com/helpcenter/s/article/Set-Up-a-Web-Container

With a client-side GTM setup, you can track tags in your website's code. Plus, it makes it simpler to handle consent, so it’s easier to follow the rules and respect what users want with their data.

However, potential limitations like browser-based privacy measures or ad-blocking extensions can impact data collection accuracy. Server-side tagging can potentially mitigate client-side measurement blocking.

Learn how to integrate your web container into the server container - https://business.reddithelp.com/helpcenter/s/article/Set-Up-a-Server-Container

A server container reduces inaccuracies by avoiding client-side 3rd-party blocking, like browser-based privacy measures or ad-blocking extensions. On top of that, it lets you establish consent management mechanisms, ensuring your data collection practices align with regulatory requirements and user preferences.

While setting up a server GTM container improves the reliability and consistency of conversion metrics, the setup process can be a little complicated. We suggest reaching out to developers if you're unsure and giving the setup a good test run to ensure it’s working as best as it can.

https://business.reddithelp.com/helpcenter/s/article/event-deduplication

Replace some href with GTM example

<script>

var chnglinks = document.querySelectorAll('a[href="/"]');

var currentUrl = window.location.href;

chnglinks.forEach(function(link){

    link.setAttribute("href", currentUrl);

});

</script>

среда, 7 февраля 2024 г.

Key components of GTM

  • Tags - are pieces of code that you added to GTM and then based on your conditions those tags will fire. Tags can be tracking codes, they might be codes that change the color of the button, they might be some other codes (What do you want to do?)
  • Triggers - you need to decide when those tags to fire, that's where triggers are needed. A trigger is a set of conditions that must be met and then if that happens the tag that is linked to a trigger is activated (When do you want to do it?)
  • Variables - (What when or how exactly?)

четверг, 25 января 2024 г.

GA4 Intra

GA Universal:
Разнообразные хиты или события такие как просмотр страницы, какое то событие, event, scroll, транзакции. Хиты объединялись в сеансы, которые объединялись в пользователей. Это была хорошая схема для 2005г.

GA4 (app+web):
user - event это основная структура, сеансы есть но их их вроде как и нет в основной структуре данных по крайней мере (они вычисляются т.к. нужно считать эффективность рекламных кампаний).
Ранее просмотр страницы существовал как бы отдельно, сейчас просмотр страницы это такое же действие как проскроллил страницу, добавил товар в корзину, запустил просмотр видео

в целом структура сильно упростилась есть пользователь и есть их события
для идентификации пользователя по умолчанию используется UserId и только если его нет то используется Client/Device Id

https://support.google.com/analytics/?hl=en

Базовые метрики GA4
  • Engaged sessions - сеансы со взаимодействием
  • Engagement rate - доля вовлеченных сеансов
  • Engaged sessions per user - сеансов со взаимодействием на пользователя
  • Average engagement time - среднее время взаимодействия
  • Events per session - событий на сеанс