我可以将Google趋势图添加到Google Data Studio吗?

时间:2017-03-06 18:33:39

标签: google-trends google-data-studio

我想将特定搜索字词的Google趋势图表添加到我的Google Data Studio报告中,但趋势不是数据源列表中的选项。我无法找到嵌入JavaScript的选项。是否可以在Data Studio中向报表添加趋势图表?谢谢!

4 个答案:

答案 0 :(得分:0)

您可以使用具有Google趋势(免费)数据源的supermetrics.com然后将常用工作表导入您的信息中心,唯一的问题是您无法更改日期范围,这意味着它只能“单向”

答案 1 :(得分:0)

很遗憾,Google趋势数据连接器已停止在Supermetrics中工作。他们使用了最近出现故障的非官方Google API。

来自Google趋势连接的Supermetrics错误消息

答案 2 :(得分:0)

I am posting this workaround as it seems no similar solution has been provided since.

You can actually do this, using a small workaround:

  1. Create the graph you want to embed using Google Trends.

  2. Click the "embed" icon in the upper right corner of the graph, and copy the JS-code (for either desktop or mobile device)

  3. Create a simple empty HTML-file using notepad or similar text editor. (including , , as per common standard). Place it in an empty folder on your hard drive.

  4. Paste the Google Trends-embed code into the section of your HTML-file.

  5. Go to https://app.netlify.com/drop and upload the whole folder (including your .html-file). Copy the direct link provided by Netlify. (note: Any other form of public hosting should work fine, this is just my personal preference)

  6. In Google Data Studio, click "URL embed" and paste your direct link.

  7. Voila! (Note: As this is a direct graph link and not a data feed, it, unfortunately, won't let you filter or change settings. but if configured wisely before copying the embed code, should do the trick for any time range, year-on-year or similar needs.)

Hope this helps someone :)

答案 3 :(得分:0)

我最近创建了自己的Google趋势连接器。该工作正在进行中,将来可能会发生很大变化,但是您可以在此处进行尝试:https://datastudio.google.com/datasources/create?connectorId=AKfycbyq_MzbMV2pCbd4nqjskcpKRLgVicRB11UgJ-rqoTZ-xn453yYZO_Tgb0AqjMc_BgV7 当提示您输入长度超过3个字符的密钥