Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
caryfitzhugh committed Nov 30, 2012
1 parent db4fa28 commit 032f0d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions lib/truestack_rails/browser_tracking.rb
Expand Up @@ -2,14 +2,16 @@ module TruestackRails
module BrowserTracking
def truestack_browser_tracker
if (TruestackRails::Configuration.environments.include?(Rails.env))
tc_config = TruestackClient.config

img_url = URI::HTTP.build(
:host => TruestackClient.config.host,
:path => "/api/collector/browser",
:query => {
:truestack => {
:name => "#{controller_name}##{action_name}"},
"Truestack-Access-Key" => TruestackClient.config.key,
"Truestack-Access-Environment" => TruestackClient.config.app_environment
"Truestack-Access-Key" => tc_config.key,
"Truestack-Client-Type" => TruestackClient.create_type_string(tc_config.app_version, tc_config.app_environment)
}.to_query)

return <<JS
Expand Down
2 changes: 1 addition & 1 deletion lib/truestack_rails/version.rb
@@ -1,3 +1,3 @@
module TruestackRails
VERSION = "0.1.12"
VERSION = "0.1.13"
end

0 comments on commit 032f0d6

Please sign in to comment.