-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathENGoogleMeasurementProtocol.h
92 lines (86 loc) · 2.16 KB
/
ENGoogleMeasurementProtocol.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
//
// ENGoogleMeasurementProtocol.h
// ENGoogleMeasurementProtocol
//
// Created by Steve High on 1/7/14.
// Copyright (c) 2014 Evilnode Software. All rights reserved.
//
#ifndef ENGoogleMeasurementProtocol_ENGoogleMeasurementProtocol_h
#define ENGoogleMeasurementProtocol_ENGoogleMeasurementProtocol_h
#define ENGA_VERSION @"0.0.1"
#define ENGA_USERAGENT_STRING @"Evilnode GMP Lib"
#define ENGA_CID_NAME @"ENGAV0.0.1USERTOKEN"
#define ENGA_ENDPOINT_SSL @"https://ssl.google-analytics.com/collect"
#define ENGA_ENDPOINT_NO_SSL @"http://www.google-analytics.com/collect"
typedef enum {
kVersionKey,
kHitTypeKey,
kTrackingIDKey,
kClientIDKey,
kCampaignNameKey,
kCampaignSourceKey,
kCampaignMediumKey,
kCampaignKeywordKey,
kCampaignContentKey,
kCampaignIDKey,
kAdwordsIDKey,
kDisplayAdsIDKey,
kShouldAnonymizeIPKey,
kShouldUseSessionControlKey,
kScreenResolutionKey,
kViewportSizeKey,
kDocumentEncodingKey,
kScreenColorsKey,
kUserLanguageKey,
kAppNameKey,
kAppVersionKey,
kTransactionIDKey,
kTransactionAffiliationKey,
kTransactionRevenueKey,
kTransactionShippingKey,
kTransactionTaxKey,
kNonInteractiveHitKey,
kContentDescriptionKey,
kLinkIDKey,
kEventCategoryKey,
kEventActionKey,
kEventLabelKey,
kEventValueKey,
kItemNameKey,
kItemPriceKey,
kItemQuantityKey,
kItemCodeKey,
kItemCategoryKey,
kCurrencyCodeKey,
kSocialNetworkKey,
kSocialActionKey,
kSocialActionTargetKey,
kUserTimingCategoryKey,
kUserTimingVariableNameKey,
kUserTimingTimeKey,
kUserTimingLabelKey,
kPageLoadTimeKey,
kDNSTimeKey,
kPageDownloadTimeKey,
kRedirectResponseTimeKey,
kTCPConnectTimeKey,
kServerResponseTimeKey,
kExceptionDescriptionKey,
kExceptionFatalKey,
kExperimentIDKey,
kExperimentVariantKey,
kReservedUserAgentKey,
kReservedUserDefinedHeaderKey
} ENGAParamKey;
typedef enum {
kHitTypePageView,
kHitTypeAppView,
kHitTypeEvent,
kHitTypeTransaction,
kHitTypeItem,
kHitTypeSocial,
kHitTypeException,
kHitTypeTiming
} ENGAHitType;
#import "ENGAManager.h"
#endif