beeketing/tracker-hub-bundle

This bundle provides an integration of the TrackerHub library

Installs: 40 013

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 6

Forks: 0

Open Issues: 0

Type:symfony-bundle

dev-master 2016-01-28 09:42 UTC

This package is not auto-updated.

Last update: 2024-06-08 15:38:26 UTC


README

Integrate tracker-hub with symfony2

Basic Usage

Set trackers settings in your config file

# app/config/config.yml

bk_tracker_hub:
    clients:
        beeketing:
            base_url: %beeketing_base_url%
            api_key: %beeketing_api_key%

        customerio:
            site_id: %customer_io_site_id%
            api_key: %customer_io_api_key%

        mixpanel:
            write_token: %mixpanel_write_token%

        indicative:
            api_key: %indicative_api_key%

Then track and identify your users by using

$this->container->get('tracker_hub')->identify($userId, $properties);
$this->container->get('tracker_hub')->track($userId, $event, $params);

Tips:

  1. You should use it with a queue system like RabbitMQ