You need to tell Slimstat about those links. Go to Slimstat > Settings > Filters and enter the links’ class name or rel attribute into the field to not track links.
hi
for each image ? it would be 1000’s of links
is there not an easier way ?
thanks
hi
these are what I added
img-responsive,woocommerce-main-image,zoom
however zoom on its own did not work, it also appears there are many other class names relating to the images.
the plugin used to work with lightbox several versions ago, what did you change ?
It would be good if there was an easier way as some people will struggle to find the class names
thanks
This feature was introduced to track clicks in a more accurate way. Unfortunately in Javascript there’s no easy way to tell if some other handler is already attached to a link.
Can you post a link to one of the pages affected, so that I can tell you what classes to use?
There is an easier way to deactivate this feature all together, and thus avoid conflicts with lightbox: go to Slimstat > Settings > Filters tab > Internal and Outbound Links section, and set Track Outbound Clicks to “NO”.
hi
thanks that is unfortunate, as the outbound links is useful
I have emailed you the link
not sure if the classes change depending on theme ??
thanks
Like I said, there’s no way for the tracker to know if a link is an ACTUAL link (outbound?) or just a trigger that opens a lightbox window. That’s a security feature of Javascript, that we cannot circumvent.
Hi Camu,
Has anything changed recently on this issue? Our lightbox links have data-rel=”fancybox” on them and using your filter kept them working. Unfortunately it would seem a fairly recent update means that’s not working any more.
I’ve had to disable outbound link tracking to keep our lightboxes.
Thanks
Hi,
The tracker is looking for the “rel” attribute, not data-rel. Do those links have a common class or common parts of the URL that you could use as a way to exclude them in Slimstat?
It did seem to work initially, but the data-rel attribute is our themes’ way using it’s lightbox feature, it’s the only way they are identified.
This is the theme we are based on;
http://themes.goodlayers2.com/maxima/light-box-frame/
What about the URL (href attribute)? Could you use that to exclude your lightbox links?