Passing Google Profile IDs

With Embeddedanalytics Agency Edition you have the capability of creating a single chart/widget and utilizing it against other Analytics accounts. This is accomplished by passing a google profile identifier corresponding to the account you want to show data for. This allows you to create a universal dashboard "page" composed of various EmbeddedAnalytics charts and widgets. With minor scripting to pass in a Google Analytics profile, the chart(s) will render the applicable data.  The result: an easy, quick and affordable way to add Dashboarding to your Agency offering/CMS package.

Consider the following basic "daily pageviews" area chart against the embeddedanalytics.com profile:

Here is the embedding code:

<iframe marginwidth="0" frameborder="0" marginheight="0" width="500" height="250" src="http://www.embeddedanalytics.com/reports/displayreport?reportcode=OZPyqhNnZ8&chckcode=gaDwxTClG7jkB9tf9ZfNCj" type="text/html" scrolling="no" title="EmbeddedAnalytics - Google Analytics Reporting Tool"></iframe>

Now suppose you would like to have the same chart but have it pull data from a different Google Analytics profile. All we have to do is pass the Google Profile ID (available from Google Analytics and also surfaced within EmbeddedAnalytics). To continue with our example we want to have the chart above work against google profile 12606821. Here is the code:

<iframe marginwidth="0" frameborder="0" marginheight="0" width="500" height="250" src="http://www.embeddedanalytics.com/reports/displayreport?reportcode=OZPyqhNnZ8&chckcode=gaDwxTClG7jkB9tf9ZfNCj&googleprofilesid=12606821" type="text/html" scrolling="no" title="EmbeddedAnalytics - Google Analytics Reporting Tool"></iframe>

Note the additional googleprofilesid parameter. Here is the resulting chart: