site and user analytics

Google alternatives

google analytics (GA)

most popular one is google analytics

integration is easy, streamlined. you mostly just paste a script into the site.

Pasted image 20241030181156.png

google search console

google tag manager (GTM)

marketing tracking. mainly used by marketers to know from which campaign user comes from. track user behaviour.

previously if you ran facebook ad, you would need to add a 'pixel' to your site to track if user came from a specific facebook ad. similarly if you ran a bing ads campaign you would need to add the custom code on all your pages. Tag manager lets you add a single script and the custom code is imported once via the tag manager script. everything is handled on the tag manager GUI. all types of tags and triggers.

even if you dont plan to run ads it is still useful to collect users data by adding the google ads tag and the facebook ads pixel(tag) in your site bc later on you can run a remarketing campaign, and run ads to all the ppl the visited your site.

un trigger funciona para varios tags.
un trigger activa una accion, puede ser presionar un boton

un tag puede ser de facebook, pinterest, google ads, bing ads,...
tag de GA envia un evento a GA

dif between GTM and GA

Pasted image 20241030172633.png
GTM events vs GA events
tag manager events are certain times at which tags can fire.
like when page loads, or code container loads.
a GA event is a data entry event

so a link click event on GTM can send a GA data via a 'menu_link_click' GA event

some events in GA can be marked as a 'conversion'. just semantic meaning, a 'more important event'