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,…
![](../../users/profiles/1915482.webp)
user1915482
- 141
- 1
- 3
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',…
![](../../users/profiles/3276980.webp)
Alex Stanovsky
- 957
- 6
- 24
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…
![](../../users/profiles/1748831.webp)
John Morales
- 178
- 2
- 6
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…
![](../../users/profiles/584713.webp)
Robin
- 20,708
- 9
- 55
- 78