I'd like to track clicks on cbox buttons in colorbox. It looks like I can do this with a custom style, but I'm not sure if this is the best way to do.

However if this is the way to go, how can GA module provide a style for colorbox? I guess it's best to maintain in the ga module, but users should not made to copy it manually to colorbox module folder as this is also dropped with every colorbox release.

Comments

frjo’s picture

Would it not be possible to hook in with one of the Callbacks in the Colorbox plugin?

http://www.jacklmoore.com/colorbox

hass’s picture

Status: Active » Fixed

Ok, found an example in the FAQ Track ColorBox usage with Google Analytics. So we do not need any other hooks. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

A