Last active
August 29, 2015 13:56
-
-
Save jasonong/9125534 to your computer and use it in GitHub Desktop.
Getting Mixpanel profiles where property "Name" is not set.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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