开发者

Getting Google Analytic Entrance Sources using Gattica Ruby Gem

I am trying to get th开发者_如何学运维e entrance source from Google Analytic by using Gattica Gem, but I couldn't find any document on the internet. Have anyone met with this issue before? Please give me light. Thank you all so much.


I have found this as my solution. Thank you all

results = @analytic.get({
            :start_date => '2009-01-01',
            :end_date => date[:end_date],
            :dimensions => ['year', "source"],
            :metrics => ['visits']
        })


Have a look at this, link It might solve most of your queries

https://github.com/chrisle/gattica

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