Coder Social home page Coder Social logo

jensbits / cf-ga-service Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 7.0 17 KB

Accessing Google Analytics API with Service Account and Coldfusion

Home Page: http://www.jensbits.com/2013/12/28/google-analytics-api-offline-access-with-service-account-and-coldfusion/

License: The Unlicense

ColdFusion 100.00%

cf-ga-service's People

Contributors

jensbits avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cf-ga-service's Issues

The data method was not found.

Hi,

I tried to use your cfc. (running on CF8). followed all the steps, but getting the following error:

The data method was not found.

Either there are no methods with the specified method name and argument types, or the data method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that matched the provided arguments. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity.

The error occurred in D:\Websites\ga.autoexposure.co.uk\cfanalytics.cfc: line 118
116 :
117 : <!--- --->
118 : <cfset local.request = variables.analytics.data().ga().get(arguments.tableId,
119 : arguments.startDate,
120 : arguments.endDate,

Could you help please? many thanks!

Thanks, and a hint if you connect but get no data

Hello. Thanks very much for providing this code! Initial implementation was straightforward, although we tripped up on not noticing that the tableId was supposed to be a profile ID rather than an account ID. Thus, we were getting a success result, but no data.

We finally saw the problem by using to prove the code was working overall with our account, and then noticing the profile IDs and trying them instead of the account ID.

-Ken

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.