Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

update gtm event names

Ed Platob12fb5794404
diff --git a/web/js/components/smart-handoffs/smart-handoff-modal.js b/web/js/components/smart-handoffs/smart-handoff-modal.js
index 864687d11..f42a86bfa 100644
--- a/web/js/components/smart-handoffs/smart-handoff-modal.js
+++ b/web/js/components/smart-handoffs/smart-handoff-modal.js
@@ -118,7 +118,7 @@ const hideModal = () => {
if (!shouldHideWarning) {
safeLocalStorage.setItem(HIDE_EDS_WARNING, true);
googleTagManager.pushEvent({
- event: 'smart_handoffs_hide_eds_warning_checkbox',
+ event: 'smart_handoffs_toggle_true_hide_warning',
});
} else {
safeLocalStorage.removeItem(HIDE_EDS_WARNING);
diff --git a/web/js/containers/sidebar/smart-handoff.js b/web/js/containers/sidebar/smart-handoff.js
index 8c141dab3..af5c5253b 100644
--- a/web/js/containers/sidebar/smart-handoff.js
+++ b/web/js/containers/sidebar/smart-handoff.js
@@ -182,7 +182,7 @@ class SmartHandoff extends Component {
const { showBoundingBox } = this.state;
if (!showBoundingBox) {
googleTagManager.pushEvent({
- event: 'smart_handoffs_check_target_area',
+ event: 'smart_handoffs_toggle_true_target_area',
});
this.setState({
showBoundingBox: true,
@@ -553,7 +553,7 @@ const mapStateToProps = (state) => {
const mapDispatchToProps = (dispatch) => ({
showWarningModal: (displayDate, selectedLayer, continueToEDS) => {
googleTagManager.pushEvent({
- event: 'smart_handoffs_warning_modal',
+ event: 'smart_handoffs_open_warning_modal',
});
dispatch(
openCustomContent('transferring-to-earthdata-search', {
@@ -571,7 +571,7 @@ const mapDispatchToProps = (dispatch) => ({
},
showGranuleHelpModal: () => {
googleTagManager.pushEvent({
- event: 'smart_handoffs_granule_help_link',
+ event: 'smart_handoffs_open_granule_help_link',
});
dispatch(
openCustomContent('granule-help', {