Right click tracking

chrisw78940856

17-10-2016

Hi,

I have a metric which tracks on click of a link on page (no problems there), but I'm not sure whether this is still triggered if I right click and, say, open the link in a new tab.

Is right clicking and opening in a new tab tracked, or does that require separate implementation?

So far I've struggled to find an environment where I can QA metrics before pushing experiments live - what's the best way to go about this?

Thanks,

Chris

Accepted Solutions (1)

Accepted Solutions (1)

ParitMittal

18-10-2016

Hi Chris ,

No it is not tracked on right click of link.For tracking the link on right click you have to use the onmousedown event listener. For more info on mousedown event listener  see : http://stackoverflow.com/questions/2405771/is-right-click-a-javascript-event

Right click tracking can be done using at.js plugin function : adobe.target.trackEvent(options) 

This function fires a request to report user actions, such as clicks and conversions. It does not deliver activities in the response.

Please see the following link for more info : https://marketing.adobe.com/resources/help/en_US/target/ov2/r_target-atjs-trackevent.html

Thanks & Regards

Parit Mittal

Answers (0)