Skip to content

shopflowio/metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

metrics

A Custom Metrics Collection/Reporting App

Base url = metrics.teagles.io/v1

Create a project

post /projects

  {
    api_key: '4nb2458fnq04b0anc94adksjfk',
    name: 'Awesome Project'
  }

Response

{
  project: {
    name:  'Awesome Project',
    id: '5317dfb3ed339cb42d000003'
  }
}

Create an Event

post /projects/5317dfb3ed339cb42d000003/events

  {
    name: 'WebInquirySubmitted',
      properties {
        full_name: 'John Smith',
        company: 'ACME Co.',
        email: '[email protected]'
      }
  }

post /projects/5317dfb3ed339cb42d000003/events/bulk

  {
    [
      {
        name: 'WebInquirySubmitted',
        properties {
          full_name: 'John Smith',
          company: 'ACME Co.',
          email: '[email protected]'
        }
      },
      {
        name: 'WebInquirySubmitted',
        properties {
          full_name: 'Billy Bob',
          company: 'Big Bucks',
          email: '[email protected]'
        }
      }
  }

  

About

A Custom Metrics Collection/Reporting App

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published