kangguru / rack-google-analytics

Simple Rack middleware for implementing google analytics tracking in your Ruby-Rack based project. Supports synchronous and asynchronous insertion and configurable load options
MIT License
257 stars 53 forks source link

support doubleclick to display advertising #27

Closed masarakki closed 10 years ago

masarakki commented 11 years ago

using doubleclick.net script instead of google-analytics.

see it: https://support.google.com/analytics/answer/2444872?hl=en&utm_id=ad

Usage:

use Rack::GoogleAnalytics, :tracker => 'UA-xxxxx-x', :advertising => true

kangguru commented 11 years ago

thx for your PR.

can you make it mergeable again?

masarakki commented 11 years ago

i did rebased. is this ok?