最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

code - How can I make a window.dataLayer.push for the Authors name to Google Tag Manager

programmeradmin0浏览0评论

I´m new im programing and get a Youtube video explaining how to make a covertion to calculate the amount of views each of authors on the Wordpress website. My Problem is, how can I get the vatiable that I should put on the code:

window.dataLayer = window.dataLayer || [];
window.dataLayer.push ({
    'author' : 'John Doe'
})

John Doe = The variable to get the Name or UserId from the Author.

Can Anyone HELP this desperated soul

Thanks Rodrigo Moragas

发布评论

评论列表(0)

  1. 暂无评论