@salesforcedevs/mrkt-components
Advanced tools
Comparing version 1.3.3 to 1.3.46
{ | ||
"name": "@salesforcedevs/mrkt-components", | ||
"version": "1.3.3", | ||
"version": "1.3.46", | ||
"description": "Marketing Lightning web components for DSC", | ||
@@ -18,3 +18,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "c68f4f3335a16a16656d9e95d10fe8443e48f78a" | ||
"gitHead": "decc9a3791a30eb8d16fb7cffb3adf7092ab863b" | ||
} |
import { api, LightningElement } from "lwc"; | ||
import cx from "classnames"; | ||
import { track } from "dxUtils/analytics"; | ||
@@ -38,2 +39,14 @@ export default class TwoColPanelSection extends LightningElement { | ||
} | ||
private handleSignUpClick(e: PointerEvent) { | ||
if (this.buttonHref.includes("signup")) { | ||
track(e.currentTarget!, "custEv_signupStart", { | ||
click_text: this.buttonText, | ||
element_title: this.title, | ||
element_type: "card", | ||
click_url: this.buttonHref, | ||
content_category: "cta" | ||
}); | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
648488
1455