gabba | Simple way to send server | Analytics library
kandi X-RAY | gabba Summary
kandi X-RAY | gabba Summary
Simple way to send server-side notifications to Google Analytics
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Send a message to Google Analytics .
- Escapes + value +
- Generate the cookie
- Identifies the UUID of the UUID .
- Sets the IP address .
- Checks if the parameters are valid for this account
- set urls
gabba Key Features
gabba Examples and Code Snippets
Community Discussions
Trending Discussions on gabba
QUESTION
I tried several gems for use Server Side GA.
=> Stacato
=> Gabba
=> ...
But I have always the same problem, in google analytics the SOURCE of all my events are in "Direct" (direct traffic), even if i use utm_source, ...
I remarked, each time I trigger an event, Google analytics create a new session with source "Direct" (and a location in United states), and I think the event is attributed to this session and no to my effective session.
My config (with the gem Gem Gabba https://github.com/hybridgroup/gabba ):
View application.html.erb
...ANSWER
Answered 2018-Aug-26 at 17:13Thx @eike & @RaV, you help me to find a solution.
I removed the gabba
gem and added staccato
gem instead.
The problem was the same (staccato
generated a new client_id
by default, that's why I had a duplicate), but I figured out how to fix it.
1.Just save the client_id
from in the google analytics cookie in your application controller:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gabba
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page