본문 바로가기

English/Some Dev Stuff

[dataLayer] Implementing GA4 for E-commerce: A Guide for iframe-Structured Website The other day, I ran into someone who was a senior during my college days. It was a rather unusual encounter, taking place on the bus I was taking for the first time. We exchanged business cards, and I learned that he is currently a team leader at a company that was once a client I worked with (the first client in the company I'm currently working for). He mentioned that the developer I worked .. 더보기
[Firebase Analytics] Dealing with Issues in Items Array during Ecommerce Implementation When implementing Ecommerce using Firebase Analytics, handling issues related to the items array becomes crucial, especially when working within a WebView environment. Ecommerce Data Layer Structure The typical Ecommerce data layer has the following structure: dataLayer.push({ ecommerce: null }); // Clear the previous ecommerce object. dataLayer.push({ event: "view_item", ecommerce: { currency: .. 더보기
[Firebase Analytics] Setting up setUserId in a WebView This guide is designed for rare situations where setting the userId directly in the native app is impractical. If such a case arises, providing this guide to the client might prove helpful. Implementing Javascript Handler // [START log_event] function logEvent(name, params) { if (!name) { return; } if (window.AnalyticsWebInterface) { // Call Android interface window.AnalyticsWebInterface.logEven.. 더보기
[Adobe DSP] Automatically send Adobe TubeMogul (DSP) data to mail using API I have automated sending data reports every Monday using Adobe DSP (TubeMogul) data. While Adobe DSP has a built-in report email feature, I received specific requirements for extracting and formatting data that the default reports couldn't meet. As a result, I embarked on a personal project to fulfill the requests from the Campaign team. Luckily, I obtained API information that wasn't readily av.. 더보기