Tracking Clicks Manually

The CE2.click function can be used to send click data to Crazy Egg. This function can be called in a number of ways:

CE2.click(element, x, y)
element: Either a DOM element or a virtual element
x: The x-coordinate of the click, relative to the element
y: The y-coordinate of the click, relative to the element
CE2.click(element, event)
element: Either a DOM element or a virtual element
event: A mouse event from the element or one of its sub-elements; the x and y coordinates of the click will be derived from the event object
CE2.click(element) element:
Either a DOM element or a virtual element
(The click will be placed in the center of the element.)

Still need help? Contact Us Contact Us