Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Put <img> tracker in <noscript> tag where it belongs

  • Loading branch information...
commit d6430b11cbd0fd0faadc6be44f6490b106ec767d 1 parent 69975aa
Orville Bennett illogic-al authored
4 app/views/piwik_analytics/piwik_tracking_tag.html.erb
View
@@ -11,5 +11,7 @@
</script>
<!-- End Piwik Tag -->
<!-- Piwik Image Tracker -->
-<img src="//<%= url %>/piwik.php?idsite=<%= id_site %>&amp;rec=1" style="border:0" alt="" />
+<noscript>
+ <p><img src="//<%= url %>/piwik.php?idsite=<%= id_site %>&amp;rec=1" style="border:0" alt="" /></p>
+</noscript>
<!-- End Piwik -->
4 app/views/piwik_analytics/piwik_tracking_tag_async.html.erb
View
@@ -20,5 +20,7 @@
</script>
<!-- End Piwik Tag -->
<!-- Piwik Image Tracker -->
-<img src="//<%= url %>/piwik.php?idsite=<%= id_site %>&amp;rec=1" style="border:0" alt="" />
+<noscript>
+ <p><img src="//<%= url %>/piwik.php?idsite=<%= id_site %>&amp;rec=1" style="border:0" alt="" /></p>
+</noscript>
<!-- End Piwik -->
Please sign in to comment.
Something went wrong with that request. Please try again.