<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Where to add the Google Analytics script to a Web App Builder (on locally hosted server) site? in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/where-to-add-the-google-analytics-script-to-a-web/m-p/1290591#M23015</link>
    <description>&lt;P&gt;ESRI builder makes it very complicated just to include google analytics&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2023 12:54:35 GMT</pubDate>
    <dc:creator>JeromeAlano</dc:creator>
    <dc:date>2023-05-18T12:54:35Z</dc:date>
    <item>
      <title>Where to add the Google Analytics script to a Web App Builder (on locally hosted server) site?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/where-to-add-the-google-analytics-script-to-a-web/m-p/65145#M1843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to add the Google Analytics script to a locally hosted Web App Builder site.&amp;nbsp; I've put the script in the Index.html file.&amp;nbsp; According to the&amp;nbsp; network traffic the site is sending information to Google Analytics, however, no users are being logged.&amp;nbsp; Is using Google Analytics with a web app builder site allowed or has anyone gotten this to work?&amp;nbsp; If so, is there a specific location where the script needs to be placed?&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason Buck&lt;/P&gt;&lt;P&gt;La Crosse, WI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 17:23:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/where-to-add-the-google-analytics-script-to-a-web/m-p/65145#M1843</guid>
      <dc:creator>JasonBuck</dc:creator>
      <dc:date>2015-09-15T17:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Where to add the Google Analytics script to a Web App Builder (on locally hosted server) site?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/where-to-add-the-google-analytics-script-to-a-web/m-p/65146#M1844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I have this in the head section of my index.html and I get analytic data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp; &amp;lt;script&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i&lt;R&gt;=i&lt;R&gt;||function(){&lt;/R&gt;&lt;/R&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; (i&lt;R&gt;.q=i&lt;R&gt;.q||[]).push(arguments)},i&lt;R&gt;.l=1*new Date();a=s.createElement(o),&lt;/R&gt;&lt;/R&gt;&lt;/R&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
&amp;nbsp;&amp;nbsp;&amp;nbsp; })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

&amp;nbsp;&amp;nbsp;&amp;nbsp; ga('create', 'UA-My code', 'auto');
&amp;nbsp;&amp;nbsp;&amp;nbsp; ga('send', 'pageview');

&amp;nbsp; &amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:30:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/where-to-add-the-google-analytics-script-to-a-web/m-p/65146#M1844</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-10T22:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Where to add the Google Analytics script to a Web App Builder (on locally hosted server) site?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/where-to-add-the-google-analytics-script-to-a-web/m-p/65147#M1845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp; That's where I have it as well.&amp;nbsp; After checking Google Analytics again, I just realized that the date range being displayed didn't include today.&amp;nbsp; It was actually tracking.&amp;nbsp; Thank you for the confirmation on the script location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 18:08:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/where-to-add-the-google-analytics-script-to-a-web/m-p/65147#M1845</guid>
      <dc:creator>JasonBuck</dc:creator>
      <dc:date>2015-09-15T18:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Where to add the Google Analytics script to a Web App Builder (on locally hosted server) site?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/where-to-add-the-google-analytics-script-to-a-web/m-p/65148#M1846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Jason!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I happened to stumble across this thread.&amp;nbsp; Thought you might find this useful for the future &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/igrasshoff/esri-wab-widget-google-analytics" title="https://github.com/igrasshoff/esri-wab-widget-google-analytics"&gt;GitHub - igrasshoff/esri-wab-widget-google-analytics: A google analytics widget &amp;amp; template for use in Esri Web AppBuilde…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 21:02:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/where-to-add-the-google-analytics-script-to-a-web/m-p/65148#M1846</guid>
      <dc:creator>IanGrasshoff</dc:creator>
      <dc:date>2016-09-09T21:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Where to add the Google Analytics script to a Web App Builder (on locally hosted server) site?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/where-to-add-the-google-analytics-script-to-a-web/m-p/1130761#M21760</link>
      <description>&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;I found a widget&amp;nbsp;&lt;A href="https://github.com/igrasshoff/esri-wab-widget-google-analytics" target="_blank"&gt;https://github.com/igrasshoff/esri-wab-widget-google-analytics&lt;/A&gt;. Do you have any idea on this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added the widget in WAB developer edition. When I launch the application not able to view the widget&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 12:50:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/where-to-add-the-google-analytics-script-to-a-web/m-p/1130761#M21760</guid>
      <dc:creator>mohannainar1</dc:creator>
      <dc:date>2022-01-05T12:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Where to add the Google Analytics script to a Web App Builder (on locally hosted server) site?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/where-to-add-the-google-analytics-script-to-a-web/m-p/1290589#M23014</link>
      <description>&lt;P&gt;Its very frustrating how ESRI builder having difficulties just to include google analytics. Does anyone here successfully integrated their google analytics to their Dashboard?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 12:44:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/where-to-add-the-google-analytics-script-to-a-web/m-p/1290589#M23014</guid>
      <dc:creator>JeromeAlano</dc:creator>
      <dc:date>2023-05-18T12:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Where to add the Google Analytics script to a Web App Builder (on locally hosted server) site?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/where-to-add-the-google-analytics-script-to-a-web/m-p/1290591#M23015</link>
      <description>&lt;P&gt;ESRI builder makes it very complicated just to include google analytics&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 12:54:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/where-to-add-the-google-analytics-script-to-a-web/m-p/1290591#M23015</guid>
      <dc:creator>JeromeAlano</dc:creator>
      <dc:date>2023-05-18T12:54:35Z</dc:date>
    </item>
  </channel>
</rss>

