[英]Is it possible to track sales conversion with only Google Tag Manager and Google Analytics? (no Google Ads access)
I am working for a client to set up Google Ecommerce data for their Google Analytics.我正在为客户工作,为他们的 Google Analytics 设置 Google 电子商务数据。 I have done this once before on another site where I used a Google Ads conversion placed inside of a Google Tag that was placed on the site.
我之前在另一个网站上做过一次,我使用了放置在网站上的 Google 标记内的 Google Ads 转换。 However, for this client, we don't have access to the Google Ads account;
但是,对于该客户,我们无权访问 Google Ads 帐户; we only have access to the Google Analytics and Google Tag Manager.
我们只能访问 Google Analytics 和 Google Tag Manager。 Is there a way to set up a Google Tag that will capture the data we need from their sales?
有没有办法设置一个谷歌标签,从他们的销售中捕获我们需要的数据?
I have attempted a few different methods I've seen on the other forums but after waiting a day in between them being set, we still have no data coming in.我尝试了一些我在其他论坛上看到的不同方法,但是在它们之间设置了一天之后,我们仍然没有数据进入。
Details: We are using Magento 1.9 for the site and have access to the files to make modifications as needed to our custom theme.详细信息:我们正在为该站点使用 Magento 1.9,并且可以访问文件以根据需要对我们的自定义主题进行修改。 The order page ends on a success page for the user that uses the URL ending portion as 'checkout/onepage/success'.
对于使用 URL 结尾部分作为“结帐/单页/成功”的用户,订单页面在成功页面上结束。
Yes you can see the data you need by using Google Analytics API for example, if you want to check how many transactions between two dates uses this code:是的,您可以使用 Google Analytics API 查看您需要的数据,例如,如果您想检查两个日期之间有多少交易使用此代码:
Reporting API V3:报告 API V3:
https://www.googleapis.com/analytics/v3/data/ga?ids={ViewId}&start-date={StartDate}&end-date={EndDate}&metrics=ga:transactions
Reporting API V4:报告 API V4:
{
"reportRequests": [
{
"viewId": "XXXXXXX",
"dateRanges": [
{
"startDate": "2021-01-01",
"endDate": "2021-03-01"
}
],
"metrics": [
{
"expression": "ga:transactions"
}
]
}
]
}
Check this URL for all Dimensions & Metrics: https://ga-dev-tools.appspot.com/dimensions-metrics-explorer/检查此 URL 的所有尺寸和指标: https://ga-dev-tools.appspot.com/dimensions-metrics-explorer/
For those that come across this issue you can do it with the following:对于遇到此问题的人,您可以使用以下方法进行操作:
Link from Google that describes the process for set up: https://support.google.com/tagmanager/answer/6107169来自 Google 的描述设置过程的链接: https://support.google.com/tagmanager/answer/6107169
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.