Google Analytics Embed API Query in Javascript
- or -
Post a project like this3076
£30(approx. $37)
- Posted:
- Proposals: 3
- Remote
- #940228
- Awarded
Description
Experience Level: Intermediate
General information for the website: Want to create a query for the google analytics embed api in javascript
Description of requirements/features: Want to create a query for the google analytics embed api in javascript which queries multiple dates and then stores the results as variables. As an example I have the below:
function drawKpis(ids) {
query({
'ids': ids,
'metrics': 'ga:sessions,ga:transactionRevenue',
'start-date': '2014-10-29',
'end-date': '2014-10-29'
})
list of dates
dates = [2014-10-29,2014-9-29,2014-5-29,2014-3-29]
then store the result of each query as a variable eg.
var 2014-10-29 = x
var 2014-10-29 = y
var 2014-10-29 = j
Extra notes:
Description of requirements/features: Want to create a query for the google analytics embed api in javascript which queries multiple dates and then stores the results as variables. As an example I have the below:
function drawKpis(ids) {
query({
'ids': ids,
'metrics': 'ga:sessions,ga:transactionRevenue',
'start-date': '2014-10-29',
'end-date': '2014-10-29'
})
list of dates
dates = [2014-10-29,2014-9-29,2014-5-29,2014-3-29]
then store the result of each query as a variable eg.
var 2014-10-29 = x
var 2014-10-29 = y
var 2014-10-29 = j
Extra notes:
Dan P.
100% (37)Projects Completed
31
Freelancers worked with
26
Projects awarded
31%
Last project
11 Aug 2021
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies