Questions tagged [gabba]
4 questions
14
votes
1 answer
gabba gem not tracking correctly
I use Google Analytics to track pageviews, etc. but late last week I had the desire to track an event on the backend.
I discovered gabba.
I have a method within my User model that looks like this:
def track_ga(event_name, cookiea, cookiez,…

chexton
- 141
- 1
- 4
1
vote
1 answer
gabba gem not tracking different domains
I have a UA account which is connected to the following domain:
http://www.mytestdomain.com with the following account id UA-123456-1
When i am using the Gem to track the domain it works well:
Gabba::Gabba.new('UA-123456-1',…

Alex Stanovsky
- 1,286
- 1
- 13
- 28
0
votes
0 answers
In Rails, how does one access controller data in the model
Scenario
I have an application in which I would like events logged to a third party (via a custom module leveraging Gabba mixed in to my models). The events are generated in the model, but the server side code to generate the events require access…

John Morales
- 306
- 4
- 7
0
votes
1 answer
Events sent to Google Analytics with Gabba don't have a hostname
I'm using Gabba to send events to Google Analytics from my rails back-end.
When I send events, the "hostname" is not set (in Content > Events > click on an event > set "Second dimension" to hostname).
Here's a simplified version of how I send my…

Robin
- 21,667
- 10
- 62
- 85