How to track clicks on anchor links?
Hello community!
How to track clicks on anchor links?
We have implemented tracking on a page, but we are not getting any logs for clicks on anchor links.
According to (Marketo Master Jedi 😀) @sanfordwhiteman, Munchkin ignores clicks by default on 'links whose destination appears to be a hash (fragment) on the current page: - a below-the-fold jump link like <a href="#section1">"...' - https://blog.teknkl.com/more-munchkin-untracked-links-part-1/
Note I was not able to find the part 2 of the above mentioned post.
Furthermore, he provides the code that should solve the problem, in the following post, using what he calls the 'the mchReDecorate technique': https://nation.marketo.com/t5/product-discussions/track-anchor-links-with-munchkin/td-p/97774
Now, I tried to implement it, but it's not working - we are still not getting any logs for clicks on anchor links.
Do you know how to solve this problem and can you please share the solution?
Or can you give further info on how to properly apply the so called mchReDecorate technique?
I have written to Marketo Support for further assistance, and I will make sure to update this post for future googlers if I manage to solve it via their help.
Thanks in advance for your time!
Best,
ernie