-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closed #1275 The Google Analytics upload script has been changed.
- Loading branch information
1 parent
316c0e3
commit ab56151
Showing
12 changed files
with
136 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"products": [ | ||
{ | ||
"display_name": "DR1", | ||
"fields": [], | ||
"releases": [ | ||
"dr1" | ||
], | ||
"table": "DR1_MAIN", | ||
"schema": "DES_ADMIN", | ||
"database": "desdr", | ||
"type": "catalog", | ||
"class": "coadd_objects", | ||
"name": "dr1_coadd", | ||
"association": [ | ||
{ | ||
"ucd": "meta.id;meta.main", | ||
"property": "coadd_object_id" | ||
}, | ||
{ | ||
"ucd": "pos.eq.ra;meta.main", | ||
"property": "ra" | ||
}, | ||
{ | ||
"ucd": "pos.eq.dec;meta.main", | ||
"property": "dec" | ||
}, | ||
{ | ||
"ucd": "phys.size.smajAxis;instr.det;meta.main", | ||
"property": "a_image" | ||
}, | ||
{ | ||
"ucd": "phys.size.sminAxis;instr.det;meta.main", | ||
"property": "b_image" | ||
}, | ||
{ | ||
"ucd": "pos.posAng;instr.det;meta.main", | ||
"property": "theta_j2000" | ||
}, | ||
{ | ||
"ucd": "phot.mag;meta.main;em.opt.g", | ||
"property": "mag_auto_g" | ||
}, | ||
{ | ||
"ucd": "phot.mag;meta.main;em.opt.r", | ||
"property": "mag_auto_r" | ||
}, | ||
{ | ||
"ucd": "phot.mag;meta.main;em.opt.i", | ||
"property": "mag_auto_i" | ||
}, | ||
{ | ||
"ucd": "phot.mag;meta.main;em.opt.z", | ||
"property": "mag_auto_z" | ||
}, | ||
{ | ||
"ucd": "phot.mag;meta.main;em.opt.Y", | ||
"property": "mag_auto_y" | ||
} | ||
] | ||
} | ||
], | ||
"ticket": "GZY650", | ||
"register_username": "gverde" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,26 @@ | ||
// ## EXEMPLO DE GOOGLE ANALYTICS ## | ||
// To enable Google Analytics in one of the environments. | ||
// Create a new file called google-analytics.js copy and paste the template below, replace the ID G-XXXXXXXXXX with the Google Analitcs key. | ||
// In the compose docker mount the file in order to overwrite the template in the /var/www/ga directory. | ||
|
||
// COLABORATION | ||
// <!-- Global site tag (gtag.js) - Google Analytics --> | ||
// <script async src="https://www.googletagmanager.com/gtag/js?id=G-EEW8XVF479"></script> | ||
// <script> | ||
// window.dataLayer = window.dataLayer || []; | ||
// function gtag(){dataLayer.push(arguments);} | ||
// gtag('js', new Date()); | ||
// GA ID for Colaboration enviroment: G-EEW8XVF479 | ||
// GA ID for Public enviroment: G-2JMWE98YJD | ||
|
||
// gtag('config', 'G-EEW8XVF479'); | ||
// </script> | ||
// Global site tag(gtag.js) - Google Analytics | ||
// NOTE: Uncomment the script below | ||
|
||
// PUBLIC | ||
// <!-- Global site tag (gtag.js) - Google Analytics --> | ||
// <script async src="https://www.googletagmanager.com/gtag/js?id=G-2JMWE98YJD"></script> | ||
// <script> | ||
// window.dataLayer = window.dataLayer || []; | ||
// function gtag(){dataLayer.push(arguments);} | ||
// gtag('js', new Date()); | ||
// function loadGoogleAnalytics() { | ||
// var ga = document.createElement('script'); | ||
// ga.type = 'text/javascript'; | ||
// ga.async = true; | ||
// ga.src = 'https://www.googletagmanager.com/gtag/js?id=G-EEW8XVF479'; | ||
// var s = document.getElementsByTagName('script')[0]; | ||
// s.parentNode.insertBefore(ga, s); | ||
// } | ||
|
||
// gtag('config', 'G-2JMWE98YJD'); | ||
// </script> | ||
// loadGoogleAnalytics(); | ||
|
||
// window.dataLayer = window.dataLayer || []; | ||
// function gtag() { dataLayer.push(arguments); } | ||
// gtag('js', new Date()); | ||
// gtag('config', 'G-EEW8XVF479'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters