I've been asked to add this .net code to a WordPress site where it is called on every page. I was thinking either header.php or functions.php. But I'm not sure how it would be done.
The site is running on a windows server and there is a .net application in a sub-domain.
Here is the code
If Not Me.IsPostBack Then
WebTrackingAPI = Application("WebTrackingAPI")
WebTrackingAPI.Debug = Application("Debug")
WebTrackingAPI.PageAudit(Session("C"), Session("P"), Session("L"), Session.SessionID,