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

Question about tracking code (no replies)

$
0
0
Please could someone advise me if I can put both the javascript and image tracking codes in a single page?

In my javascript code, I have the following line:
<noscript><img src="http://www.domain.co.uk/piwik/piwik.php?idsite=2" style="border:0;" alt="" /></noscript>

and the image tracking code is almost the same but with &rec=1 in the middle of it:
<noscript><img src="http://www.domain.co.uk/piwik/piwik.php?idsite=2&rec=1" style="border:0" alt="" /></noscript>

If I use both codes, do I need to use both snippets above or can I leave the first one out? I'm not sure what these do.

Viewing all articles
Browse latest Browse all 4243

Trending Articles