I'm trying to set up a funnel that has a final step of clicking on a button and downloading a document. Since I can't track the button, I was hoping to set up a fake link that doesn't redirect the user anywhere but allows Google Analytics to see how many people clicked on the button.
What I have is this Javascript piece of code but when it gives me an error:
<a href=”/goal/example” onclick=”javascript:pageTracker._trackPageview (‘example’);”target=”blank”>
Or, if this doesn't work at all, is there any other way to add a button to my funnel?
Thanks!
Aucun commentaire:
Enregistrer un commentaire