Questions tagged [garb-gem]
19 questions
0
votes
1 answer
Pushing custom Google Analytics events in garb
I simply want to be able to push custom events similar to how you can in the JS API for google analytics, what would be the corresponding GARB code for:
_gaq.push(['_trackEvent', 'Videos', 'Play', 'Gone With the Wind']);
This comes from the Events…

tylerthemiler
- 5,496
- 6
- 32
- 40
0
votes
1 answer
Having trouble parsing response from Garb
I am trying to use Sija's Garb in my rails app. But I am having trouble parsing the response after getting the profiles. Here is a summary of what I am doing to get the profiles:
Garb::Session.access_token = token
subs =…

topher
- 301
- 1
- 5
- 14
0
votes
1 answer
I always get "[400] Invalid Value" whenever I filter on something using Exits.results()
I can't figure out what I'm always getting 400. This is my model:
class G2
extend Garb::Model
metrics :pageviews
end
and this is my call:
G2.results(profile, :filters => {:pageviews.gte=>3})
and I get this:
Garb::BadRequestError: [400]…

rick
- 21
- 3
0
votes
2 answers
Using Garb with GA Management API v3
I installed Sija's fork of garb and am having some issues. The documentation appears to be a bit outdated as some things have been deprecated.
I have the following code (ignore the fact that it's horribly unsecure):
extend Garb::Model
metrics…

Justin
- 1,956
- 3
- 23
- 34