Project

optify

0.0
No commit activity in last 3 years
No release in over 3 years
This gem provides ruby bindings for the Optify API, allowing you to access the visitor and lead data for sites on your account.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

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