如何在自定义CMS中嵌入或重新创建Google Analytics图表 [英] How to embed or recreate a Google Analytics Graph in a custom CMS

查看:96
本文介绍了如何在自定义CMS中嵌入或重新创建Google Analytics图表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何使用Google Analytics创建图表(可能使用api),但我不确定是否已有插件或教程介绍如何执行此操作。 Google.com上的JavaScript API引用很糟糕。



另外,如何创建线条图(canvas元素?)的任何参考都会很棒。 b
$ b

谢谢!

解决方案

我学会了使用Google Visualization API分析,以及我相信您参考的那个)来自 https://developers.google。 com / chart / interactive / docs ,并发现它非常清晰。



您也可以使用图库中不同图形的示例: http://code.google.com/apis/visualization/documentation/gallery.html


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.

Thanks!

解决方案

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.

You can use examples of different graphs from the Gallery as well: http://code.google.com/apis/visualization/documentation/gallery.html

这篇关于如何在自定义CMS中嵌入或重新创建Google Analytics图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