Last post Apr 16, 2012 11:43 AM by DarrellNorton
Apr 16, 2012 09:16 AM|snkar|LINK
We are building a web site using ASP.NET/C#(using MVP) which needs to be designed for enabling tracking scripts to be placed in the pages(like google analytics). Now these scripts might be static(eg. tracking user visits) or dynamic(eg. tracking e-commerce
data like order total, etc.). Now the requirements in terms of which script needs to be placed in which page and the nature of information to be passed(dynamic or static) is something that the client wants to be able to independently control as this is primarily
based on their marketing team needs. We are trying to come up with a solution that enables us to dynamically inject the scripts in the asp.net pages/views using some config files or database settings so that every new script addition or modification should
not require a rebuild/redeploy. Another intention behind coming up with this design is to enable decoupling between the page logic and the tracking scripts embedding. Has anyone had any prior experience of working with something similar? Looking for some pointers
in the right direction.
Apr 16, 2012 11:43 AM|DarrellNorton|LINK
There are solutions out there that do a decent amount of what you want. Each does different things a different way, so check to see which meets your requirements.