English 中文(简体)
在 GA4 生成收入中查看项目事件吗?
原标题:Can the view_item Event in GA4 Generate Revenue?

我页面上有一个 < 强度 > 视图项目 < /强度 > 事件, 我想知道此事件是否会产生收入数额。 根据数据层的结构, 它包括了 < 强度 > 货币 < /强度 > 和 < 强度 > 值 < /强度 >, 但在 GA4 报告中, 它没有显示收入。 我重复检查了数据层对象内的所有值, 并核实了它们在数值和格式上是否正确。 此外, 我使用标记助理检查了此事件, 它正在触发 。

// VIEW ITEM DATALAYER
            dataLayer.push({ ecommerce: null });
            dataLayer.push({
                event: "view_item",
                ecommerce: {
                    currency: "PHP",
                    value: parseFloat(amount),
                    items: [
                        {
                            item_id: drupalSettings.app.base_url,
                            item_name: drupalSettings.app.campaign_name,
                            item_category: paymentScheme, // One time or monthly
                            price: parseFloat(amount),
                            quantity: 1
                        }
                    ]
                }
            });

问题回答




相关问题
How to divide a search query into sub queries?

I am just wondering if there is an algorithm that can divide a user input query for a search engine into a set of sub queries. for example if the entered query is "plcae to stay and eat" the sub ...

Is there a lighter version of Google Analytics for Flash

40k of compiled code seems like a lot to me to be making some straightforward flash-javascript calls and makes GA unsuitable for banner ad work as well. Does anyone know if there is a lite version ...

PHP GET question - calling from a POST call

I have a quick question i hope you guys can answer, i ve got a search system that uses POST to do searches, now i want to track queries using Google Analytics but it requires using GET url parameters ...

Google Analytics to track FireFox extension use

I m developing a Firefox extension and would like to track its use with google analytics, but I can t get it working. I ve tried manually calling a function from ga.js, but that didn t work for some ...

Google Analytics _trackEvent troubles

I m having some noob troubles with Google Analytics and _trackEvent. Using it seems straight forward in the documentation, but I can t get this simple example to work. The call to _trackEvent fails ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

热门标签