Skip to content

Instantly share code, notes, and snippets.

@jasonong
Last active August 29, 2015 13:56
Show Gist options
  • Save jasonong/9125534 to your computer and use it in GitHub Desktop.
Save jasonong/9125534 to your computer and use it in GitHub Desktop.
Getting Mixpanel profiles where property "Name" is not set.
require 'rubygems'
require 'mixpanel_client'
config = {api_key: 'FOO', api_secret: 'BAR'}
client = Mixpanel::Client.new(config)
data = client.request('engage', {
where: 'not defined(properties["Name"])'
})
p data['results']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment