@types/google.analytics
Advanced tools
Comparing version 0.0.35 to 0.0.36
// Type definitions for Google Analytics (Classic and Universal) | ||
// Project: https://developers.google.com/analytics/devguides/collection/gajs/, https://developers.google.com/analytics/devguides/collection/analyticsjs/method-reference | ||
// Definitions by: Ronnie Haakon Hegelund <http://ronniehegelund.blogspot.dk>, Pat Kujawa <http://patkujawa.com> | ||
// Definitions by: Ronnie Haakon Hegelund <http://ronniehegelund.blogspot.dk>, Pat Kujawa <http://patkujawa.com>, Tyler Murphy <https://github.com/tyler-murphy> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -623,9 +623,14 @@ | ||
interface Tracker { | ||
get<T>(fieldName: string): T; | ||
send(hitType: string, opt_fieldObject?: {}): void; | ||
set(fieldName: string, value: string): void; | ||
set(fieldName: string, value: {}): void; | ||
set(fieldName: string, value: number): void; | ||
set(fieldName: string, value: boolean): void; | ||
get(fieldName: string): any; | ||
set(fieldName: string, fieldValue: any): void; | ||
set(fieldsObject: {}): void; | ||
send(hitType: string, ...fields: any[]): void; | ||
send(hitType: string, fieldsObject: {}): void; | ||
} | ||
interface Model { | ||
get(fieldName: string): any; | ||
set(fieldName: string, fieldValue: any, temporary?: boolean): void; | ||
set(fields: {}, fieldValue?: null, temporary?: boolean): void; | ||
} | ||
} | ||
@@ -632,0 +637,0 @@ |
{ | ||
"name": "@types/google.analytics", | ||
"version": "0.0.35", | ||
"version": "0.0.36", | ||
"description": "TypeScript definitions for Google Analytics (Classic and Universal)", | ||
@@ -14,2 +14,7 @@ "license": "MIT", | ||
"url": "http://patkujawa.com" | ||
}, | ||
{ | ||
"name": "Tyler Murphy", | ||
"url": "https://github.com/tyler-murphy", | ||
"githubUsername": "tyler-murphy" | ||
} | ||
@@ -24,4 +29,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "7d4d659345d0fb6424ef9d35cf9f0812331c19719612d3b966756fbe837f8fc5", | ||
"typesPublisherContentHash": "039f38fde5c63a0691db779a34886dc5e2d948ddfc56e0285f73d8ac2fefdab5", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 21 Aug 2017 21:49:18 GMT | ||
* Last updated: Sat, 28 Oct 2017 00:24:49 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: Tracker, UniversalAnalytics, _gaq, _gat, ga, gaClassic | ||
# Credits | ||
These definitions were written by Ronnie Haakon Hegelund <http://ronniehegelund.blogspot.dk>, Pat Kujawa <http://patkujawa.com>. | ||
These definitions were written by Ronnie Haakon Hegelund <http://ronniehegelund.blogspot.dk>, Pat Kujawa <http://patkujawa.com>, Tyler Murphy <https://github.com/tyler-murphy>. |
Sorry, the diff of this file is not supported yet
24616
622