Rolling my own affiliate tracking - where to place code
Hi,
I am currently working on rolling my own affiliate tracking system. I know all the basics like getting the ID from the QS, stripping it and giving the correct rel canonical, saving coockies, etc.
I just don't know where to place all the code. Should I create a usercontrol with not GUI, place the code in script tag with runat="server" or maybe add a code behind file to the main template.
Rolling my own affiliate tracking - where to place code
Hi,
I am currently working on rolling my own affiliate tracking system. I know all the basics like getting the ID from the QS, stripping it and giving the correct rel canonical, saving coockies, etc.
I just don't know where to place all the code. Should I create a usercontrol with not GUI, place the code in script tag with runat="server" or maybe add a code behind file to the main template.
What would be the best method?
Thank you!
is working on a reply...