JSFiddle - React, Tailwind, and code Playground

by Luis Martin

JavaScript

let obj = {
  "ga_eventAction": "eventAction",
  "ga_eventCategory": "eventCategory",
  "ga_eventLabel": "eventLabel",
  "ga_eventValue": "eventValue",
  "test": "dimension1",
  "nombre_pagina": "dimension11",
  "social_name": "dimension16",
  "social_times": "metric9",
  "search_str": "dimension15",
  "search_times": "metric8",
  "video_name": "dimension12",
  "video_times": "metric7",
  "subscribed": "dimension13",
  "contacto": "dimension14",
  "wishlist_times": "metric6",
  "productName": "dimension1"
}
console.log(typeof obj)

let obj2 = obj.map( (k,l) => console.log(k, l))

console.log(obj2)