All Projects → alibaba → Tmviewtrackersdk

alibaba / Tmviewtrackersdk

Licence: apache-2.0
ViewTracker is a sdk can help Developers to collect exposure and click events automatically.

Projects that are alternatives of or similar to Tmviewtrackersdk

Cruise
Relax, we got this.
Stars: ✭ 64 (-13.51%)
Mutual labels:  monitoring
Burrowui
This is a NodeJS/Angular 2 frontend UI for Kafka cluster monitoring with Burrow
Stars: ✭ 69 (-6.76%)
Mutual labels:  monitoring
Grafanalib
Python library for building Grafana dashboards
Stars: ✭ 1,174 (+1486.49%)
Mutual labels:  monitoring
Kmon
Linux Kernel Manager and Activity Monitor 🐧💻
Stars: ✭ 1,142 (+1443.24%)
Mutual labels:  monitoring
Zabbixdba
Zabbix Database Monitoring Service (Oracle, Pg, MySQL, MS SQL, DB2, etc.)
Stars: ✭ 68 (-8.11%)
Mutual labels:  monitoring
Mindminer
MindMiner - the miner manager programm with online monitoring
Stars: ✭ 69 (-6.76%)
Mutual labels:  monitoring
Sanic Prometheus
Prometheus metrics for Sanic, an async python web server
Stars: ✭ 63 (-14.86%)
Mutual labels:  monitoring
Prometheus Slo Burn Example
An end to end example of implementing SLOs with prometheus, grafana and Go.
Stars: ✭ 73 (-1.35%)
Mutual labels:  monitoring
Xfce4 Genmon Scripts
🐭 XFCE panel generic monitor scripts
Stars: ✭ 69 (-6.76%)
Mutual labels:  monitoring
Rabbitmq http api client
RabbitMQ HTTP API client for Ruby
Stars: ✭ 70 (-5.41%)
Mutual labels:  monitoring
Domonit
A Deadly Simple Docker Monitoring Wrapper For Docker API
Stars: ✭ 67 (-9.46%)
Mutual labels:  monitoring
Go Tdigest
A T-Digest implementation in golang
Stars: ✭ 67 (-9.46%)
Mutual labels:  monitoring
Eye
Process monitoring tool. Inspired from Bluepill and God.
Stars: ✭ 1,167 (+1477.03%)
Mutual labels:  monitoring
Laravel Api Health
Monitor first and third-party services and get notified when something goes wrong!
Stars: ✭ 65 (-12.16%)
Mutual labels:  monitoring
Graylog Plugin Metrics Reporter
Graylog Metrics Reporter Plugins
Stars: ✭ 71 (-4.05%)
Mutual labels:  monitoring
Sip3 Ansible
Ansible scripts to install and configure SIP3
Stars: ✭ 64 (-13.51%)
Mutual labels:  monitoring
Bugsnag Python
Official bugsnag error monitoring and error reporting for django, flask, tornado and other python apps.
Stars: ✭ 69 (-6.76%)
Mutual labels:  monitoring
Permon
A tool to monitor everything you want. Clean, simple, extensible and in one place.
Stars: ✭ 73 (-1.35%)
Mutual labels:  monitoring
Pm2 Zabbix
A Node.js PM2 monitoring tool for Zabbix.
Stars: ✭ 71 (-4.05%)
Mutual labels:  monitoring
Kardia
A humane service status API module to expose any operational/internals of any Node.js based microservice. JSON format over HTTP protocol.
Stars: ✭ 70 (-5.41%)
Mutual labels:  monitoring

ViewTracker - iOS

ViewTracker is a tool to automatically collect exposure and click event data.

Now just support Objective-C, not swift support.

The system requirement for ViewTracker is iOS 7.0+

中文文档

Feature

  • Two platform support (iOS & Android, See ViewTracker-Android in Github for Android Version)
  • Automated Data Collection for exposure and click event.
  • Covering a variety of scenes , such as Tab、ScrollView、UIControlEventTouchUpInside、Page or App switch.
  • A good performance on Page FPS.
  • Compact API.

Performance

Install

Use Cocoapods to Get latest version of ViewTracker

pod 'ViewTracker'

Getting Started

Set a Delegate to respond to processing exposure and click events.

feature/viewtrack-opensource

#import "ViewTrackerProxy.h"
#import <TMViewTrackerSDK/TMViewTrackerSDK.h>

...
    [[TMViewTrackerManager sharedManager] setCommitProtocol:[ViewTrackerProxy new]];
...

ViewTrackerProxy.h

#import <TMViewTrackerSDK/TMViewTrackerSDK.h>
@interface ViewTrackerProxy : NSObject <TMViewTrackerCommitProtocol>
@end

ViewTrackerProxy.m

#import "ViewTrackerProxy.h"

@implementation ViewTrackerProxy
- (instancetype)init
{
    if (self = [super init]) {
        //init ViewTrack Config
        NSDictionary * dictionary = @{kExposureSwitch:@(1),
                                      kClickSwitch:@(1)};

        [[TMViewTrackerManager sharedManager] setViewTrackerConfig:dictionary];

        //register notification to handle changes of config from server.
    }
    return self;
}
- (void)ctrlClicked:(NSString*)controlName
             onPage:(NSString*)pageName
               args:(NSDictionary*)args
{
    NSLog(@"Clicked on Page(%@), controlName(%@), with args(%@)", pageName, controlName, args);
}

- (void)module:(NSString*)moduleName
  showedOnPage:(NSString*)pageName
      duration:(NSUInteger)duration
          args:(NSDictionary *)args
{

    NSLog(@"module on Page(%@), controlName(%@), duration(%lu), with args(%@)", pageName, moduleName, (unsigned long)duration, args);
}
@end
Add the tag 'controlName' to the view
#import <TMViewTrackerSDK/TMViewTrackerSDK.h>

...
    view.controlName=@"banner-0";
    view.args=@{@"picName":@"pic1"};
...
Set pageName in viewDidAppear.It is recommended to set it in the base class。
#import <TMViewTrackerSDK/TMViewTrackerSDK.h>

...
- (void)viewDidAppear:(BOOL)animated
{
    [super viewDidAppear:animated];
    [TMViewTrackerManager setCurrentPageName:@"Tab-1"];
}
...

Author

  • @圆寸
  • @子央

LICENSE

ViewTracker is available under the Apache2.0 license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].