简体   繁体   English

如何在Data Studio报表中将Google Analytics(分析)自定义维度设置为维度过滤器?

[英]How do I set up a Google Analytics Custom Dimension as a dimension filter in Data Studio report?

Background 背景

I've created a Data Studio report that looks to a Google Analytics property. 我创建了一个Data Studio报告,该报告查找了Google Analytics(分析)媒体资源。 In this Google Analytics property I've created custom dimensions which are being populated as I need. 在此Google Analytics(分析)媒体资源中,我创建了自定义维度,并根据需要填充这些维度。

I want to set up a dimension filter on the report in Data Studio but CustomDimension1, etc isn't showing as a field in the list. 我想在Data Studio中的报表上设置维度过滤器,但CustomDimension1等未在列表中显示为字段。

What I've done so far 到目前为止我做了什么

I've looked to see if the field exists as a filter dimension. 我一直在查看该字段是否作为过滤器维度存在。 I've tried creating a new field but can't see what the formula for this would be. 我尝试创建一个新字段,但看不到它的公式是什么。

Data Studio维度字段

I've read the docs behind the filter control here: https://support.google.com/datastudio/answer/6312144?visit_id=637020676101086398-168687373&rd=1 我在这里阅读了过滤器控件后面的文档: https : //support.google.com/datastudio/answer/6312144?visit_id=637020676101086398-168687373&rd=1

I've watched a number of videos to try and find the answer. 我已经看了很多视频,试图找到答案。

I've looked on stack overflow but all the questions relate more to setting up custom dimensions in Google Analytics rather than pulling this information through to Data Studio. 我已经看过堆栈溢出,但是所有问题都更多地与在Google Analytics(分析)中设置自定义维度有关,而不是将这些信息传递给Data Studio。

I've searched Google and can see this question being asked before on website www.en.advertisercommunity.com but the links in the Google search results just take me to the Data Studio support site: https://support.google.com/datastudio/community?hl=en 我已经搜索过Google,并且可以在www.en.advertisercommunity.com上看到此问题,但Google搜索结果中的链接仅带我到Data Studio支持网站: https : //support.google.com/ datastudio / community?hl = zh-CN

Google搜寻结果

When I search using the page title of the advertisercommunity.com pages as keywords on the Data Studio page it doesn't come back. 当我使用Advertisercommunity.com页面的页面标题作为Data Studio页面上的关键字进行搜索时,它不会再出现。 It's as though this question was never asked. 好像从来没有问过这个问题。 Neither does anything relevant to my question. 与我的问题无关。

Question

Has anyone achieved this by creating a new field or by using another mechanism I'm not aware of? 是否有人通过创建新字段或使用我不知道的其他机制来实现这一目标?

Okay, the issue I had was down to timings. 好的,我遇到的问题取决于时机。

I'd created the Data Studio report first and then added the custom dimensions in Google Analytics after the report had been created. 我先创建了Data Studio报表,然后在创建报表后在Google Analytics(分析)中添加了自定义维度。

After running through the data source area, I found the refresh fields button which then detected my GA custom dimensions and added them to the list of fields. 遍历数据源区域后,我找到了“刷新字段”按钮,该按钮随后检测到我的GA自定义维度并将其添加到字段列表中。 I was then able to select the custom dimension as a field on the filter control! 然后,我可以选择自定义维度作为过滤器控件上的字段!

Further info, the GA custom dimensions pull down by their actual GA custom dimension name rather than being Customdimension1, Customdimension2 that I was looking for. 进一步的信息是,GA自定义维度按其实际的GA自定义维度名称下拉,而不是我要查找的Customdimension1,Customdimension2。

Hope this helps someone else! 希望这对别人有帮助!

数据源选项卡

刷新字段

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM