Javascript And Webshop Tracking/affiliate Across Websites?

Apr 17, 2010

I have a small front end to a webshop. All customers that go through my website and buy an item from the webshop I get back 5% of the amount. I need to find a way af tracking the customers i forward from my webshop to the other webshop. And then get the webshop to reply to me when the purchase has been made. In my webshop i have made a small page: collect.aspx that requests and saves the values passed in the querystring, something like this pseudo code:

string orderid = Request["orderid"];
string amount = Request["amount"];
..save to database

On the webshop i forward customers to i get to insert a javascript on the last page in the purchase flow. I have tried a lot of things but it seems that the only thing that works is to fool the browser into thinking im referring a javascript, like this:

<script type="text/javascript" src="http://domain.com/mypage.aspx?orderid=4&amount=45/>

I saw how other trackers did their bit, and this seems to be the general way of doing it. With this script however, i get all the orders, i only want to log those that belong tome, those who entered through my website.

Here is my big problem, how to do this? I added a cookie when the user opens my page, and i want to check for this cookie again when the purchase page make the callback. It weems that i cant get the cookie from the browser when it makes the "" call. This is really buggin me now.

Could anyone please tell me how this is generally done, this tracking. And what am i missing in regards to this cookie thing?

View 1 Replies


Similar Messages:

JavaScript - Tracking Users When They Have Cookie Disabled?

Mar 29, 2011

What is the best way to track users on our Asp.net websites if they have there cookie disabled.

I heard about Flash cookies but could not find a good resource to access the flesh cookies using Asp.Net or JavaScript.

Does anyone know a better method?

View 2 Replies

How To Add Some Javascript Tracking Code Into A Text Box For Submitting

Feb 3, 2011

We have a site were trusted users can add some Javascript tracking code into a text box for submitting, so naturally we have turned off Validation by adding the ValidateRequest="false" into the Page Directive.

However it we seem to be getting the error again all of a sudden : A potentially dangerous Request.Form value was detected from the client , Now we cant add ValidateRequest="false" into the Config or the Master page this page inherits from. So how do I allow Javascript to be posted, what is overridding the ValidateRequest?

We are using .Net 3.5

View 1 Replies

Configuration :: Use To Copy/publish Websites To Web Server Is Not Allowing Us Access To Push Websites?

Oct 15, 2010

the account we use to copy/publish websites to our web server is not allowing us access to push websites. I've added this account to the permissions in the links listed in the below link, but i don't have success when trying to push remotely. When the account is in the local admins account, everything works flawlessly, but we are not allowed to have it in there. http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/31be047e-4716-4974-b8a1-be0111b50199 I've googled and searched a lot for this particular error, but am not finding an answer that helps. We get this error, 'Unable to create the Web 'http://edea01/test/planning'. You are not authorized to perform the current operation', and the above link is the scenario that matches mine the most. I don't do develompment work, but am asked to figure out this connection problem.

View 3 Replies

Visual Studio :: Reference JavaScript Library From Multiple Websites Without Copying It To Each Project Folder

May 13, 2010

I have several web sites, all of which use the same JavaScript library. How can I "reference" this library from each of my web sites? If I just import the library into my web site in Visual Studio, I get in trouble as soon as the library changes, because I then have to update it in all web sites manually. It would be much easier to place the library in an external folder and just reference it from my web sites. How can I do this with Visual Studio?

View 9 Replies

Security :: Webshop Security - Membership Provider Useful?

Aug 10, 2010

I have to implement a small webshop. Basically it's just a website with a huge backend ERP System and with the possibility to sell one (yap, really only one!) product on the website. The only requirement is a MySQL Server. The backend is almost finished (about 95%) and is secured with the .net MemberShip Provider for MySQL (the one in MySql.Web from the MySql Connector .NET).

Now to my question: I can set up the membership system easily but I do not need such things like username or password-question but I would need a reference to an address table to store the users home address. So, it is possible to change or customize the membership system to for eg. a unique customer id instead of the username column and set this in codebehind when the user is creating a new account? And is it possible to insert new users/customers from codebehind in an easy way? (I mean without checking each foreign key and inserting the customer reference to the userinrole table and so on...)

View 10 Replies

MVC :: Bug Tracking System With Sourcecode Available?

Oct 9, 2010

