Skip to content

Instantly share code, notes, and snippets.

View luratic-devs's full-sized avatar
🥰
Very happy

Luratic luratic-devs

🥰
Very happy
View GitHub Profile
@luratic-devs
luratic-devs / List of social networks Google Analytics.md
Created November 28, 2021 12:21
List of social networks Google Analytics
Social Network Example Domain Names
Facebook facebook.com
Instagram instagram.com
Pinterest pinterest.com
VKontakte vkontakte.com
Twitter twitter.com
Sina Weibo sina weibo.com
Naver naver.com
YouTube youtube.com
@luratic-devs
luratic-devs / GA4 - Dimensions & Metrics Cheatsheet - Changelog.md
Last active June 19, 2024 20:53
GA4 - Dimensions & Metrics Cheatsheet - Changelog.md
@luratic-devs
luratic-devs / ga4breakdownbyalldimension.js
Created August 24, 2022 19:42
Desglosa los informes de GA4 por cualquier dimensión
javascript: (()=>{
var url = window.location.href;
var message = 'Introduce una dimensión';
var result = window.prompt(message);
result = JSON.stringify(result);
if (url.indexOf('_r.explorerCard..seldim%3D%5B.*%26') < -1) {
var regex = new RegExp('_r.explorerCard..seldim%3D%5B.*%26');
url = url.replace(regex, '_r.explorerCard..seldim%3D%5B"eventName",' + result + '%5D%26');
@luratic-devs
luratic-devs / ConsoleLog.tpl
Last active June 25, 2023 20:27
This is a custom Google Tag Manager (GTM) template that allows you to print a message to the console using JavaScript. It can be useful for debugging
___TERMS_OF_SERVICE___
By creating or modifying this file you agree to Google Tag Manager's Community
Template Gallery Developer Terms of Service available at
https://developers.google.com/tag-manager/gallery-tos (or such other URL as
Google may provide), as modified from time to time.
___INFO___
@luratic-devs
luratic-devs / .js
Created July 6, 2023 19:43
Máster Webpositer - Ejemplos dataLayer Universal Analytics
//Código DataLayer productClick
dataLayer.push({
"event": "productClick",
"ecommerce": {
"click": {
"actionField": {
"list": "shirts you may like"
},
"products": [{
"id": "9bdd2",