Skip to content

stim371/optify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Optify

A gem providing Ruby bindings for the Optify API.

NOTE: Optify has shut down, so no further development will be completed on this library.

What is Optify (the company)?

Optify calls itself "inbound marketing software", which includes tools for:

  • SEO/SEM
  • Social media campaigns
  • Email marketing
  • Sales enablement
  • Visitor tracking and analytics
  • Salesforce integration

See more at optify.net

Installation

When it's turned into a gem, you can install it with:

gem install optify

If you're using Bundler, add it to your Gemfile:

gem 'optify'

Methods

  • all_sites - get all site information
  • site - get information on a specific site based on its id
  • all_visitors - get all visitor information for a specific site
  • visitor - get visitor information for a specific visitor on a specific site

Usage

You must have a token to access the Optify API, so first initialize a new instance of the Optify class to get started.

@optify = Optify.new('token')

Now you can run your queries and parse the output.

@optify.all_sites    #=> array of all sites

@optify.site(123455) #=> details for site with id 123455

@optify.all_visitors(123455, { :start_date => '2012-10-04', :end_date => '2012-10-14' })
  #=> visitor data for specific site between those days. An example of how to use the options hash.

Volume Requests

If you have a large data request (say a site with millions of visits per month), take a look at Optify's 'Best Practices' document.

Resources

About

ruby bindings for the Optify API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages