Skip to content

fabrix-app/spool-tracker

Repository files navigation

spool-tracker

Gitter NPM version Build Status Test Coverage Dependency Status Follow @FabrixApp on Twitter

📦 Tracker Spool

Install

$ npm install --save @fabrix/spool-tracker

Configure

// config/main.ts
import { TrackerSpool } from '@fabrix/spool-tracker'
export const main = {
  spools: [
    // ... other spools
    TrackerSpool
  ]
}

Configuration

// config/tracker.ts
export const tracker = {

}

For more information about store (type and configuration) please see the tracker documentation.

Usage

<a href="https://<your_website>/resource/<resource_token>/click?url=<the_link>">
  <img src="https://<your_website>/resource/<resource_token>/impression?url=https://<your_image_url>" alt="Ad Sample">
</a>