Giter Site home page Giter Site logo

umbraco-community / umbraco-analytics Goto Github PK

View Code? Open in Web Editor NEW
40.0 21.0 31.0 29.87 MB

Google Analytics for the Umbraco CMS

JavaScript 72.58% C# 1.63% HTML 13.72% ASP 4.66% CSS 6.66% XSLT 0.74% Batchfile 0.01%
umbraco-cms google-analytics analytics umbraco umbraco-packages

umbraco-analytics's Introduction

Analytics

Google Analytics for the Umbraco CMS for V7 aka Belle & newer only

There is a nightly/continious build you can obtain from AppVeyor

CI Develop Branch Build Status

Dev Branch Build status

Release/Master Branch Build Status

Release/Master Branch Build status

Download the latest build from CI

You can download the latest commit to the develop branch if it builds sucessfully on AppVeyor as either a NuGet package or normal Umbraco zip package https://ci.appveyor.com/project/warrenbuckley/analytics/branch/develop/artifacts

Or for the latest stable Release you can check the artifacts here https://ci.appveyor.com/project/warrenbuckley/analytics/branch/master/artifacts

Analytics.Site

There is a Umbraco V7 site in the solution to test with the default credentials are as follows:

Username: [email protected]
Password: password

umbraco-analytics's People

Contributors

abjerner avatar bjarnef avatar emetico avatar jeavon avatar marcstoecker avatar warrenbuckley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

umbraco-analytics's Issues

Add ability to de-authorise an account

Just a thought though, it could be worth having a "De-Authorise" button which clears the connection to Google. At the moment it's not clear how you would go about it, I'm guessing you just authorise against another account.

No charts when debug="false" in web.config/compilation

Hi,

On our local 7.1.6 dev environment everything works like a charm with the latest Analtics package. On our staging environment we get a javascript error when in web.config in the compilation element the debug attribite is set tot false:

