Support » Plugin: Amazon Associates Link Builder » Custom Product Ad/Carousel not clickable

  • Hi AALB support team,

    it’s been a while since I re-tested the product links on my page, but a fews days ago I found out that product ads and carousels are not clickable when using my custom template.

    I’ve compared the source codes of the original templates to my custom ones line by line. The differences between them are marginal:

    1) In the loop for the carousel I wrapped each item with the tag {{InStock}} to only show items available. They are showing, so this can’t be the problem
    2) In the a-tag for the links I am using JavaScript to call a function to track these clicks in Google Andalytics. onclick=”trackOutboundLink(‘{{DetailPageURL}}’, ‘AmazonProductCarousel’); return false;”

    As the ProductAd shares the same onclick-attribute (with a different identifier as second parameter), I am sure that the onclick-Event is responsible for not opening the links when clicking the item.

    The custom carousel and ad used to be working fine in previous versions of AALB.

    Can you confirm that there has been a change in the plugin that prevents the links from opening due to the JavaScript call? If so, how can I get it working again?

    Thank you in advance and cheers,
    Sascha

    The page I need help with: [log in to see the link]

  • You must be logged in to reply to this topic.