• Resolved JSin

    (@jsin)


    I have a site where the second paragraph where pretty much describes what’s going on:
    http://developer.piwik.org/guides/tracking-javascript-guide#manually-trigger-events

    For example, I have a parallax one-page-view site with anchor links that jump to different parts of the same landing page. I’d like those tracked. There’s also various parts of the page where you click something and a previously hidden section slides into view. Obviously, I’d like the clicks to show those elements tracked as well.

    I’ve found this plugin, but I don’t see a way to enable the tracking without manually editing each section to include the tracking code. Is there a way to make this plugin automatically add a means to track the above? Or does it perhaps do it already? I just want to be sure to set it up however is needed to do the above.

    Thanks!

    https://wordpress.org/plugins/wp-piwik/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author braekling

    (@braekling)

    WP-Piwik just adds the tracking code to your site.

    If you want to use manual event tracking, you have to add this on your own, of course. An event has to be defined to be tracked. But you can enable content tracking for all visible (and also not visible) content elements using WP-Piwik, which also allows to track all content interactions – maybe this will fit your requirements?

    I hope, this helps 🙂

    Thread Starter JSin

    (@jsin)

    Thanks, that content tracking seems appropriate for my needs.

    If I install your plugin, it will add tracking code like you said, but then how would I make it also do the content tracking? Would I edit a script bloc in the footer or something? I think it’s this last part that I am unclear on. I understand installing the plugin; I just want to also ensure that the additional requirements I have are met, too.

    Any help towards that is appreciated.

    Plugin Author braekling

    (@braekling)

    You can enable the content tracking just by checking a check box within WP-Piwiks settings.

    Additionally, if you have to change the tracking code on your own (e.g., you want to use a function which isn’t supported by WP-Piwik yet), you can also edit your tracking code using WP-Piwik’s settings page. So you don’t have to edit any theme files like the footer.php.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Automatically tracking manually triggered events’ is closed to new replies.