title: Including Google Analytics Embed API third party dashboard example javascript in my Rails app
body: <p>I am following this example here for the <a href="https://ga-dev-tools.appspot.com/embed-api/third-party-visualizations/" rel="nofollow">Google Analytics Embed API</a> to implement a GA third party dashboard via Chart.js in my app and I am having trouble on <code>Step 3</code> where we are including all the javascript libraries.</p>
  
  <p>I was able to load the Embed API in my <code>application.js</code> as so</p>
  
  <pre><code>(function(w,d,s,g,js,fs){
    g=w.gapi||(w.gapi={});g.analytics={q:[],ready:function(f){this.q.push(f);}};
    js=d.createElement(s);fs=d.getElementsByTagName(s)[0];
    js.src='https://apis.google.com/js/platform.js';
    fs.parentNode.insertBefore(js,fs);js.onload=function(){g.load('analytics');};
  }(window,document,'script'));
  
  //= require /public/javascript/Chart.min.j
  //= require /public/javascript/moment.min.js
  //= require /public/javascript/embed-api/date-range-selector.js
  //= require /public/javascript/embed-api/active-users.js
  </code></pre>
  
  <p>It shows in <code>Networks</code> section in the dev tools that the <code>cb=gapi.loaded_0</code> is getting loaded. However, the other libraries are not. <code>Charts.min.js</code> and <code>moments.min.js</code> are available online but I wan't sure where I can find <code>embed-api/date-range-selector.js</code> or <code>embed-api/active-users.js</code> to retrieve into my app?</p>
  
  <p><strong>EDIT1</strong>
  Found the files here: <a href="https://github.com/googleanalytics/ga-dev-tools" rel="nofollow">https://github.com/googleanalytics/ga-dev-tools</a></p>