Uploaded image for project: 'University of Michigan'
  1. University of Michigan
  2. UMICH-733

Google analytics script not functioning on mobile portal

    Details

      Description

      No analytics are being reported for the mobile portal. The following script should be embedded on the mobile gateway using the sakai:pdaHtmlInclude: site property:

      <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-1354622-4']); _gaq.push(['_trackPageview']); (function()

      { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); }

      )(); </script>

      It looks like the script is on !gateway already, but I suspect the new gateway needs to be modified to enable the script.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                gsilver Gonzalo Silverio
                Reporter:
                johnpj John Johnston
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: