Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以下の値を段階的に GTM dataLayer にプッシュする方法を教えてください (私は開発者ではありません)。
document.getElementById("mytdId").innerText
どうもありがとう。
わかりました、どの方法が機能するかを見つけました。ここにスニペットがあります:
Hi function (){ var topMenu = document.getElementById("dm1m0i1tdT").innerText; return(topMenu); }
構文を改善するために、配列を提案しますが、この場合、ここでそれを処理する方法がわかりません。なにか提案を ?