Code Monkey home page Code Monkey logo

dokuwiki-plugin-googleanalytics's People

Contributors

dszabome avatar gamma avatar gerardnico avatar harryxu avatar phy25 avatar splitbrain avatar tatewake avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dokuwiki-plugin-googleanalytics's Issues

Empty body ?

Hello

I'm trying to use the googleanalytics plugin.
But I must have missed something in the config...

Line 15 of the script.js file :
document.body.appendChild(script);
gives me the error in the console :
Uncaught TypeError: Cannot read property 'appendChild' of null

Looks like the body element is null....

Thanks for your help

Franck

No Google Analytics data

I'm seeing zero data on Google Analytics from my site. I used to see plenty of data. The plugin configuration has the correct Google UA ID number. My dashboard displays the following notification:

"Property [site name] is not receiving hits. Either your site is not receiving any sessions or it is not tagged correctly.
"Google Tag Assistant Recordings can help you ensure that your site is tagged correctly."

Config:target for interwiki and external links doesn't work unless the visitor is logging in as an admin

While using this plugin, the target configurations for interwiki and external links don't work, and the links open in the same tab.

The configuration for internal links works properly. I'm not sure whether the conf for windows share links has the same problem.

Confs:
target»interwiki: _blank
target»extern: _blank

[Googleanalytics]
dont_count_admin: 1
dont_count_users: 0
anonymize: 1
track_users: 0
track_links: 1
domainName: (null)

Reproduction:

  1. Set configurations according to the "Confs" above
  2. Go to a page with interwiki link(s) and external link(s), or make a page with the links
  3. If you are not logging in, or logging in as a general user (not admin), interwiki links and external links don't open in the new tab.
  4. Log in as an admin, and the links open in the new tab.

Reformat PHP / JS using off-the-shelf tools

Ideally it would be nice to have PHP and JavaScript files auto-formatted to meet whatever standards their respective communities agree upon. This should also help make the code a little easier to maintain going forward.

Todo:

  • Install php-cs-fixer and run it against the current codebase for PHP
  • Install js-beautify and run it against the current codebase for JavaScript

Prepare for 1.0.0 Release

Todo:

  • Add CHANGELOG.md with recent changes
  • Change README -> README.md and rewrite a bit
  • Bump plugin version number and release date

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.