Closed ldecicco-USGS closed 6 years ago
So, if a analytic id is used, the source will have:
<script type="application/javascript" src="https://www2.usgs.gov/scripts/analytics/usgs-analytics.js"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=XXX2"></script> <script> window.dataLayer = window.dataLayer \|\| []; function gtag(){dataLayer.push(arguments)}; gtag('js', new Date()); gtag('config', 'XXX'); </script>
And if not, none of that is there (tested with water use viz)
What was the secret? Is it just that you can't open and close {{#info}} twice?
{{#info}}
That's my observation. I really need to learn the finer details of mustache templating stuff
So, if a analytic id is used, the source will have:
And if not, none of that is there (tested with water use viz)