
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
google_analytics_chrome_developer_cookie
Advanced tools
Short description and motivation.
Rails.application.config.assets.precompile += %w(google_analytics_chrome_developer_cookie/ga.js)
to config/initializers/assets.rb
= javascript_include_tag 'google_analytics_chrome_developer_cookie/ga'
where you want to track visitors (usually your application layout)Configure the following environment variables:
DEV_COOKIE
: Your dev cookie set with the Developer Cookie Chrome PluginDEV_COOKIE_HOSTNAME
: Domain name of your app (ie test-app.com or www.test-app.com)GOOGLE_ANALYTICS_ID
: Your Gooogle Analytics IDAdd this line to your application's Gemfile:
gem 'google_analytics_chrome_developer_cookie'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install google_analytics_chrome_developer_cookie
The gem is available as open source under the terms of the MIT License.
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.