@oursprivacy/platform-sdk 1.68.0 → 1.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/client.d.mts +7 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +7 -4
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/analytics.d.mts +10 -0
- package/resources/analytics.d.mts.map +1 -1
- package/resources/analytics.d.ts +10 -0
- package/resources/analytics.d.ts.map +1 -1
- package/resources/dashboards.d.mts +646 -4
- package/resources/dashboards.d.mts.map +1 -1
- package/resources/dashboards.d.ts +646 -4
- package/resources/dashboards.d.ts.map +1 -1
- package/resources/destinations.d.mts +7 -7
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +7 -7
- package/resources/destinations.d.ts.map +1 -1
- package/resources/funnels.d.mts +253 -7
- package/resources/funnels.d.mts.map +1 -1
- package/resources/funnels.d.ts +253 -7
- package/resources/funnels.d.ts.map +1 -1
- package/resources/funnels.js +10 -7
- package/resources/funnels.js.map +1 -1
- package/resources/funnels.mjs +10 -7
- package/resources/funnels.mjs.map +1 -1
- package/resources/index.d.mts +3 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/insights.d.mts +73 -12
- package/resources/insights.d.mts.map +1 -1
- package/resources/insights.d.ts +73 -12
- package/resources/insights.d.ts.map +1 -1
- package/resources/insights.js +9 -7
- package/resources/insights.js.map +1 -1
- package/resources/insights.mjs +9 -7
- package/resources/insights.mjs.map +1 -1
- package/resources/journey-flows.d.mts +242 -18
- package/resources/journey-flows.d.mts.map +1 -1
- package/resources/journey-flows.d.ts +242 -18
- package/resources/journey-flows.d.ts.map +1 -1
- package/resources/journey-flows.js +18 -12
- package/resources/journey-flows.js.map +1 -1
- package/resources/journey-flows.mjs +18 -12
- package/resources/journey-flows.mjs.map +1 -1
- package/resources/locations.d.mts +653 -13
- package/resources/locations.d.mts.map +1 -1
- package/resources/locations.d.ts +653 -13
- package/resources/locations.d.ts.map +1 -1
- package/resources/locations.js +10 -3
- package/resources/locations.js.map +1 -1
- package/resources/locations.mjs +10 -3
- package/resources/locations.mjs.map +1 -1
- package/resources/query-dispatches.d.mts +241 -0
- package/resources/query-dispatches.d.mts.map +1 -0
- package/resources/query-dispatches.d.ts +241 -0
- package/resources/query-dispatches.d.ts.map +1 -0
- package/resources/query-dispatches.js +56 -0
- package/resources/query-dispatches.js.map +1 -0
- package/resources/query-dispatches.mjs +52 -0
- package/resources/query-dispatches.mjs.map +1 -0
- package/resources/query-events.d.mts +10 -0
- package/resources/query-events.d.mts.map +1 -1
- package/resources/query-events.d.ts +10 -0
- package/resources/query-events.d.ts.map +1 -1
- package/resources/report-branding.d.mts +112 -28
- package/resources/report-branding.d.mts.map +1 -1
- package/resources/report-branding.d.ts +112 -28
- package/resources/report-branding.d.ts.map +1 -1
- package/resources/report-branding.js +29 -15
- package/resources/report-branding.js.map +1 -1
- package/resources/report-branding.mjs +29 -15
- package/resources/report-branding.mjs.map +1 -1
- package/resources/sources.d.mts +6 -6
- package/resources/sources.d.mts.map +1 -1
- package/resources/sources.d.ts +6 -6
- package/resources/sources.d.ts.map +1 -1
- package/resources/test-events.d.mts +28 -0
- package/resources/test-events.d.mts.map +1 -1
- package/resources/test-events.d.ts +28 -0
- package/resources/test-events.d.ts.map +1 -1
- package/resources/web-analytics.d.mts +24 -0
- package/resources/web-analytics.d.mts.map +1 -1
- package/resources/web-analytics.d.ts +24 -0
- package/resources/web-analytics.d.ts.map +1 -1
- package/src/client.ts +29 -0
- package/src/resources/analytics.ts +12 -0
- package/src/resources/dashboards.ts +876 -8
- package/src/resources/destinations.ts +23 -2
- package/src/resources/funnels.ts +332 -7
- package/src/resources/index.ts +13 -0
- package/src/resources/insights.ts +107 -12
- package/src/resources/journey-flows.ts +300 -22
- package/src/resources/locations.ts +690 -12
- package/src/resources/query-dispatches.ts +323 -0
- package/src/resources/query-events.ts +12 -0
- package/src/resources/report-branding.ts +132 -27
- package/src/resources/sources.ts +12 -0
- package/src/resources/test-events.ts +33 -0
- package/src/resources/web-analytics.ts +40 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -2299,10 +2299,36 @@ export namespace DashboardPreviewResponse {
|
|
|
2299
2299
|
|
|
2300
2300
|
to: string;
|
|
2301
2301
|
|
|
2302
|
+
breakdown?: Scope.Breakdown | null;
|
|
2303
|
+
|
|
2302
2304
|
comparison?: Scope.Comparison | null;
|
|
2303
2305
|
}
|
|
2304
2306
|
|
|
2305
2307
|
export namespace Scope {
|
|
2308
|
+
export interface Breakdown {
|
|
2309
|
+
atAnchorId: string | null;
|
|
2310
|
+
|
|
2311
|
+
limit: number;
|
|
2312
|
+
|
|
2313
|
+
property: Breakdown.Property;
|
|
2314
|
+
|
|
2315
|
+
stepNumber: number | null;
|
|
2316
|
+
|
|
2317
|
+
truncated: boolean;
|
|
2318
|
+
|
|
2319
|
+
valueCount: number;
|
|
2320
|
+
}
|
|
2321
|
+
|
|
2322
|
+
export namespace Breakdown {
|
|
2323
|
+
export interface Property {
|
|
2324
|
+
property: string;
|
|
2325
|
+
|
|
2326
|
+
type: 'string' | 'number' | 'boolean';
|
|
2327
|
+
|
|
2328
|
+
path?: Array<string>;
|
|
2329
|
+
}
|
|
2330
|
+
}
|
|
2331
|
+
|
|
2306
2332
|
export interface Comparison {
|
|
2307
2333
|
from: string;
|
|
2308
2334
|
|
|
@@ -2328,6 +2354,8 @@ export namespace DashboardPreviewResponse {
|
|
|
2328
2354
|
points: Array<Series.Point>;
|
|
2329
2355
|
|
|
2330
2356
|
rangeValue: number | null;
|
|
2357
|
+
|
|
2358
|
+
segment?: Series.Segment | null;
|
|
2331
2359
|
}
|
|
2332
2360
|
|
|
2333
2361
|
export namespace Series {
|
|
@@ -2350,6 +2378,18 @@ export namespace DashboardPreviewResponse {
|
|
|
2350
2378
|
|
|
2351
2379
|
smoothed: number | null;
|
|
2352
2380
|
}
|
|
2381
|
+
|
|
2382
|
+
export interface Segment {
|
|
2383
|
+
key: string;
|
|
2384
|
+
|
|
2385
|
+
kind: 'value' | 'other' | 'not_set';
|
|
2386
|
+
|
|
2387
|
+
label: string;
|
|
2388
|
+
|
|
2389
|
+
rank: number;
|
|
2390
|
+
|
|
2391
|
+
value: string | null;
|
|
2392
|
+
}
|
|
2353
2393
|
}
|
|
2354
2394
|
}
|
|
2355
2395
|
}
|
|
@@ -2641,6 +2681,16 @@ export namespace DashboardPreviewResponse {
|
|
|
2641
2681
|
*/
|
|
2642
2682
|
totalVisitors: number;
|
|
2643
2683
|
|
|
2684
|
+
/**
|
|
2685
|
+
* Per-segment results when `breakdown` was requested; null otherwise.
|
|
2686
|
+
*/
|
|
2687
|
+
breakdown?: Result.Breakdown | null;
|
|
2688
|
+
|
|
2689
|
+
/**
|
|
2690
|
+
* Results for the compared dates when `comparison` was requested; null otherwise.
|
|
2691
|
+
*/
|
|
2692
|
+
comparison?: Result.Comparison | null;
|
|
2693
|
+
|
|
2644
2694
|
/**
|
|
2645
2695
|
* Average time from first step to last step in seconds. Null when no completions.
|
|
2646
2696
|
*/
|
|
@@ -2710,6 +2760,291 @@ export namespace DashboardPreviewResponse {
|
|
|
2710
2760
|
*/
|
|
2711
2761
|
avgTimeToNextStep?: number | null;
|
|
2712
2762
|
}
|
|
2763
|
+
|
|
2764
|
+
/**
|
|
2765
|
+
* Per-segment results when `breakdown` was requested; null otherwise.
|
|
2766
|
+
*/
|
|
2767
|
+
export interface Breakdown {
|
|
2768
|
+
scope: Breakdown.Scope;
|
|
2769
|
+
|
|
2770
|
+
/**
|
|
2771
|
+
* Segments in rank order.
|
|
2772
|
+
*/
|
|
2773
|
+
segments: Array<Breakdown.Segment>;
|
|
2774
|
+
}
|
|
2775
|
+
|
|
2776
|
+
export namespace Breakdown {
|
|
2777
|
+
export interface Scope {
|
|
2778
|
+
atAnchorId: string | null;
|
|
2779
|
+
|
|
2780
|
+
limit: number;
|
|
2781
|
+
|
|
2782
|
+
property: Scope.Property;
|
|
2783
|
+
|
|
2784
|
+
stepNumber: number | null;
|
|
2785
|
+
|
|
2786
|
+
truncated: boolean;
|
|
2787
|
+
|
|
2788
|
+
/**
|
|
2789
|
+
* Distinct values seen.
|
|
2790
|
+
*/
|
|
2791
|
+
valueCount: number;
|
|
2792
|
+
}
|
|
2793
|
+
|
|
2794
|
+
export namespace Scope {
|
|
2795
|
+
export interface Property {
|
|
2796
|
+
property: string;
|
|
2797
|
+
|
|
2798
|
+
type: 'string' | 'number' | 'boolean';
|
|
2799
|
+
|
|
2800
|
+
path?: Array<string>;
|
|
2801
|
+
}
|
|
2802
|
+
}
|
|
2803
|
+
|
|
2804
|
+
export interface Segment {
|
|
2805
|
+
/**
|
|
2806
|
+
* Ratio of last-step to first-step volume in this segment, as a percentage.
|
|
2807
|
+
*/
|
|
2808
|
+
overallConversionRate: number;
|
|
2809
|
+
|
|
2810
|
+
segment: Segment.Segment;
|
|
2811
|
+
|
|
2812
|
+
/**
|
|
2813
|
+
* Per-step results for this segment.
|
|
2814
|
+
*/
|
|
2815
|
+
steps: Array<Segment.Step>;
|
|
2816
|
+
|
|
2817
|
+
/**
|
|
2818
|
+
* First-step volume in this segment.
|
|
2819
|
+
*/
|
|
2820
|
+
totalVisitors: number;
|
|
2821
|
+
|
|
2822
|
+
/**
|
|
2823
|
+
* Average time from first step to last step in seconds. Null when no completions.
|
|
2824
|
+
*/
|
|
2825
|
+
overallAvgTimeToConversion?: number | null;
|
|
2826
|
+
}
|
|
2827
|
+
|
|
2828
|
+
export namespace Segment {
|
|
2829
|
+
export interface Segment {
|
|
2830
|
+
/**
|
|
2831
|
+
* Segment key: v:<value>, $other, or $none.
|
|
2832
|
+
*/
|
|
2833
|
+
key: string;
|
|
2834
|
+
|
|
2835
|
+
kind: 'value' | 'other' | 'not_set';
|
|
2836
|
+
|
|
2837
|
+
label: string;
|
|
2838
|
+
|
|
2839
|
+
rank: number;
|
|
2840
|
+
|
|
2841
|
+
/**
|
|
2842
|
+
* Null for other and not_set.
|
|
2843
|
+
*/
|
|
2844
|
+
value: string | null;
|
|
2845
|
+
}
|
|
2846
|
+
|
|
2847
|
+
export interface Step {
|
|
2848
|
+
conversionCount: number;
|
|
2849
|
+
|
|
2850
|
+
/**
|
|
2851
|
+
* Step ratio as a percentage. Event-counting ratios may exceed 100%.
|
|
2852
|
+
*/
|
|
2853
|
+
conversionRate: number;
|
|
2854
|
+
|
|
2855
|
+
/**
|
|
2856
|
+
* Drop-off percentage for participant counting; zero when the previous step volume
|
|
2857
|
+
* is zero. Not a participant loss measure for event counting.
|
|
2858
|
+
*/
|
|
2859
|
+
dropOffRate: number;
|
|
2860
|
+
|
|
2861
|
+
dropOffSessionIds: Array<string>;
|
|
2862
|
+
|
|
2863
|
+
dropOffVisitorIds: Array<string>;
|
|
2864
|
+
|
|
2865
|
+
/**
|
|
2866
|
+
* Ratio to first-step volume as a percentage. Event-counting ratios may exceed
|
|
2867
|
+
* 100%.
|
|
2868
|
+
*/
|
|
2869
|
+
overallConversionRate: number;
|
|
2870
|
+
|
|
2871
|
+
sessionIds: Array<string>;
|
|
2872
|
+
|
|
2873
|
+
stepNumber: number;
|
|
2874
|
+
|
|
2875
|
+
/**
|
|
2876
|
+
* Step volume using the saved counting method: unique people, sessions, or events.
|
|
2877
|
+
*/
|
|
2878
|
+
visitorCount: number;
|
|
2879
|
+
|
|
2880
|
+
visitorIds: Array<string>;
|
|
2881
|
+
|
|
2882
|
+
/**
|
|
2883
|
+
* Average incoming hop time from the previous step to this step, in seconds.
|
|
2884
|
+
*/
|
|
2885
|
+
avgTimeToNextStep?: number | null;
|
|
2886
|
+
}
|
|
2887
|
+
}
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
/**
|
|
2891
|
+
* Results for the compared dates when `comparison` was requested; null otherwise.
|
|
2892
|
+
*/
|
|
2893
|
+
export interface Comparison {
|
|
2894
|
+
overallConversionRate: number;
|
|
2895
|
+
|
|
2896
|
+
scope: Comparison.Scope;
|
|
2897
|
+
|
|
2898
|
+
/**
|
|
2899
|
+
* Same keys and order as `breakdown.segments`.
|
|
2900
|
+
*/
|
|
2901
|
+
segments: Array<Comparison.Segment>;
|
|
2902
|
+
|
|
2903
|
+
/**
|
|
2904
|
+
* Per-step results for the compared dates. Sample ID arrays are empty.
|
|
2905
|
+
*/
|
|
2906
|
+
steps: Array<Comparison.Step>;
|
|
2907
|
+
|
|
2908
|
+
totalVisitors: number;
|
|
2909
|
+
|
|
2910
|
+
overallAvgTimeToConversion?: number | null;
|
|
2911
|
+
}
|
|
2912
|
+
|
|
2913
|
+
export namespace Comparison {
|
|
2914
|
+
export interface Scope {
|
|
2915
|
+
from: string;
|
|
2916
|
+
|
|
2917
|
+
kind: 'previous_period' | 'previous_year' | 'custom';
|
|
2918
|
+
|
|
2919
|
+
to: string;
|
|
2920
|
+
}
|
|
2921
|
+
|
|
2922
|
+
export interface Segment {
|
|
2923
|
+
/**
|
|
2924
|
+
* Ratio of last-step to first-step volume in this segment, as a percentage.
|
|
2925
|
+
*/
|
|
2926
|
+
overallConversionRate: number;
|
|
2927
|
+
|
|
2928
|
+
segment: Segment.Segment;
|
|
2929
|
+
|
|
2930
|
+
/**
|
|
2931
|
+
* Per-step results for this segment.
|
|
2932
|
+
*/
|
|
2933
|
+
steps: Array<Segment.Step>;
|
|
2934
|
+
|
|
2935
|
+
/**
|
|
2936
|
+
* First-step volume in this segment.
|
|
2937
|
+
*/
|
|
2938
|
+
totalVisitors: number;
|
|
2939
|
+
|
|
2940
|
+
/**
|
|
2941
|
+
* Average time from first step to last step in seconds. Null when no completions.
|
|
2942
|
+
*/
|
|
2943
|
+
overallAvgTimeToConversion?: number | null;
|
|
2944
|
+
}
|
|
2945
|
+
|
|
2946
|
+
export namespace Segment {
|
|
2947
|
+
export interface Segment {
|
|
2948
|
+
/**
|
|
2949
|
+
* Segment key: v:<value>, $other, or $none.
|
|
2950
|
+
*/
|
|
2951
|
+
key: string;
|
|
2952
|
+
|
|
2953
|
+
kind: 'value' | 'other' | 'not_set';
|
|
2954
|
+
|
|
2955
|
+
label: string;
|
|
2956
|
+
|
|
2957
|
+
rank: number;
|
|
2958
|
+
|
|
2959
|
+
/**
|
|
2960
|
+
* Null for other and not_set.
|
|
2961
|
+
*/
|
|
2962
|
+
value: string | null;
|
|
2963
|
+
}
|
|
2964
|
+
|
|
2965
|
+
export interface Step {
|
|
2966
|
+
conversionCount: number;
|
|
2967
|
+
|
|
2968
|
+
/**
|
|
2969
|
+
* Step ratio as a percentage. Event-counting ratios may exceed 100%.
|
|
2970
|
+
*/
|
|
2971
|
+
conversionRate: number;
|
|
2972
|
+
|
|
2973
|
+
/**
|
|
2974
|
+
* Drop-off percentage for participant counting; zero when the previous step volume
|
|
2975
|
+
* is zero. Not a participant loss measure for event counting.
|
|
2976
|
+
*/
|
|
2977
|
+
dropOffRate: number;
|
|
2978
|
+
|
|
2979
|
+
dropOffSessionIds: Array<string>;
|
|
2980
|
+
|
|
2981
|
+
dropOffVisitorIds: Array<string>;
|
|
2982
|
+
|
|
2983
|
+
/**
|
|
2984
|
+
* Ratio to first-step volume as a percentage. Event-counting ratios may exceed
|
|
2985
|
+
* 100%.
|
|
2986
|
+
*/
|
|
2987
|
+
overallConversionRate: number;
|
|
2988
|
+
|
|
2989
|
+
sessionIds: Array<string>;
|
|
2990
|
+
|
|
2991
|
+
stepNumber: number;
|
|
2992
|
+
|
|
2993
|
+
/**
|
|
2994
|
+
* Step volume using the saved counting method: unique people, sessions, or events.
|
|
2995
|
+
*/
|
|
2996
|
+
visitorCount: number;
|
|
2997
|
+
|
|
2998
|
+
visitorIds: Array<string>;
|
|
2999
|
+
|
|
3000
|
+
/**
|
|
3001
|
+
* Average incoming hop time from the previous step to this step, in seconds.
|
|
3002
|
+
*/
|
|
3003
|
+
avgTimeToNextStep?: number | null;
|
|
3004
|
+
}
|
|
3005
|
+
}
|
|
3006
|
+
|
|
3007
|
+
export interface Step {
|
|
3008
|
+
conversionCount: number;
|
|
3009
|
+
|
|
3010
|
+
/**
|
|
3011
|
+
* Step ratio as a percentage. Event-counting ratios may exceed 100%.
|
|
3012
|
+
*/
|
|
3013
|
+
conversionRate: number;
|
|
3014
|
+
|
|
3015
|
+
/**
|
|
3016
|
+
* Drop-off percentage for participant counting; zero when the previous step volume
|
|
3017
|
+
* is zero. Not a participant loss measure for event counting.
|
|
3018
|
+
*/
|
|
3019
|
+
dropOffRate: number;
|
|
3020
|
+
|
|
3021
|
+
dropOffSessionIds: Array<string>;
|
|
3022
|
+
|
|
3023
|
+
dropOffVisitorIds: Array<string>;
|
|
3024
|
+
|
|
3025
|
+
/**
|
|
3026
|
+
* Ratio to first-step volume as a percentage. Event-counting ratios may exceed
|
|
3027
|
+
* 100%.
|
|
3028
|
+
*/
|
|
3029
|
+
overallConversionRate: number;
|
|
3030
|
+
|
|
3031
|
+
sessionIds: Array<string>;
|
|
3032
|
+
|
|
3033
|
+
stepNumber: number;
|
|
3034
|
+
|
|
3035
|
+
/**
|
|
3036
|
+
* Step volume using the saved counting method: unique people, sessions, or events.
|
|
3037
|
+
*/
|
|
3038
|
+
visitorCount: number;
|
|
3039
|
+
|
|
3040
|
+
visitorIds: Array<string>;
|
|
3041
|
+
|
|
3042
|
+
/**
|
|
3043
|
+
* Average incoming hop time from the previous step to this step, in seconds.
|
|
3044
|
+
*/
|
|
3045
|
+
avgTimeToNextStep?: number | null;
|
|
3046
|
+
}
|
|
3047
|
+
}
|
|
2713
3048
|
}
|
|
2714
3049
|
}
|
|
2715
3050
|
|
|
@@ -4005,6 +4340,16 @@ export namespace DashboardPreviewResponse {
|
|
|
4005
4340
|
reentry: 'FIRST' | 'BEST';
|
|
4006
4341
|
|
|
4007
4342
|
sourceIds: Array<string>;
|
|
4343
|
+
|
|
4344
|
+
/**
|
|
4345
|
+
* The requested breakdown; null without one.
|
|
4346
|
+
*/
|
|
4347
|
+
breakdown?: EffectiveContext.Breakdown | null;
|
|
4348
|
+
|
|
4349
|
+
/**
|
|
4350
|
+
* The compared dates; null without a comparison.
|
|
4351
|
+
*/
|
|
4352
|
+
comparison?: EffectiveContext.Comparison | null;
|
|
4008
4353
|
}
|
|
4009
4354
|
|
|
4010
4355
|
export namespace EffectiveContext {
|
|
@@ -4183,11 +4528,50 @@ export namespace DashboardPreviewResponse {
|
|
|
4183
4528
|
|
|
4184
4529
|
to: string;
|
|
4185
4530
|
}
|
|
4531
|
+
|
|
4532
|
+
/**
|
|
4533
|
+
* The requested breakdown; null without one.
|
|
4534
|
+
*/
|
|
4535
|
+
export interface Breakdown {
|
|
4536
|
+
atAnchorId: string | null;
|
|
4537
|
+
|
|
4538
|
+
limit: number;
|
|
4539
|
+
|
|
4540
|
+
property: Breakdown.Property;
|
|
4541
|
+
|
|
4542
|
+
stepNumber: number | null;
|
|
4543
|
+
|
|
4544
|
+
truncated: boolean;
|
|
4545
|
+
|
|
4546
|
+
/**
|
|
4547
|
+
* Distinct values seen.
|
|
4548
|
+
*/
|
|
4549
|
+
valueCount: number;
|
|
4550
|
+
}
|
|
4551
|
+
|
|
4552
|
+
export namespace Breakdown {
|
|
4553
|
+
export interface Property {
|
|
4554
|
+
property: string;
|
|
4555
|
+
|
|
4556
|
+
type: 'string' | 'number' | 'boolean';
|
|
4557
|
+
|
|
4558
|
+
path?: Array<string>;
|
|
4559
|
+
}
|
|
4560
|
+
}
|
|
4561
|
+
|
|
4562
|
+
/**
|
|
4563
|
+
* The compared dates; null without a comparison.
|
|
4564
|
+
*/
|
|
4565
|
+
export interface Comparison {
|
|
4566
|
+
from: string;
|
|
4567
|
+
|
|
4568
|
+
kind: 'previous_period' | 'previous_year' | 'custom';
|
|
4569
|
+
|
|
4570
|
+
to: string;
|
|
4571
|
+
}
|
|
4186
4572
|
}
|
|
4187
4573
|
|
|
4188
4574
|
export interface Execution {
|
|
4189
|
-
cacheHit: boolean;
|
|
4190
|
-
|
|
4191
4575
|
generatedAt: string;
|
|
4192
4576
|
|
|
4193
4577
|
queryId: string;
|
|
@@ -4195,8 +4579,6 @@ export namespace DashboardPreviewResponse {
|
|
|
4195
4579
|
sampled: boolean;
|
|
4196
4580
|
|
|
4197
4581
|
warnings: Array<Execution.Warning>;
|
|
4198
|
-
|
|
4199
|
-
cacheAgeMs?: number | null;
|
|
4200
4582
|
}
|
|
4201
4583
|
|
|
4202
4584
|
export namespace Execution {
|
|
@@ -4268,15 +4650,27 @@ export namespace DashboardPreviewResponse {
|
|
|
4268
4650
|
}
|
|
4269
4651
|
|
|
4270
4652
|
export interface Series {
|
|
4653
|
+
/**
|
|
4654
|
+
* Period: '' for the selected dates, or the comparison kind (previous_period,
|
|
4655
|
+
* previous_year, custom).
|
|
4656
|
+
*/
|
|
4271
4657
|
id: string;
|
|
4272
4658
|
|
|
4273
4659
|
label: string;
|
|
4274
4660
|
|
|
4275
4661
|
segments: Array<Series.Segment>;
|
|
4662
|
+
|
|
4663
|
+
/**
|
|
4664
|
+
* The compared dates on a comparison series; null on the selected dates.
|
|
4665
|
+
*/
|
|
4666
|
+
comparison?: Series.Comparison | null;
|
|
4276
4667
|
}
|
|
4277
4668
|
|
|
4278
4669
|
export namespace Series {
|
|
4279
4670
|
export interface Segment {
|
|
4671
|
+
/**
|
|
4672
|
+
* '' for All traffic (always first), otherwise the breakdown segment key.
|
|
4673
|
+
*/
|
|
4280
4674
|
id: string;
|
|
4281
4675
|
|
|
4282
4676
|
columns: Array<Segment.Column>;
|
|
@@ -4303,6 +4697,11 @@ export namespace DashboardPreviewResponse {
|
|
|
4303
4697
|
|
|
4304
4698
|
unfocusedEntryCount: string;
|
|
4305
4699
|
|
|
4700
|
+
/**
|
|
4701
|
+
* The breakdown segment; null on All traffic.
|
|
4702
|
+
*/
|
|
4703
|
+
breakdown?: Segment.Breakdown | null;
|
|
4704
|
+
|
|
4306
4705
|
observationIncompleteCount?: string | null;
|
|
4307
4706
|
|
|
4308
4707
|
timedOutCount?: string | null;
|
|
@@ -4376,6 +4775,9 @@ export namespace DashboardPreviewResponse {
|
|
|
4376
4775
|
|
|
4377
4776
|
denominator: string;
|
|
4378
4777
|
|
|
4778
|
+
/**
|
|
4779
|
+
* Stable across segments and periods; id is not.
|
|
4780
|
+
*/
|
|
4379
4781
|
key: string;
|
|
4380
4782
|
|
|
4381
4783
|
kind: 'ANCHOR' | 'EVENT' | 'PAGE' | 'TERMINAL' | 'OMITTED_STEPS' | 'OTHER_EVENTS';
|
|
@@ -4914,6 +5316,38 @@ export namespace DashboardPreviewResponse {
|
|
|
4914
5316
|
}
|
|
4915
5317
|
}
|
|
4916
5318
|
}
|
|
5319
|
+
|
|
5320
|
+
/**
|
|
5321
|
+
* The breakdown segment; null on All traffic.
|
|
5322
|
+
*/
|
|
5323
|
+
export interface Breakdown {
|
|
5324
|
+
/**
|
|
5325
|
+
* Segment key: v:<value>, $other, or $none.
|
|
5326
|
+
*/
|
|
5327
|
+
key: string;
|
|
5328
|
+
|
|
5329
|
+
kind: 'value' | 'other' | 'not_set';
|
|
5330
|
+
|
|
5331
|
+
label: string;
|
|
5332
|
+
|
|
5333
|
+
rank: number;
|
|
5334
|
+
|
|
5335
|
+
/**
|
|
5336
|
+
* Null for other and not_set.
|
|
5337
|
+
*/
|
|
5338
|
+
value: string | null;
|
|
5339
|
+
}
|
|
5340
|
+
}
|
|
5341
|
+
|
|
5342
|
+
/**
|
|
5343
|
+
* The compared dates on a comparison series; null on the selected dates.
|
|
5344
|
+
*/
|
|
5345
|
+
export interface Comparison {
|
|
5346
|
+
from: string;
|
|
5347
|
+
|
|
5348
|
+
kind: 'previous_period' | 'previous_year' | 'custom';
|
|
5349
|
+
|
|
5350
|
+
to: string;
|
|
4917
5351
|
}
|
|
4918
5352
|
}
|
|
4919
5353
|
|
|
@@ -5286,10 +5720,36 @@ export namespace DashboardResultsResponse {
|
|
|
5286
5720
|
|
|
5287
5721
|
to: string;
|
|
5288
5722
|
|
|
5723
|
+
breakdown?: Scope.Breakdown | null;
|
|
5724
|
+
|
|
5289
5725
|
comparison?: Scope.Comparison | null;
|
|
5290
5726
|
}
|
|
5291
5727
|
|
|
5292
5728
|
export namespace Scope {
|
|
5729
|
+
export interface Breakdown {
|
|
5730
|
+
atAnchorId: string | null;
|
|
5731
|
+
|
|
5732
|
+
limit: number;
|
|
5733
|
+
|
|
5734
|
+
property: Breakdown.Property;
|
|
5735
|
+
|
|
5736
|
+
stepNumber: number | null;
|
|
5737
|
+
|
|
5738
|
+
truncated: boolean;
|
|
5739
|
+
|
|
5740
|
+
valueCount: number;
|
|
5741
|
+
}
|
|
5742
|
+
|
|
5743
|
+
export namespace Breakdown {
|
|
5744
|
+
export interface Property {
|
|
5745
|
+
property: string;
|
|
5746
|
+
|
|
5747
|
+
type: 'string' | 'number' | 'boolean';
|
|
5748
|
+
|
|
5749
|
+
path?: Array<string>;
|
|
5750
|
+
}
|
|
5751
|
+
}
|
|
5752
|
+
|
|
5293
5753
|
export interface Comparison {
|
|
5294
5754
|
from: string;
|
|
5295
5755
|
|
|
@@ -5315,6 +5775,8 @@ export namespace DashboardResultsResponse {
|
|
|
5315
5775
|
points: Array<Series.Point>;
|
|
5316
5776
|
|
|
5317
5777
|
rangeValue: number | null;
|
|
5778
|
+
|
|
5779
|
+
segment?: Series.Segment | null;
|
|
5318
5780
|
}
|
|
5319
5781
|
|
|
5320
5782
|
export namespace Series {
|
|
@@ -5337,6 +5799,18 @@ export namespace DashboardResultsResponse {
|
|
|
5337
5799
|
|
|
5338
5800
|
smoothed: number | null;
|
|
5339
5801
|
}
|
|
5802
|
+
|
|
5803
|
+
export interface Segment {
|
|
5804
|
+
key: string;
|
|
5805
|
+
|
|
5806
|
+
kind: 'value' | 'other' | 'not_set';
|
|
5807
|
+
|
|
5808
|
+
label: string;
|
|
5809
|
+
|
|
5810
|
+
rank: number;
|
|
5811
|
+
|
|
5812
|
+
value: string | null;
|
|
5813
|
+
}
|
|
5340
5814
|
}
|
|
5341
5815
|
}
|
|
5342
5816
|
}
|
|
@@ -5628,6 +6102,16 @@ export namespace DashboardResultsResponse {
|
|
|
5628
6102
|
*/
|
|
5629
6103
|
totalVisitors: number;
|
|
5630
6104
|
|
|
6105
|
+
/**
|
|
6106
|
+
* Per-segment results when `breakdown` was requested; null otherwise.
|
|
6107
|
+
*/
|
|
6108
|
+
breakdown?: Result.Breakdown | null;
|
|
6109
|
+
|
|
6110
|
+
/**
|
|
6111
|
+
* Results for the compared dates when `comparison` was requested; null otherwise.
|
|
6112
|
+
*/
|
|
6113
|
+
comparison?: Result.Comparison | null;
|
|
6114
|
+
|
|
5631
6115
|
/**
|
|
5632
6116
|
* Average time from first step to last step in seconds. Null when no completions.
|
|
5633
6117
|
*/
|
|
@@ -5697,6 +6181,291 @@ export namespace DashboardResultsResponse {
|
|
|
5697
6181
|
*/
|
|
5698
6182
|
avgTimeToNextStep?: number | null;
|
|
5699
6183
|
}
|
|
6184
|
+
|
|
6185
|
+
/**
|
|
6186
|
+
* Per-segment results when `breakdown` was requested; null otherwise.
|
|
6187
|
+
*/
|
|
6188
|
+
export interface Breakdown {
|
|
6189
|
+
scope: Breakdown.Scope;
|
|
6190
|
+
|
|
6191
|
+
/**
|
|
6192
|
+
* Segments in rank order.
|
|
6193
|
+
*/
|
|
6194
|
+
segments: Array<Breakdown.Segment>;
|
|
6195
|
+
}
|
|
6196
|
+
|
|
6197
|
+
export namespace Breakdown {
|
|
6198
|
+
export interface Scope {
|
|
6199
|
+
atAnchorId: string | null;
|
|
6200
|
+
|
|
6201
|
+
limit: number;
|
|
6202
|
+
|
|
6203
|
+
property: Scope.Property;
|
|
6204
|
+
|
|
6205
|
+
stepNumber: number | null;
|
|
6206
|
+
|
|
6207
|
+
truncated: boolean;
|
|
6208
|
+
|
|
6209
|
+
/**
|
|
6210
|
+
* Distinct values seen.
|
|
6211
|
+
*/
|
|
6212
|
+
valueCount: number;
|
|
6213
|
+
}
|
|
6214
|
+
|
|
6215
|
+
export namespace Scope {
|
|
6216
|
+
export interface Property {
|
|
6217
|
+
property: string;
|
|
6218
|
+
|
|
6219
|
+
type: 'string' | 'number' | 'boolean';
|
|
6220
|
+
|
|
6221
|
+
path?: Array<string>;
|
|
6222
|
+
}
|
|
6223
|
+
}
|
|
6224
|
+
|
|
6225
|
+
export interface Segment {
|
|
6226
|
+
/**
|
|
6227
|
+
* Ratio of last-step to first-step volume in this segment, as a percentage.
|
|
6228
|
+
*/
|
|
6229
|
+
overallConversionRate: number;
|
|
6230
|
+
|
|
6231
|
+
segment: Segment.Segment;
|
|
6232
|
+
|
|
6233
|
+
/**
|
|
6234
|
+
* Per-step results for this segment.
|
|
6235
|
+
*/
|
|
6236
|
+
steps: Array<Segment.Step>;
|
|
6237
|
+
|
|
6238
|
+
/**
|
|
6239
|
+
* First-step volume in this segment.
|
|
6240
|
+
*/
|
|
6241
|
+
totalVisitors: number;
|
|
6242
|
+
|
|
6243
|
+
/**
|
|
6244
|
+
* Average time from first step to last step in seconds. Null when no completions.
|
|
6245
|
+
*/
|
|
6246
|
+
overallAvgTimeToConversion?: number | null;
|
|
6247
|
+
}
|
|
6248
|
+
|
|
6249
|
+
export namespace Segment {
|
|
6250
|
+
export interface Segment {
|
|
6251
|
+
/**
|
|
6252
|
+
* Segment key: v:<value>, $other, or $none.
|
|
6253
|
+
*/
|
|
6254
|
+
key: string;
|
|
6255
|
+
|
|
6256
|
+
kind: 'value' | 'other' | 'not_set';
|
|
6257
|
+
|
|
6258
|
+
label: string;
|
|
6259
|
+
|
|
6260
|
+
rank: number;
|
|
6261
|
+
|
|
6262
|
+
/**
|
|
6263
|
+
* Null for other and not_set.
|
|
6264
|
+
*/
|
|
6265
|
+
value: string | null;
|
|
6266
|
+
}
|
|
6267
|
+
|
|
6268
|
+
export interface Step {
|
|
6269
|
+
conversionCount: number;
|
|
6270
|
+
|
|
6271
|
+
/**
|
|
6272
|
+
* Step ratio as a percentage. Event-counting ratios may exceed 100%.
|
|
6273
|
+
*/
|
|
6274
|
+
conversionRate: number;
|
|
6275
|
+
|
|
6276
|
+
/**
|
|
6277
|
+
* Drop-off percentage for participant counting; zero when the previous step volume
|
|
6278
|
+
* is zero. Not a participant loss measure for event counting.
|
|
6279
|
+
*/
|
|
6280
|
+
dropOffRate: number;
|
|
6281
|
+
|
|
6282
|
+
dropOffSessionIds: Array<string>;
|
|
6283
|
+
|
|
6284
|
+
dropOffVisitorIds: Array<string>;
|
|
6285
|
+
|
|
6286
|
+
/**
|
|
6287
|
+
* Ratio to first-step volume as a percentage. Event-counting ratios may exceed
|
|
6288
|
+
* 100%.
|
|
6289
|
+
*/
|
|
6290
|
+
overallConversionRate: number;
|
|
6291
|
+
|
|
6292
|
+
sessionIds: Array<string>;
|
|
6293
|
+
|
|
6294
|
+
stepNumber: number;
|
|
6295
|
+
|
|
6296
|
+
/**
|
|
6297
|
+
* Step volume using the saved counting method: unique people, sessions, or events.
|
|
6298
|
+
*/
|
|
6299
|
+
visitorCount: number;
|
|
6300
|
+
|
|
6301
|
+
visitorIds: Array<string>;
|
|
6302
|
+
|
|
6303
|
+
/**
|
|
6304
|
+
* Average incoming hop time from the previous step to this step, in seconds.
|
|
6305
|
+
*/
|
|
6306
|
+
avgTimeToNextStep?: number | null;
|
|
6307
|
+
}
|
|
6308
|
+
}
|
|
6309
|
+
}
|
|
6310
|
+
|
|
6311
|
+
/**
|
|
6312
|
+
* Results for the compared dates when `comparison` was requested; null otherwise.
|
|
6313
|
+
*/
|
|
6314
|
+
export interface Comparison {
|
|
6315
|
+
overallConversionRate: number;
|
|
6316
|
+
|
|
6317
|
+
scope: Comparison.Scope;
|
|
6318
|
+
|
|
6319
|
+
/**
|
|
6320
|
+
* Same keys and order as `breakdown.segments`.
|
|
6321
|
+
*/
|
|
6322
|
+
segments: Array<Comparison.Segment>;
|
|
6323
|
+
|
|
6324
|
+
/**
|
|
6325
|
+
* Per-step results for the compared dates. Sample ID arrays are empty.
|
|
6326
|
+
*/
|
|
6327
|
+
steps: Array<Comparison.Step>;
|
|
6328
|
+
|
|
6329
|
+
totalVisitors: number;
|
|
6330
|
+
|
|
6331
|
+
overallAvgTimeToConversion?: number | null;
|
|
6332
|
+
}
|
|
6333
|
+
|
|
6334
|
+
export namespace Comparison {
|
|
6335
|
+
export interface Scope {
|
|
6336
|
+
from: string;
|
|
6337
|
+
|
|
6338
|
+
kind: 'previous_period' | 'previous_year' | 'custom';
|
|
6339
|
+
|
|
6340
|
+
to: string;
|
|
6341
|
+
}
|
|
6342
|
+
|
|
6343
|
+
export interface Segment {
|
|
6344
|
+
/**
|
|
6345
|
+
* Ratio of last-step to first-step volume in this segment, as a percentage.
|
|
6346
|
+
*/
|
|
6347
|
+
overallConversionRate: number;
|
|
6348
|
+
|
|
6349
|
+
segment: Segment.Segment;
|
|
6350
|
+
|
|
6351
|
+
/**
|
|
6352
|
+
* Per-step results for this segment.
|
|
6353
|
+
*/
|
|
6354
|
+
steps: Array<Segment.Step>;
|
|
6355
|
+
|
|
6356
|
+
/**
|
|
6357
|
+
* First-step volume in this segment.
|
|
6358
|
+
*/
|
|
6359
|
+
totalVisitors: number;
|
|
6360
|
+
|
|
6361
|
+
/**
|
|
6362
|
+
* Average time from first step to last step in seconds. Null when no completions.
|
|
6363
|
+
*/
|
|
6364
|
+
overallAvgTimeToConversion?: number | null;
|
|
6365
|
+
}
|
|
6366
|
+
|
|
6367
|
+
export namespace Segment {
|
|
6368
|
+
export interface Segment {
|
|
6369
|
+
/**
|
|
6370
|
+
* Segment key: v:<value>, $other, or $none.
|
|
6371
|
+
*/
|
|
6372
|
+
key: string;
|
|
6373
|
+
|
|
6374
|
+
kind: 'value' | 'other' | 'not_set';
|
|
6375
|
+
|
|
6376
|
+
label: string;
|
|
6377
|
+
|
|
6378
|
+
rank: number;
|
|
6379
|
+
|
|
6380
|
+
/**
|
|
6381
|
+
* Null for other and not_set.
|
|
6382
|
+
*/
|
|
6383
|
+
value: string | null;
|
|
6384
|
+
}
|
|
6385
|
+
|
|
6386
|
+
export interface Step {
|
|
6387
|
+
conversionCount: number;
|
|
6388
|
+
|
|
6389
|
+
/**
|
|
6390
|
+
* Step ratio as a percentage. Event-counting ratios may exceed 100%.
|
|
6391
|
+
*/
|
|
6392
|
+
conversionRate: number;
|
|
6393
|
+
|
|
6394
|
+
/**
|
|
6395
|
+
* Drop-off percentage for participant counting; zero when the previous step volume
|
|
6396
|
+
* is zero. Not a participant loss measure for event counting.
|
|
6397
|
+
*/
|
|
6398
|
+
dropOffRate: number;
|
|
6399
|
+
|
|
6400
|
+
dropOffSessionIds: Array<string>;
|
|
6401
|
+
|
|
6402
|
+
dropOffVisitorIds: Array<string>;
|
|
6403
|
+
|
|
6404
|
+
/**
|
|
6405
|
+
* Ratio to first-step volume as a percentage. Event-counting ratios may exceed
|
|
6406
|
+
* 100%.
|
|
6407
|
+
*/
|
|
6408
|
+
overallConversionRate: number;
|
|
6409
|
+
|
|
6410
|
+
sessionIds: Array<string>;
|
|
6411
|
+
|
|
6412
|
+
stepNumber: number;
|
|
6413
|
+
|
|
6414
|
+
/**
|
|
6415
|
+
* Step volume using the saved counting method: unique people, sessions, or events.
|
|
6416
|
+
*/
|
|
6417
|
+
visitorCount: number;
|
|
6418
|
+
|
|
6419
|
+
visitorIds: Array<string>;
|
|
6420
|
+
|
|
6421
|
+
/**
|
|
6422
|
+
* Average incoming hop time from the previous step to this step, in seconds.
|
|
6423
|
+
*/
|
|
6424
|
+
avgTimeToNextStep?: number | null;
|
|
6425
|
+
}
|
|
6426
|
+
}
|
|
6427
|
+
|
|
6428
|
+
export interface Step {
|
|
6429
|
+
conversionCount: number;
|
|
6430
|
+
|
|
6431
|
+
/**
|
|
6432
|
+
* Step ratio as a percentage. Event-counting ratios may exceed 100%.
|
|
6433
|
+
*/
|
|
6434
|
+
conversionRate: number;
|
|
6435
|
+
|
|
6436
|
+
/**
|
|
6437
|
+
* Drop-off percentage for participant counting; zero when the previous step volume
|
|
6438
|
+
* is zero. Not a participant loss measure for event counting.
|
|
6439
|
+
*/
|
|
6440
|
+
dropOffRate: number;
|
|
6441
|
+
|
|
6442
|
+
dropOffSessionIds: Array<string>;
|
|
6443
|
+
|
|
6444
|
+
dropOffVisitorIds: Array<string>;
|
|
6445
|
+
|
|
6446
|
+
/**
|
|
6447
|
+
* Ratio to first-step volume as a percentage. Event-counting ratios may exceed
|
|
6448
|
+
* 100%.
|
|
6449
|
+
*/
|
|
6450
|
+
overallConversionRate: number;
|
|
6451
|
+
|
|
6452
|
+
sessionIds: Array<string>;
|
|
6453
|
+
|
|
6454
|
+
stepNumber: number;
|
|
6455
|
+
|
|
6456
|
+
/**
|
|
6457
|
+
* Step volume using the saved counting method: unique people, sessions, or events.
|
|
6458
|
+
*/
|
|
6459
|
+
visitorCount: number;
|
|
6460
|
+
|
|
6461
|
+
visitorIds: Array<string>;
|
|
6462
|
+
|
|
6463
|
+
/**
|
|
6464
|
+
* Average incoming hop time from the previous step to this step, in seconds.
|
|
6465
|
+
*/
|
|
6466
|
+
avgTimeToNextStep?: number | null;
|
|
6467
|
+
}
|
|
6468
|
+
}
|
|
5700
6469
|
}
|
|
5701
6470
|
}
|
|
5702
6471
|
|
|
@@ -6992,6 +7761,16 @@ export namespace DashboardResultsResponse {
|
|
|
6992
7761
|
reentry: 'FIRST' | 'BEST';
|
|
6993
7762
|
|
|
6994
7763
|
sourceIds: Array<string>;
|
|
7764
|
+
|
|
7765
|
+
/**
|
|
7766
|
+
* The requested breakdown; null without one.
|
|
7767
|
+
*/
|
|
7768
|
+
breakdown?: EffectiveContext.Breakdown | null;
|
|
7769
|
+
|
|
7770
|
+
/**
|
|
7771
|
+
* The compared dates; null without a comparison.
|
|
7772
|
+
*/
|
|
7773
|
+
comparison?: EffectiveContext.Comparison | null;
|
|
6995
7774
|
}
|
|
6996
7775
|
|
|
6997
7776
|
export namespace EffectiveContext {
|
|
@@ -7170,11 +7949,50 @@ export namespace DashboardResultsResponse {
|
|
|
7170
7949
|
|
|
7171
7950
|
to: string;
|
|
7172
7951
|
}
|
|
7952
|
+
|
|
7953
|
+
/**
|
|
7954
|
+
* The requested breakdown; null without one.
|
|
7955
|
+
*/
|
|
7956
|
+
export interface Breakdown {
|
|
7957
|
+
atAnchorId: string | null;
|
|
7958
|
+
|
|
7959
|
+
limit: number;
|
|
7960
|
+
|
|
7961
|
+
property: Breakdown.Property;
|
|
7962
|
+
|
|
7963
|
+
stepNumber: number | null;
|
|
7964
|
+
|
|
7965
|
+
truncated: boolean;
|
|
7966
|
+
|
|
7967
|
+
/**
|
|
7968
|
+
* Distinct values seen.
|
|
7969
|
+
*/
|
|
7970
|
+
valueCount: number;
|
|
7971
|
+
}
|
|
7972
|
+
|
|
7973
|
+
export namespace Breakdown {
|
|
7974
|
+
export interface Property {
|
|
7975
|
+
property: string;
|
|
7976
|
+
|
|
7977
|
+
type: 'string' | 'number' | 'boolean';
|
|
7978
|
+
|
|
7979
|
+
path?: Array<string>;
|
|
7980
|
+
}
|
|
7981
|
+
}
|
|
7982
|
+
|
|
7983
|
+
/**
|
|
7984
|
+
* The compared dates; null without a comparison.
|
|
7985
|
+
*/
|
|
7986
|
+
export interface Comparison {
|
|
7987
|
+
from: string;
|
|
7988
|
+
|
|
7989
|
+
kind: 'previous_period' | 'previous_year' | 'custom';
|
|
7990
|
+
|
|
7991
|
+
to: string;
|
|
7992
|
+
}
|
|
7173
7993
|
}
|
|
7174
7994
|
|
|
7175
7995
|
export interface Execution {
|
|
7176
|
-
cacheHit: boolean;
|
|
7177
|
-
|
|
7178
7996
|
generatedAt: string;
|
|
7179
7997
|
|
|
7180
7998
|
queryId: string;
|
|
@@ -7182,8 +8000,6 @@ export namespace DashboardResultsResponse {
|
|
|
7182
8000
|
sampled: boolean;
|
|
7183
8001
|
|
|
7184
8002
|
warnings: Array<Execution.Warning>;
|
|
7185
|
-
|
|
7186
|
-
cacheAgeMs?: number | null;
|
|
7187
8003
|
}
|
|
7188
8004
|
|
|
7189
8005
|
export namespace Execution {
|
|
@@ -7255,15 +8071,27 @@ export namespace DashboardResultsResponse {
|
|
|
7255
8071
|
}
|
|
7256
8072
|
|
|
7257
8073
|
export interface Series {
|
|
8074
|
+
/**
|
|
8075
|
+
* Period: '' for the selected dates, or the comparison kind (previous_period,
|
|
8076
|
+
* previous_year, custom).
|
|
8077
|
+
*/
|
|
7258
8078
|
id: string;
|
|
7259
8079
|
|
|
7260
8080
|
label: string;
|
|
7261
8081
|
|
|
7262
8082
|
segments: Array<Series.Segment>;
|
|
8083
|
+
|
|
8084
|
+
/**
|
|
8085
|
+
* The compared dates on a comparison series; null on the selected dates.
|
|
8086
|
+
*/
|
|
8087
|
+
comparison?: Series.Comparison | null;
|
|
7263
8088
|
}
|
|
7264
8089
|
|
|
7265
8090
|
export namespace Series {
|
|
7266
8091
|
export interface Segment {
|
|
8092
|
+
/**
|
|
8093
|
+
* '' for All traffic (always first), otherwise the breakdown segment key.
|
|
8094
|
+
*/
|
|
7267
8095
|
id: string;
|
|
7268
8096
|
|
|
7269
8097
|
columns: Array<Segment.Column>;
|
|
@@ -7290,6 +8118,11 @@ export namespace DashboardResultsResponse {
|
|
|
7290
8118
|
|
|
7291
8119
|
unfocusedEntryCount: string;
|
|
7292
8120
|
|
|
8121
|
+
/**
|
|
8122
|
+
* The breakdown segment; null on All traffic.
|
|
8123
|
+
*/
|
|
8124
|
+
breakdown?: Segment.Breakdown | null;
|
|
8125
|
+
|
|
7293
8126
|
observationIncompleteCount?: string | null;
|
|
7294
8127
|
|
|
7295
8128
|
timedOutCount?: string | null;
|
|
@@ -7363,6 +8196,9 @@ export namespace DashboardResultsResponse {
|
|
|
7363
8196
|
|
|
7364
8197
|
denominator: string;
|
|
7365
8198
|
|
|
8199
|
+
/**
|
|
8200
|
+
* Stable across segments and periods; id is not.
|
|
8201
|
+
*/
|
|
7366
8202
|
key: string;
|
|
7367
8203
|
|
|
7368
8204
|
kind: 'ANCHOR' | 'EVENT' | 'PAGE' | 'TERMINAL' | 'OMITTED_STEPS' | 'OTHER_EVENTS';
|
|
@@ -7901,6 +8737,38 @@ export namespace DashboardResultsResponse {
|
|
|
7901
8737
|
}
|
|
7902
8738
|
}
|
|
7903
8739
|
}
|
|
8740
|
+
|
|
8741
|
+
/**
|
|
8742
|
+
* The breakdown segment; null on All traffic.
|
|
8743
|
+
*/
|
|
8744
|
+
export interface Breakdown {
|
|
8745
|
+
/**
|
|
8746
|
+
* Segment key: v:<value>, $other, or $none.
|
|
8747
|
+
*/
|
|
8748
|
+
key: string;
|
|
8749
|
+
|
|
8750
|
+
kind: 'value' | 'other' | 'not_set';
|
|
8751
|
+
|
|
8752
|
+
label: string;
|
|
8753
|
+
|
|
8754
|
+
rank: number;
|
|
8755
|
+
|
|
8756
|
+
/**
|
|
8757
|
+
* Null for other and not_set.
|
|
8758
|
+
*/
|
|
8759
|
+
value: string | null;
|
|
8760
|
+
}
|
|
8761
|
+
}
|
|
8762
|
+
|
|
8763
|
+
/**
|
|
8764
|
+
* The compared dates on a comparison series; null on the selected dates.
|
|
8765
|
+
*/
|
|
8766
|
+
export interface Comparison {
|
|
8767
|
+
from: string;
|
|
8768
|
+
|
|
8769
|
+
kind: 'previous_period' | 'previous_year' | 'custom';
|
|
8770
|
+
|
|
8771
|
+
to: string;
|
|
7904
8772
|
}
|
|
7905
8773
|
}
|
|
7906
8774
|
|