I need a bug tracker software for our application development and sql script development (small 2-3 person team)...

I am new to asp.net MVC and thaught it would be nice if one was available built on the asp.net mvc platform and available with source code.

View 2 Replies

Bug Tracking In Visual Web Developer?

Apr 1, 2010

Is it possible to track bugs in a visual web developer website? I want to be able to step through the code so I can see exactly what it is doing but am not quite sure how to do this.

View 8 Replies

Getting Error While Tracking Datakey

Feb 19, 2011

i am getting this error while tracking my datakey.. i am not sure why my datakey index is coming out of range.. here is my code :

protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
var dataKeys = GridView1.DataKeys[e.Row.RowIndex];
dataKeys.Value.ToString();
Label1.Text = "The key field value for the displayed record is " + dataKeys.Value.ToString();
}

Header Part Of the GridView:

</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White"
/>
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#999999" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
<script language="javascript" type="text/javascript">
function viewProfile(selectedRowIndex, firstName) {
//alert(firstName);
//var customGridView = document.getElementById('<%= CustomGridView.ClientID %>');
var customGridView = document.getElementById('GridView1');
if (customGridView) {
var row = customGridView.rows[parseInt(selectedRowIndex) + 1];
//var cell = customGridView.rows[parseInt(selectedRowIndex) + 1].cells[0];
// alert(row.cells[0].innerHTML);
// alert(row.cells[1].innerHTML);
// alert(row.cells[2].innerHTML);
// alert(row.cells[3].innerHTML);
// alert(row.cells[4].innerHTML);
window.open('detatil.aspx?coaid=' + row.cells[1].innerHTML + '&fnomia=' + row.cells[2].innerHTML, "", "scrollbars=no,height=300,width=300");
}
}
</script>

The error is: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

View 1 Replies

Tracking Ip Address And Country Name?

Apr 19, 2010

Yesterday i saw a site in which, site is listing the ip address and country name, saying that recently visited members (a list of ip address with country name,city name). Can i know how can i track that information any reference or any code.

View 1 Replies

Web Forms :: Tracking The Clicks On Url?

Feb 9, 2010

<IMG
src="filepate of image"
alt="Click to view this company's profile" [code]...

Above is the html code. The code says it has a picture which has two links. Now can anyone tell me how can i track on the click on image for a perticular url. Using asp.net say url1. I need to store the clicks report into the database using vb.net.

View 2 Replies

Message Tracking On A Mobile Using ASP.net?

Oct 15, 2010

I have a ASP.Net wesite developed using c#, ASP.Net,Oracle and Ajax.I want to send an email to the user from HP Quality Center (QC) and get the result from the user and store it the Quality Center Defect.QC will automatically send the email.The user should be able to provide the result like (Yes/No) even from his mobile by accessing the email or a system.How can we keep track of the reply send by the user and using which method?I can take the help of my ASP.Net website to route the message.For Example, when the user send the reply,the website should be some how able to parse the email and store this into QC or database.

View 4 Replies

Tracking Old Uploaded Files On Web Server?

May 10, 2010

Users can upload files to the server, which are stored effectively forever.

A few of my ideas involve logging every upload, but then the files are usually referenced in html which isn't easy to track.

Files can sit unused but still be referenced. I could do a fuill text search on these, but that's pretty brute force.

View 1 Replies

Software For Tracking How Popular A Web Site?

Nov 2, 2010

Is there a (free!) software/components that I can use to track how my web site is being used - which pages are most popular, how many times was the site visitied today, yesterday etc...

View 3 Replies

SQL Server :: Tracking Statement On A Table?

Feb 12, 2011

I am using sql server 2005 on my local PC. I have the same copy of the database on a shared hosting environment.I need to transfer daily transaction on some tables in my local database to the remote database. My remote database ison the shared hosting environment so i don't have much control on it.

I want to capture all the DML statement on tables and then at the end of day will execute those DML statement on theremote database.Kindly suggest how can i trace DML statement on database tables.

View 1 Replies

MVC :: Tracking EntityState Across Post To Controller?

Jan 13, 2011

i have a viewmodel with two entities. one is named Customer. in view validation is enabled for Customer using the entity state (isvalid, ...)

in to post action to the controller the entity state is "Detached". I believe this is as it should be.

