google-analytics - How do I stop these self-referrals and get accurate referrals from our cross-domain eCommerce data?
问题描述
Basically, I work for a theater and we send patrons to our primary website (we'll call this theater.org) to look at events and choose what tickets to buy and when they go to purchase tickets, we have put links in our primary webpages to our ticketing platform (we'll call this tickets.com).
Now, I have set up cross-domain tracking so that I can see people once they get onto tickets.com and see if they purchase a ticket. Great! But I can't really see where those people are specifically coming from because the referral source is always theater.org. I would like to see the original referral to theater.org that led to the purchase on tickets.com.
Here's what I've tried:
I've added the allowLinker (true) and the cookieDomain (auto) to my cross-domain Google TagManager
I have added both domains to the Referral Inclusion List (now I just get "direct" as the source for my eCommerce transactions instead of theater.org )
Additional info:
I have used the Analytics debugger console to see that the user-id changes as I move from one of my domains to the other, so that's definitely the primary issue
I see correct referrals on my Page Views for the theater.org , but not tickets.com
解决方案
您需要确保tickets.com 和theater.org 都使用相同的Google Analytics(分析)媒体资源ID (UA-XXXXXXX-X),并在GTM 容器中为两个域配置了跨域跟踪。
然后,您可以查看获取报告以了解人们如何到达您的网站或“上一页”等维度,或按访问特定页面的会话细分您的目标。
推荐阅读
- python - 如何在 Databricks (Python) 上运行 ETL 管道
- node.js - GitLab API 正在返回随机不相关的项目
- javascript - 在 angular 的自定义指令中访问 CSS 变量的最佳方法
- amazon-web-services - Ubuntu Aws 用户会话停止
- ios - SecureField 焦点
- java - 嵌套的maven多模块spring boot项目
- ios - iOS 13.4 是否破坏了 GoogleWebRTC 的视频聊天功能?
- c# - 更改布尔变量值
- github - 如何从 API 捕获项目的最新 GitHub 版本?
- reactjs - 我如何在反应 js 中保持滚动位置和状态的同时回到历史记录