GithubHelp home page GithubHelp logo

Use Piwik instead GA about indigo HOT 8 CLOSED

sergiokopplin avatar sergiokopplin commented on July 25, 2024
Use Piwik instead GA

from indigo.

Comments (8)

sergiokopplin avatar sergiokopplin commented on July 25, 2024

yes, we can put that inside.
do you have any link or documentation about?
i really don't know about this tool.

thank you for the open issue!

from indigo.

Fohlen avatar Fohlen commented on July 25, 2024

Examples can be found at http://piwik.org/integrate/
I'll append a sample right here

<!-- Piwik -->
<script type="text/javascript">
  var _paq = _paq || [];
  _paq.push(["setDomains", ["*.darkkeepers.dk","*.www.darkkeepers.dk"]]);
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="//piwik.berger.work/";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
    _paq.push(['setSiteId', 1]);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
  })();
</script>
<noscript><p><img src="//piwik.berger.work/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->

from indigo.

sergiokopplin avatar sergiokopplin commented on July 25, 2024

what variables you have to change? setDomains?
I can't find this example in the integrations page.

I know that is just JS, but i want to take a look first. o//

from indigo.

Fohlen avatar Fohlen commented on July 25, 2024

You need to change the origin which is

var u="//piwik.berger.work"

as well as allowed domains

  _paq.push(["setDomains", ["*.darkkeepers.dk","*.www.darkkeepers.dk"]]);

This is probably best done when you add a condition (like, piwik-enabled) and let the user insert the tracking code form within their Piwik into the configuration, alike

piwik_enabled = true
piwik_code = '<codegoeshere>'

from indigo.

sergiokopplin avatar sergiokopplin commented on July 25, 2024

i'll test this later, but it's a nice tool. i like it!

from indigo.

sergiokopplin avatar sergiokopplin commented on July 25, 2024

@Fohlen, how can i see the analytics page for piwik?
I can't find!

from indigo.

sergiokopplin avatar sergiokopplin commented on July 25, 2024

@Fohlen i couldn't find any documentation for this, like examples and admin area.
If you can help, we can open this again. But for now, i'm closing.

from indigo.

Fohlen avatar Fohlen commented on July 25, 2024

I've found the following article

Covering how to embed Piwik into Jekyll!

from indigo.

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.