I’ve installed the Vbout code in the body section as I’m using it for email subscriptions. But seems to be a conflict, when I put the custom HTML code, the blog posts are not opening and it gives a 404 error when clicking on blog-post. Basically, the click does not redirect to the complete URL, instead, it just picks domain.com/blog-post and doesn’t pick slug for the blog item. How can I resolve this issue without removing the code?
Initially I added the code using html element in the footer section. When it started causing problems, I pasted it in body section in html editor. But even then it causes the same problem.
Hi! I see there is an issue with the way VBOUT tracks the clicks…
It looks at the data-href attributes, and in Sitejet in the Collection container this attribute is set to the “/item” url …
I think there are 2 ways of fixing this:
contact VBOUT to update the library to make it compatible with Sitejet (or with any CMS that uses the data-href attribute)
The code above will remove all data-href attributes from the links.
Right now is doing this after 2.5s , after the page is loaded.
Ideally, it would be great to have an event from Sitejet to know when the Collection container has finished loading the data.
Thank you so much @Lucian_Dinu. I will try the dirty approach first to be able to make it work immediately and will also contact Vbout support to ask what they can do about it. You are a real genious.
Hi again, I contacted Vbout and they were able to take care of it. Now, it’s working just fine. I am thankful to you for all your efforts. You have been a great help.