Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

no code generated on public facing login (2 replies)

$
0
0
Sorry if this has been posted and or fixed, but I did not find it.

Just installed piwik and testing at this point. No ssl.

If I access the dashboard through 192.168.1.4/piwik, the tracking code and image link show up in the box.

If I access the dashboard through example.com/piwik, the tracking code and image link box are empty. Or even public_IP/piwik.

Out of curiousity I took the code generated from the local access and changed the IP with the domain, but still doesn't track. Also tried the public IP in place of the domain.

Have accessed from a few different browsers with no difference. From the public dashboard I can create and delete websites and looks like everything else, but on the tracking page none of the boxes are checkable.

Any idea why I am not getting the generated code while on the public dashboard?

I had a bit of trouble getting the site opened through the WAF/proxy on a sophos UTM 9.2(fairly new to that as well), but now I can access the public dashboard.

Not sure how relavent the system details are, since it generates and works fine on the local access, but if needed I can provide later. Started with a fresh vm install of centos 7 minimal though. Piwik 2.10

Couple of things I noticed; If I go to the geolocation tab, accross the top it has location, description, info. The info for has the local IP of the sophos UTM. System check is fine. Security has issues with basedir, tmp_dir, and user and group id, but the rest is green. Device detection shows the correct device.

Below is the code generated from the local acces, but with the domain substituted how I tried it.

<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u=“//example.com/piwik/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 3]);
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=“//example.com/piwik/piwik.php?idsite=3" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->

Viewing all articles
Browse latest Browse all 4243

Trending Articles