Question

I'm using the "Analytical" gem in my Ruby on Rails application but it's not working anymore because I have to update the Google Analytics Tracking Code. How can I do that? There is the link with the update to do: https://support.google.com/analytics/answer/2444872?hl=en&utm_id=ad

Thanks!

Was it helpful?

Solution

I'm assuming you're using this jkrall/analytical gem, right?

I've looked into the google_universal.rb module (lib/analytical/google_universal.rb), and saw that the code is for Universal Analytics. At this time, Universal Analytics doesn't offer support for display advertising.

If you're using an older version of the analytical gem that is using google analytics, then you should be able to replace the code there.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top