@artsy/cohesion
Advanced tools
Comparing version 1.15.0 to 1.16.0
@@ -0,1 +1,13 @@ | ||
# v1.16.0 (Tue Jun 30 2020) | ||
#### 🚀 Enhancement | ||
- Track taps on the iOS promo space [#69](https://github.com/artsy/cohesion/pull/69) ([@mikehrom](https://github.com/mikehrom)) | ||
#### Authors: 1 | ||
- mike hromchak ([@mikehrom](https://github.com/mikehrom)) | ||
--- | ||
# v1.15.0 (Tue Jun 30 2020) | ||
@@ -2,0 +14,0 @@ |
@@ -95,2 +95,6 @@ import { AuthImpression, CreatedAccount, ResetYourPassword, SuccessfullyLoggedIn } from "./Authentication"; | ||
/** | ||
* Corresponds to {@link TappedPromoSpace} | ||
*/ | ||
tappedPromoSpace = "tappedPromoSpace", | ||
/** | ||
* Corresponds to {@link TimeOnPage} | ||
@@ -97,0 +101,0 @@ */ |
@@ -42,3 +42,4 @@ "use strict"; | ||
ActionType["tappedConsign"] = "tappedConsign"; | ||
ActionType["tappedPromoSpace"] = "tappedPromoSpace"; | ||
ActionType["timeOnPage"] = "timeOnPage"; | ||
})(ActionType || (exports.ActionType = ActionType = {})); |
@@ -192,1 +192,29 @@ import { ActionType } from "."; | ||
} | ||
/** | ||
* A user taps the promo space on the iOS home screen | ||
* | ||
* This schema describes events sent to Segment from [[tappedPromoSpace]] | ||
* | ||
* @example | ||
* ``` | ||
* { | ||
* action: "tappedPromoSpace", | ||
* context_module: "promoSpace", | ||
* context_screen_owner_type: "home", | ||
* destination_screen_owner_type: "collection", | ||
* destination_screen_owner_slug: "artists-impacted-museum-shows", | ||
* destination_path: "/collection/artists-impacted-museum-shows", | ||
* subject: "Explore the collection" | ||
* } | ||
* ``` | ||
*/ | ||
export interface TappedPromoSpace { | ||
action: ActionType.tappedPromoSpace; | ||
context_module: ContextModule; | ||
context_screen_owner_type: ScreenOwnerType; | ||
destination_screen_owner_type?: ScreenOwnerType; | ||
destination_screen_owner_id?: string; | ||
destination_screen_owner_slug?: string; | ||
destination_path: string; | ||
subject: string; | ||
} |
@@ -55,2 +55,3 @@ /** | ||
popUpModal = "popUpModal", | ||
promoSpace = "promoSpace", | ||
recentlySavedRail = "recentlySavedRail", | ||
@@ -57,0 +58,0 @@ recentlyViewedRail = "recentlyViewedRail", |
@@ -69,2 +69,3 @@ "use strict"; | ||
ContextModule["popUpModal"] = "popUpModal"; | ||
ContextModule["promoSpace"] = "promoSpace"; | ||
ContextModule["recentlySavedRail"] = "recentlySavedRail"; | ||
@@ -71,0 +72,0 @@ ContextModule["recentlyViewedRail"] = "recentlyViewedRail"; |
{ | ||
"name": "@artsy/cohesion", | ||
"version": "1.15.0", | ||
"version": "1.16.0", | ||
"description": "Analytics schema and library helpers", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94280
2197