My question is: How can the Customer Entity be checked for state change? I can create a new entity to check, but this has its own issues.

View 5 Replies

C# - Difference Between POCO And Self Tracking Entities?

Jul 6, 2010

I have POCO's in a separate project and now I need Self Tracking Entities. Does anyone know if I need to generate new POCO's that are self tracking and they will replace my current POCO's? Or, do I setup self tracking entities in addition to my current POCO's?

View 1 Replies

Visually Tracking / Monitoring Workflow(WF) 4.0?

Feb 18, 2011

I am planning to build a custom web application in ASP.NET 4.0 using WF 4.0, the user wants ability to modify workflows himself, for this we will be using a WPF client which the user can use and we will do workflow re-hosting, lots of blogs and guidance is available for this. But I am not sure how to the meet one requirement where the user wants to see/track a visual representation (diagram/image) of the workflow, depicting what stages are over, what is the current stage etc. This needs to be done on a web page.Possibly the same workflow with icons depicting status. This is something similar to the visual available for Visio workflows in SharePoint 2010. Even AgilePoint workflows provide such a view.

View 2 Replies

C# - Entity Framework Change Tracking?

Oct 11, 2010

Is there any way of tracking EF entities changes between contexts for ASP.NET applications?

Self-Tracking entities doesn't work well for me as it is primarily designed for WCF. And all approaches for tracking changes for POCO I have found are oriented on shared context.

View 1 Replies

Tracking URLs User Visited During Session

Mar 28, 2011

I have an app with alot of anchor tags in it. I wanna see what ones a user clicked on during a session. I thought aspnet automatically saved that information here:
string sessID = System.Web.SessionState.SessionID;

But there is no such thing as SessionID in the SessionState namespace. Is this information saved automatically, if so how do I access it? Here is my simple html

<body> <form id="form1" runat="server">
<div> Page 2
<a href="{URL}">Visit W3Schools</a>
<br /> <a href="[URL]">Yahoos</a>
</div> </form> </body>

View 2 Replies

Best Practice For Tracking State And Session Variables?

Apr 12, 2010

We're creating a new consumer/public-facing ASP.Net web app. There are two concerns:
--Use cookie or cookieless forms authentication?
--If we decide not to use cookies at all, how would you store the data that would otherwise be stored in the cookie (Customer ID, AffiliateID, etc.). Does the ASP.Net authentication framework track something like CustomerID?

View 2 Replies

Frameworks For Tracking End User Usage / Analytics

Nov 6, 2010

I would like to have framework for tracking web site/page usage within company firewalls on asp.net platform. Want to track hits and integrate with particular feature within an application to understand end user usage (i.e. log particular actions of users in addition to simple page count type analytics). I have yet to find a framework to do this with asp.net/iis7 internal to a company (i.e. not google analytics).

View 1 Replies

.NET Membership - A Design For Tracking Additional Information?

Aug 13, 2010

I'm working on an ASP.NET4.0/C# application for a public site that needs to authenticate only the employees that work at the associated business. The idea is for the site to have a CMS such that employees can go in and make changes to certain content without having to work with any html.My question relates to the design and use of a ASP.NET membership provider. I'm not trying to make the site work with an existing database, so there's no need to create my own MembershipProvider for that purpose.

View 3 Replies

MVC - Tracking Page Views And View Duration?

Jul 26, 2010

I have an application I'm currently working on that requires Administrators to be able to track the views of a ticket and it's duration.

I've got the tracking of the number of views by users sorted out, I have a table that contains a TicketID, UserID and a DateOpened. Each time a user visits the page, a new row will be inserted.

However, the way I would like to track the duration of views is by having a DateClosed field in the table which will allow me to work out view duration in the code as opposed to storing the time directly.

I can't use Google Analytics or anything Third Party for the task either due to internal policy as it's an intranet application.

View 1 Replies

Web Forms :: Tracking Pages When Converting To Word?

Mar 16, 2010

I'm using the following for generating a Word document from a webpage: [URL] I'm using this to generate and print reports. The report sections all need to start on a new page, and the pages of each section need to be numbered: section 1 page 1, section 1 page 2, etc. The content is dynamic, so I can't just print the report, see where the pages fall and hardcode the headings in. Is there any way to calculate or determine when a new page is started?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved