如何在自定义 CMS 中嵌入或重新创建 Google Analytics Graph [英] How to embed or recreate a Google Analytics Graph in a custom CMS
问题描述
我想知道如何使用 Google Analytics(可能使用 api)创建图表,但我不确定是否已经有关于如何执行此操作的插件或教程.Google.com 上的 Javascript API 参考很糟糕.
I would like to know how to create a graph with Google Analytics (maybe using the api), but I'm unsure if there is already a plugin or tutorial on how to do this. The Javascript API reference at Google.com sucks.
关于如何创建折线图(画布元素?)的任何参考也很棒.
Also any reference to how to create a line graph (canvas element?) would be great too.
谢谢!
推荐答案
我从 https://developers.google.com/chart/interactive/docs 并发现它很清楚.
I learned to use the Google Visualization API (the one used by analytics, and the one I believe you refer to) from the examples at https://developers.google.com/chart/interactive/docs and found it quite clear.
您也可以使用图库中不同图表的示例:http://code.google.com/apis/visualization/documentation/gallery.html
You can use examples of different graphs from the Gallery as well: http://code.google.com/apis/visualization/documentation/gallery.html
这篇关于如何在自定义 CMS 中嵌入或重新创建 Google Analytics Graph的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!