The Snowplow Ruby Tracker uses the Ruby Contracts gem for typechecking. As of version 0.6.0 these cannot be turned off.
The emitters.rb module has Ruby logging enabled to give you information about requests being sent. The logger prints messages about what emitters are doing. By default, only messages with priority “INFO” or higher will be logged.
To change this:
Code language: PHP (php)
require 'logger' SnowplowTracker::LOGGER.level = Logger::DEBUG
The levels are:
|Notification for requests with status code not equal to 200|
|Notification for all requests|
|Contents of all requests|
snowplow_ruby_duid is a Ruby gem that allows you to populate Snowplow’s
domain_userid cookie server-side from any Rack-based framework. This is useful if you want to fire an event on the user’s initial request with the
domain_userid already populated.