Giter VIP home page Giter VIP logo

Comments (5)

arp242 avatar arp242 commented on May 26, 2024 2

There's now a (very basic) WordPress plugin at: https://github.com/zgoat/goatcounter-wordpress

I'll have to work on it a bit more to add some common settings and such, but at last this should make it a bit easier to add GoatCounter to WordPress in the common case (turns out that was a bit hard before).

from goatcounter.

skyfaller avatar skyfaller commented on May 26, 2024 1

@whysthatso Nah I haven't done anything yet, too stressed out by the pandemic. I encourage you to take the first steps, I'd be happy to help test etc. If not, I'll get around to it someday ;-)

from goatcounter.

skyfaller avatar skyfaller commented on May 26, 2024

I might be able to help with this somewhat, I'm an amateur but technically I have made and published a (crappy) Wordpress plugin before.

Having a Wordpress plugin is very important to me, I'm working on moving a non-profit's site from Squarespace to Wordpress and I want to try GoatCounter instead of Google Analytics. Having a Wordpress plugin would help me a lot and possibly make the difference between using GoatCounter or not at launch (or at all).

from goatcounter.

arp242 avatar arp242 commented on May 26, 2024

Thanks @skyfaller

It doesn't need to do much: just inject the site code in the page (preferably somewhere near the end, but anywhere will do really). There only needs to be one parameter (the endpoint in data-goatcounter). Some more options could be added, but that's optional.

It's probably pretty close to a "hello, world"-sample plugin for most apps; I just haven't gotten around to looking in to it yet 😅 Any help would of course be greatly appreciated!

from goatcounter.

whysthatso avatar whysthatso commented on May 26, 2024

i'd be interested in this, too. @skyfaller any code yet? a repo to look into? if not, i'd gladly do the first step

from goatcounter.

Related Issues (20)

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.