GithubHelp home page GithubHelp logo

adobeanalytics's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working at @Google
  • ๐ŸŒฑ Iโ€™m currently learning go, elisp
  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on Node.js packages
  • ๐Ÿ“ซ How to reach me: email?
  • ๐Ÿ’ฌ Ask me about anything :)
  • โšก Fun fact: I like exploring caves

kaue's github stats

adobeanalytics's People

Contributors

kaue avatar kauegimenes avatar

Stargazers

 avatar

Watchers

 avatar

adobeanalytics's Issues

1.4 support?

Does this work with the latest Adobe Analytics REST api v1,4?

SyntaxError: Unexpected end of input

error

I'm using the adobe-analytics and getting the above syntax error, Can you fix the above issue?
Because of this error my node server is terminating, can you put the code inside a try-catch block so that my server is not effected.
Thanks in advance

403

The username, sharedSecret, reportSuiteID and the reportData are valid as they have been tested in API explorer.

var  username = '...',
     sharedSecret = '...',
     Report = require('adobe-analytics').Report,
     options = {
          waitTime: 10,
          log: true, 
          version:1.4
     },
     reportData = {
          "reportDescription": {
               "reportSuiteID": "...",
               "dateFrom":"2017-07-01",
               "dateTo":"2017-10-13",
               "dateGranularity":"week",
               "metrics": [{ "id": "visits" }]
         }
     },
     r = new Report(username, sharedSecret, 'sanJose', options);
     r.request('Report.Queue', reportData, function(err, response){
       if (err){ throw new Error(err.message); }
       console.log(response);
     });

I get the below errors, am I missing somthing in the authentication ???

UPDATE: I found that and it works https://github.com/Adobe-Marketing-Cloud/analytics-realtime-dashboard-example/tree/master/js/marketing-cloud-javascript-sdk with the above: username, sharedSecret, reportSuiteID and the reportData.

Maybe its the header setup ... X-WSSE

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.