Permalink
Browse files

Merge pull request #17 from illogic-al/master

Wrap the image tracking code in a noscript tag.
  • Loading branch information...
2 parents 82a5174 + 6b7989b commit 00942cf25e43d6cc02af33ca802959074e1022f4 @halfdan halfdan committed Jun 27, 2013
@@ -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 -->
@@ -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 -->
View
@@ -1,6 +1,6 @@
spec = Gem::Specification.new do |s|
s.name = 'piwik_analytics'
- s.version = '1.0.2'
+ s.version = '1.0.3'
s.date = Time.now.strftime "%Y-%m-%d"
s.author = 'Fabian Becker'
s.email = 'halfdan@xnorfz.de'

0 comments on commit 00942cf

Please sign in to comment.