/*
 * AlibcTrackParams.h 
 *
 * 阿里百川电商
 * 项目名称：阿里巴巴电商 AlibcTradeBiz 
 * 版本号：3.1.1.96
 * 发布时间：2017-03-24
 * 开发团队：阿里巴巴百川商业化团队
 * 阿里巴巴电商SDK答疑群号：1229144682(阿里旺旺)
 * Copyright (c) 2016-2019 阿里巴巴-移动事业群-百川. All rights reserved.
 */

#import <Foundation/Foundation.h>

#ifndef AlibcTrackParams_h
#define AlibcTrackParams_h

@interface AlibcTrackParams : NSObject
/**必填: 供计算效果用，由推荐模块输出内容后，曝光埋点使用 */
@property(nonatomic, strong) NSString *scm;
/**必填: 供计算效果用，由推荐模块输出内容后，曝光埋点使用 */
@property(nonatomic, strong) NSString *pvid;
/**必填: 三方app的用户识别id，用于百川识别该用户行为并对推荐效果进行优化 */
@property(nonatomic, strong) NSString *puid;
/** 三方app页面名称*/
@property(nonatomic, strong) NSString *page;
/** 三方app控件名称 */
@property(nonatomic, strong) NSString *label;


/*
 * trackParam 参数key说明
 */
#define track_scm @"scm"
#define track_pvid @"pvid"
#define track_isv_code @"isv_code"

/**
 *  生成Dictionary
 */
- (NSDictionary *)toDictionary;

+ (NSString *)ybhpssStringForDictionary:(NSDictionary *)params;

@end

#endif