SyntaxError: Unexpected token =
at Function (native)
at e (http://stadgenoot-staging.azurewebsites.net/DependencyHandler.axd?s=L3VtYnJ…dlcGlja2VyL2RhdGVyYW5nZXBpY2tlci5qczs&t=Javascript&cdv=315663375:1275:4408)
at s.template (http://stadgenoot-staging.azurewebsites.net/DependencyHandler.axd?s=L3VtYnJ…dlcGlja2VyL2RhdGVyYW5nZXBpY2tlci5qczs&t=Javascript&cdv=315663375:1275:4477)
at e.Scale.e.Element.extend.buildYLabels (http://stadgenoot-staging.azurewebsites.net/DependencyHandler.axd?s=L3VtYnJ…lcGlja2VyL2RhdGVyYW5nZXBpY2tlci5qczs&t=Javascript&cdv=315663375:1275:18637)
at e.Scale.e.Element.extend.fit (http://stadgenoot-staging.azurewebsites.net/DependencyHandler.axd?s=L3VtYnJ…lcGlja2VyL2RhdGVyYW5nZXBpY2tlci5qczs&t=Javascript&cdv=315663375:1275:19203)
at e.Scale.e.Element.extend.initialize (http://stadgenoot-staging.azurewebsites.net/DependencyHandler.axd?s=L3VtYnJ…lcGlja2VyL2RhdGVyYW5nZXBpY2tlci5qczs&t=Javascript&cdv=315663375:1275:18522)
at e.Element (http://stadgenoot-staging.azurewebsites.net/DependencyHandler.axd?s=L3VtYnJ…lcGlja2VyL2RhdGVyYW5nZXBpY2tlci5qczs&t=Javascript&cdv=315663375:1275:13464)
at new e (http://stadgenoot-staging.azurewebsites.net/DependencyHandler.axd?s=L3VtYnJ…dlcGlja2VyL2RhdGVyYW5nZXBpY2tlci5qczs&t=Javascript&cdv=315663375:1275:2190)
at Object.i.Type.extend.buildScale (http://stadgenoot-staging.azurewebsites.net/DependencyHandler.axd?s=L3VtYnJ…lcGlja2VyL2RhdGVyYW5nZXBpY2tlci5qczs&t=Javascript&cdv=315663375:1275:38149)
at Object. (http://stadgenoot-staging.azurewebsites.net/DependencyHandler.axd?s=L3VtYnJ…lcGlja2VyL2RhdGVyYW5nZXBpY2tlci5qczs&t=Javascript&cdv=315663375:1275:36164)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:12 (anonymous function)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:11 (anonymous function)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 iDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 iDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 iDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 iDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 (anonymous function)DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 e.$evalDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 e.$digestDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 e.$applyDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:14 jDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:15 rDependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS9qcXVlcnktMi4wLjMubWluLmpzOy91bWJyYWNvL2xpYi9hbmd…:16 v.onreadystatechange

Google.Apis.Auth.Mvc4.dll causing error for Grid feature in Umbraco 7.2.*

Hi Guys,

I'll refer to this thread

http://our.umbraco.org/forum/umbraco-7/using-umbraco-7/59567-Umbraco-72-error-at-GetGridHtml?p=0#comment204075

to bring to your attention an issue I noticed when the Google.Apis.Auth.Mvc4.dll is in the bin directory for my site. I read somewhere that you guys are not even using this anymore. Perhaps you have more knowledge on what's going on here.

Anyway I thought I would make you aware of this.

Regards,
Stephen

Umbraco Analytics not working with Umbraco 7

Hi
Analytics section is missing in backoffice after installing Analytics on Umbraco 7.7.8 or 7.7.7. No errors on browser console or log files.
Is Analytics not compatible with latest version of Umbraco?

Br
Ali

Getting TypeError: after installing on Umbraco version 7.5.9

Hi,

I just installed on version 7.5.9 but i am getting this errors.

TypeError: settingsResource.getDateFilter is not a function
    at new <anonymous> (device.controller.js?cdv=1049208809:10)
    at d (angular.min.js?cdv=1049208809:28)
    at Object.instantiate (angular.min.js?cdv=1049208809:28)
    at angular.min.js?cdv=1049208809:53
    at angular.min.js?cdv=1049208809:44
    at n (angular.min.js?cdv=1049208809:7)
    at k (angular.min.js?cdv=1049208809:44)
    at e (angular.min.js?cdv=1049208809:40)
    at angular.min.js?cdv=1049208809:39
    at angular.min.js?cdv=1049208809:158
(anonymous) @ angular.min.js?cdv=1049208809:63
(anonymous) @ angular.min.js?cdv=1049208809:54
i @ angular.min.js?cdv=1049208809:79
i @ angular.min.js?cdv=1049208809:79
i @ angular.min.js?cdv=1049208809:79
i @ angular.min.js?cdv=1049208809:79
(anonymous) @ angular.min.js?cdv=1049208809:80
$eval @ angular.min.js?cdv=1049208809:92
$digest @ angular.min.js?cdv=1049208809:90
$apply @ angular.min.js?cdv=1049208809:92
j @ angular.min.js?cdv=1049208809:101
r @ angular.min.js?cdv=1049208809:104
w.onreadystatechange @ angular.min.js?cdv=1049208809:106
angular.min.js?cdv=1049208809:63 TypeError: settingsResource.getall is not a function
    at new <anonymous> (settings.controller.js?cdv=1049208809:8)
    at d (angular.min.js?cdv=1049208809:28)
    at Object.instantiate (angular.min.js?cdv=1049208809:28)
    at angular.min.js?cdv=1049208809:53
    at angular.min.js?cdv=1049208809:44
    at n (angular.min.js?cdv=1049208809:7)
    at k (angular.min.js?cdv=1049208809:44)
    at e (angular.min.js?cdv=1049208809:40)
    at angular.min.js?cdv=1049208809:39
    at angular.min.js?cdv=1049208809:158

Installed Package - Does not show up on tree

Just tried to re-install this on Umbraco 7.4.3 and the link never showed up on my tree. I also checked my user account to see if I needed to enable it and I still couldn't find Analytics there.

What do I have to add to make this show up in the backoffice tree?

Problem with Authorization

Hello,

I get this when I click Authorize then Login With Google,

image

I can't figure out what am I doing wrong :(

"Last 7 days" dashboard chart only load on page load

The chart in the dashboard "Last 7 days" only seems to load when the page loads or you e.g. access /umbraco/#/analytics/analyticsTree/view/dashboard

When you choose another tree node and go back to root node (Analytics) it doesn't render the chart.

Change of date range not completely update chart

When you change the date range, it does update the chart. However with the new interactive features in the new version of Chart.js, it seems to keep the old version of the chart when hovering the chart.

I think we somehow need to update/refresh/redraw the chart after the date range has been changed.

Settings page fail in Umbraco versions 7.7.1 and 7.6.4

We have tried to configure the plugin in Umbraco version 7.7.1 and 7.6.4 and the settings screen does not show the "Authorize" buttons, in both cases we show what is attached in the attached image. Additionally we have done the configuration test in version 7.6.3 and it works perfectly.
You have some idea that you may be failing in these versions.
The plugin is pretty good.
Thanks for the reply
error_analytics

Change hardcoded currency

Consider how to seet which currency that should be used. In Google Analytics there is a setting "currency shown as", which I think you can get through the API.

2014-10-01_23-18-31

Or perhaps a dropdown in the package settings view with a dropdown with the same currencies. I am not sure how the it will affect the price - in my example I use ecommerce data from a webshop, where the currency is send to Google Analytics in DKK.

Not working with Umbraco 7.7.2

I've recently upgrade one of my websites from 7.5 to the latest version (7.7.2) and the Analytics Package no longer works.

I've attached a screenshot depicting what I am seeing.

image

Thanks,
Mike

Dynamic handling of languages

I noticed in the install code that the section is being added in the en.xml. It would be nice if it could be possible to update all translations somehow...not saying you need to know each language but at least just update it so people will see the english terms...it's still better than being faced with [SectionName]...I'll be happy to provide a danish translation btw. :)

Package install Analytics_1.1.0-master in Umbraco 7.2.2

Installed package Analytics_1.1.0-master.zip in Umbraco 7.2.2
Debug was set to false during install.

It seems to have added language keys for both English and Danish.
When clicking Authorize it open /App_Plugins/analytics/backoffice/OAuth.aspx in a new window (doesn't seem to include parameters? ) and returns the message "Sorry you do not have access."

2015-03-02_19-44-18

What files to publish?

Not an issue but, after successfully installing locally, what files and folders are required to be uploaded to the remote web server?

Thank you.

Conflict with table sorting

When there are multiple tables in a view, the table sorting is in conflict with each other and in some cases change sorting in another table. The table sorting needs to be restricted to sort only the table itself.

The various lists get really long for large sites

Since we updated the controllers to return the first 1000 items for each call, the various lists can now be quite long for larger sites.

I have a high traffic site, that over a given month somehow has been visited by more than 1000 different screen resolutions, so the page for Screen resolutions is roughly 1000 rows long. The site also has more than 1000 unique pages and more than 1000 sources, so the Views page is roughly 2000 rows long.

I'm not sure what the best approach for fixing this is, so I just wanted to write it here. There doesn't seems to be any performance issues, but perhaps we should add some pagination with Angular?

Binary Error when trying to install package on Umbraco 7.1.4

Error report
This package could not be verified for compatibility. An error occurred while loading a referenced assembly 'Newtonsoft.Json' see error log for full details.
This package could not be verified for compatibility. An error occurred while loading a referenced assembly 'Newtonsoft.Json' see error log for full details.
This package references the assembly 'System.Threading.Tasks' which was not found
This package could not be verified for compatibility. An error occurred while loading a referenced assembly 'System.Net.Http' see error log for full details.
This package references the assembly 'System' which was not found
This package references the assembly 'System.Core' which was not found
This package could not be verified for compatibility. An error occurred while loading a referenced assembly 'Newtonsoft.Json' see error log for full details.
This package references the assembly 'System.Runtime' which was not found
This package references the assembly 'System.Net' which was not found
This package references the assembly 'System.Threading.Tasks' which was not found
This package references the assembly 'System.Runtime' which was not found
This package could not be verified for compatibility. An error occurred while loading a referenced assembly 'System.Net.Http' see error log for full details.
This package references the assembly 'System.Threading.Tasks' which was not found
This package references the assembly 'System.Runtime' which was not found
This package references the assembly 'System' which was not found
This package references the assembly 'Microsoft.Threading.Tasks.Extensions.Desktop' which was not found
This package could not be verified for compatibility. An error occurred while loading a referenced assembly 'System.Net.Http' see error log for full details.
This package could not be verified for compatibility. An error occurred while loading a referenced assembly 'System.Net.Http' see error log for full details.
This package references the assembly 'System.Threading.Tasks' which was not found
This package references the assembly 'System.Net' which was not found
This package references the assembly 'System.Core' which was not found
This package could not be verified for compatibility. An error occurred while loading a referenced assembly 'Newtonsoft.Json' see error log for full details.
This package references the assembly 'System' which was not found
This package references the assembly 'System.Runtime' which was not found
This package could not be verified for compatibility. An error occurred while loading a referenced assembly 'System.Net.Http.Primitives' see error log for full details.
This package could not be verified for compatibility. An error occurred while loading a referenced assembly 'log4net' see error log for full details.
This package references the assembly 'System' which was not found

TypeError: moment.defineLocale is not a function Umbraco 7.10

TypeError: moment.defineLocale is not a function
Line 12: /umbraco/lib/moment/en-gb.js

var en_gb = moment.defineLocale('en-gb', {

This error stops any sort of calendar functionality from working. i.e. can't set future publish dates on pages.

$digest errors for the settings controller

I'm getting an error in the backoffice with the last code from the develop branch:

Error: $digest already in progress
    at Error (native)
    at g (http://localhost:52607/umbraco/lib/angular/1.1.5/angular.min.js:87:165)
    at Object.$get.e.$apply (http://localhost:52607/umbraco/lib/angular/1.1.5/angular.min.js:92:362)
    at http://localhost:52607/App_Plugins/Analytics/backoffice/analyticstree/controllers/settings.controller.js:40:20
    at j.promise.then.i (http://localhost:52607/umbraco/lib/angular/1.1.5/angular.min.js:79:437)
    at j.promise.then.i (http://localhost:52607/umbraco/lib/angular/1.1.5/angular.min.js:79:437)
    at j.promise.then.i (http://localhost:52607/umbraco/lib/angular/1.1.5/angular.min.js:79:437)
    at j.promise.then.i (http://localhost:52607/umbraco/lib/angular/1.1.5/angular.min.js:79:437)
    at http://localhost:52607/umbraco/lib/angular/1.1.5/angular.min.js:80:485
    at Object.$get.e.$eval (http://localhost:52607/umbraco/lib/angular/1.1.5/angular.min.js:92:272)

Which is around these lines:

            //Apply
            $scope.$apply(function () {
                $scope.hasAuthd = hasUserAuthd;
            });

Currently it seems to prevent me from authorizing when already authorizing. At least nothing happens, so I assume it is because the controller isn't fully initialized. Not sure whether this also results in other errors.

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.