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!

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top