Interactive interface for browsing global, full-resolution satellite imagery
remove ntpagetag injection and related
Edward Plato625f807251b7
diff --git a/config/default/common/features.json b/config/default/common/features.jsonindex 02d51e450..32d2a3719 100644--- a/config/default/common/features.json+++ b/config/default/common/features.json@@ -22,7 +22,6 @@}},"scripts": [- "https://earthdata.nasa.gov/lib/ntpagetag.js","https://fbm.earthdata.nasa.gov/for/worldview/feedback.js"]}diff --git a/web/js/components/image-download/panel.js b/web/js/components/image-download/panel.jsindex cdeb2b8f4..a4d3c7bfe 100644--- a/web/js/components/image-download/panel.js+++ b/web/js/components/image-download/panel.js@@ -8,7 +8,6 @@ import {import SelectionList from '../util/selector';import ResTable from './grid';import PropTypes from 'prop-types';-import util from '../../util/util';import googleTagManager from 'googleTagManager';const MAX_DIMENSION_SIZE = 8200;@@ -61,7 +60,6 @@ export default class ImageResSelection extends React.Component {);if (url) {- util.metrics('lc=' + encodeURIComponent(dlURL));window.open(dlURL, '_blank');} else {console.log(url);diff --git a/web/js/map/data/cmr.js b/web/js/map/data/cmr.jsindex 41b732bae..6a7f8c141 100644--- a/web/js/map/data/cmr.js+++ b/web/js/map/data/cmr.js@@ -62,8 +62,6 @@ export function dataCmrClient(spec, store) {}queryParameters.data.pageSize = '1000';var deferred = $.Deferred();- var metrics = 'ev=data-download&' + $.param(queryParameters.data, true);- util.metrics(metrics);ns.ajax.submit(queryParameters).done(function(data) {diff --git a/web/js/util/util.js b/web/js/util/util.jsindex fd8ef8bdd..70eb825a1 100644--- a/web/js/util/util.js+++ b/web/js/util/util.js@@ -1,10 +1,3 @@-/* global ntptEventTag */--/* The ntptEventTag global variable is defined by- * https://earthdata.nasa.gov/lib/ntpagetag.js- * which is included via config.scripts in web/config/wv.json-*/-import {isObject as lodashIsObject,each as lodashEach,@@ -974,14 +967,6 @@ export default (function(self) {});};- self.metrics = function() {- if (window.ntptEventTag) {- ntptEventTag.apply(null, arguments);- } else {- console.log('no metrics');- }- };-self.key = {LEFT: 37,RIGHT: 39,