28/01
2016
Wallogit.com
2017 © Pedro Peláez
This bundle provides an integration of the TrackerHub library
Integrate tracker-hub with symfony2, (*1)
Set trackers settings in your config file, (*2)
``` yaml, (*3)
bk_tracker_hub: clients: beeketing: base_url: %beeketing_base_url% api_key: %beeketing_api_key%, (*4)
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 ``` php $this->container->get('tracker_hub')->identify($userId, $properties); $this->container->get('tracker_hub')->track($userId, $event, $params);
Tips:, (*5)