Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6b441f2d42

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README.md
embedded_ga.js
embedded_ga_host.css
embedded_ga_host.html
embedded_ga_host.js
ga_details.js
icon_128.png
launch.js
main.css
main.html
manifest.json

README.md

Analytics

This example demonstrates how to include support for Google Analytics in your packaged application. Since the Google Analytics resources reside on a different domain to your application a meta tag is set in the embedded_ga_host.html file denoting the appropriate access that is required. The embedded_ga_host.html file is also placed in a sandbox.

Please note: You will need to modify ga_details.js to include real Google Analytics credentials.

Resources

Something went wrong with that request. Please try again.