Will,
Slimstat can track the exact coordinates of a click, or the link id attribute, or other custom parameters. Please take a look at the documentation to learn more:
https://slimstat.freshdesk.com/support/solutions/articles/5000528529-can-i-track-clicks-and-other-events-happening-on-the-page-
Best,
Jason
Thanks for your reply Jason,
I’ve tried this and can’t seem to get it to work…
<tr style="border-bottom:1px solid white;">
<td class="tg-031e"><img style="padding:0px; margin:0px; vertical-align: middle;" src="/wp-content/uploads/2016/05/designlogo-upload.png"></td>
<td class="tg-031e"><a onclick="SlimStat.ss_track(event, 100, jpeg_downloaded)" style="text-align:center;" class="download_image" target="_blank" href="<?php the_post_thumbnail_url( 'full' ); ?>" download><strong>DOWNLOAD</strong> as a jpeg</a></td>
</tr><br>
Is this correctly entered?
Kind Regards,
Will
Will, your code is almost correct. Try using single quotes around the fourth parameter:
onclick="SlimStat.ss_track(event, 100, 'jpeg_downloaded')"
The word jpeg_downloaded will be recorded in the pageview notes, which can be both exported as CSV or accessed in the Access Log report.
Best,
Jason
Hi Jason,
Thanks that worked great! Is there any way to see what page this click happened? as the link will be placed in the side bar of each post.
Kind Regards,
Will J Fretwell
Hi Will,
I’m glad it worked. The Activity Log report will tell you the page that was being viewed when the even occurred. You can also filter by text in your callback by setting Annotations contain… in the Filter Bar.
Have fun!
Jason