Link to home
Start Free TrialLog in
Avatar of dtechfish
dtechfishFlag for United States of America

asked on

ASP.net VB AdRotator OnClick for Google Analytics

Please HELP!
I have an asp.net web form with 4 ad rotator controls.  There is no "on-click" event for the ad rotator.  

I need to integrate google analytics event tracking in order to track the click.  The google event tracking requires the on-click event to call a small javascript that records the oubount link.

I was thinking that I coud use an AdRedirect.aspx page that would call the javascript function from code behind with the required parameters and then redirec the user to the url.    I'm not sure how to call a javascript function from code behind.  I know it can be done, but I'm not sure how.

Has anyone done this?

Thanks in advance!
ASKER CERTIFIED SOLUTION
Avatar of rajeeshmca
rajeeshmca
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial