Hello!
how and where can I include the piwik code in krpano?
(I use PTP)
Thanks for advice!
Regards
Hello!
how and where can I include the piwik code in krpano?
(I use PTP)
Thanks for advice!
Regards
Hi,
what kind of code do you mean and what should it do?
Best regards,
Klaus
Hello!
I want to track the visits and traffic of the panoramas.
here is an example of piwi code:
http://wiki.gwdg.de/index.php/Webstatistik_mit_Piwik
for non-JS browser the alternate img code looks like this
<!-- Piwik Image Tracker -->
<img src="https://...../piwik/piwik.php?idsite=1&rec=1" style="border:0" alt="" />
<!-- End Piwik -->
Hi,
if you just want to insert that imges, just do it like that:
<plugin name="piwikimagetracker" url=".../piwik.php?idsite=1&rec=1" keep="true" visible="false" />
This way the image will be loaded but never shown (visible=false).
But keep in mind that the image should be on the some domain, otherwise you need to setup a crossdomain.xml on the other domain server to allow the Flashplayer loading files from that other domain.
Best regards,
Klaus
mh that sounds a little bit complicated. is there no easier way? maybe the js..
Hi,
why is just including an image complicated?
This is the same like your html code example.
Best regards,
Klaus
no, not the image. I mean the crossdomain.
The crossdomain.xml must be on root directory on the stats-server only? and the content?
I found this on another thread:
<cross-domain-policy xsi:noNamespaceSchemaLocation="http://www.adobe.com/xml/schemas/PolicyFile.xsd">
<allow-access-from domain="*"/>
</cross-domain-policy>
hello?:)
and, in which file / position I have to add the img code?
Hi,
that would depend on your xml file of course!
e.g. try it in the first xml anywhere between <krpano> and </krpano>.
Best regards,
Klaus
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!