Hello,
I am not sure how this plugin works.
I want to see how many people click and listen to the audio mp3 in my website.
I set a Google Analytics code and it works, i can see tracking in real time.
Installed Komito Analytics and save settings. And i see on the homepage the script.
There is other that i have to do? Because with this configuration i can’t track nothing, if I play on the audio I can’t find the event on Events.
Thanks!
]]>Hello,
What is the best way to view the data produced from visitors? Where do I view the data similar to the demo on the github integration page?
Hi,
I tried to translate the plugin (to Swedish).
I noted one place in the code where you’ve split a sentence into several strings that you afterwards glue together. Namely:
<?php _e('For further information and instructions please see the', KOMITO_TEXT_DOMAIN) ?>
<a href="https://komito.net/integration/"
target="_blank"><?php _e('Komito Analytics integration page', KOMITO_TEXT_DOMAIN) ?></a>.
It’s MUCH better to have the full phrase in one string. You can use printf() to use, say %s in the string and then inject the html tag nicely.
And, while you’re at it. Please change all occurrences of “KOMITO_TEXT_DOMAIN” to “‘komito-analytics'” i.e. it should be a string that is equal to your plugin slug.
EditAdd: Oh. Whenever you have %s or similar things in a string, make sure to add a comment for translators on the immediately preceding line
]]>