Link to home
Start Free TrialLog in
Avatar of JSW21
JSW21Flag for United States of America

asked on

aspx page that return bitmap can we add google analytic to track it?

So I have an aspx page that can be call in Html like so
<img src="..\Modules\myimage.aspx?img=abc">

Open in new window


the aspx page look like this
<%@ page ....
<body MS_POSITIONING="GridLayout">
    <form id="myimage" method="post" runat="server">
	
    </form>
</body>

Open in new window


code behide vb.net
Response.ContentType = "Image/Jpeg"
(bitmap).Save(ms, ImageFormat.Jpeg)
ms.WriteTo(Response.OutputStream)

Open in new window


basically the aspx page can query an image from my server.
Is there a way to use google analytic to track its usage?

If i put google analytic right on aspx page will it be read? How to do it properly.
Thx
ASKER CERTIFIED SOLUTION
Avatar of Mlanda T
Mlanda T
Flag of South Africa 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