Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

re-enable apify and google tag manager call

Jason Kentc943a7d36d86
diff --git a/web/js/app.js b/web/js/app.js
index 12e735146..7b9dbc5cc 100644
--- a/web/js/app.js
+++ b/web/js/app.js
@@ -132,13 +132,13 @@ class App extends React.Component {
// get user IP address for GTM/GA using https://www.ipify.org/ API
const getIpAddress = async() => {
- // const response = await fetch('https://api.ipify.org?format=json');
- // const json = await response.json();
- // const ipAddress = json.ip;
+ const response = await fetch('https://api.ipify.org?format=json');
+ const json = await response.json();
+ const ipAddress = json.ip;
googleTagManager.pushEvent({
event: 'ipAddress',
- // ipAddress,
+ ipAddress,
});
};