Skip to content
vigetlabs edited this page Aug 13, 2010 · 6 revisions

Once you have logged in (see Logging In) you can now fetch all the profiles, and select one.

Garb::Profile.all

Get the first:

profile = Garb::Profile.all.first

Or detect one by table id (found in the URL when viewing a profile on Google Analytics)

profile = Garb::Profile.all.detect{|p| p.table_id == '7654321'.to_ga}
Clone this wiki locally