Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#2490 closed Bug (answered)

noscript-image-link is wrong

Reported by: schorsch Owned by:
Priority: normal Milestone: 1.5 - Piwik 1.5
Component: UI - UX (AngularJS, twig, less) Keywords:
Cc: Sensitive: no

Description

hi,

the tracking-code from the SiteManager-Site looks like this:
http://your-url.../piwik.php?idsite=1

the Image-Only-Tag ends on:
....piwik.php?idsite=1&rec=1

It looks like that images with no &rec=1 were ignored maybe the default-js-code has to be fixed?

Change History (7)

comment:1 follow-up: Changed 3 years ago by vipsoft (robocoder)

  • Milestone set to 1.5 - Piwik 1.5
  • Resolution set to answered
  • Status changed from new to closed

No, this is intentionally the default in order to not track bots. If you add rec=1, I suggest you try the third party plugin, BotTracker.

comment:2 in reply to: ↑ 1 Changed 3 years ago by schorsch

Replying to vipsoft:

No, this is intentionally the default in order to not track bots. If you add rec=1, I suggest you try the third party plugin, BotTracker.

i got both codes from the piwik-page: .../index.php?module=SitesManager&action=displayJavascriptCode

<noscript><p><img src="http://.../piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>

and with no js:
<img src="https://.../piwik.php?idsite=1&rec=1" style="border:0" alt="" />

the noscript-tag doesn't count for me with a non-JS-Browser :-(

-
rec - (required) The parameter &rec=1 is required to force the request to be recorded

comment:4 in reply to: ↑ 3 Changed 3 years ago by schorsch

Replying to matt:

but why is there a noscript-tag at all when it doesn't work ;)

http://tinyurl.com/679uf8j

schorsch

comment:5 Changed 3 years ago by schorsch

that's cool :) a link to forum . piwik . org doesn't pass akismet :)

comment:6 Changed 3 years ago by vipsoft (robocoder)

in the future, we'll either include BotTracker (or similar), or allow plugins to override the javascript tag template, or provide an option in the (planned) tag builder.

comment:7 Changed 3 years ago by schorsch

thanx a lot ;) would be nice

Note: See TracTickets for help on using tickets.