KeywordRadar

17 November 2007

Keyword Tracking Shopping Cart Sales

One of our members asked me this question:

“I process order from minisites in to a central shopping cart.

So I have one thank you page for all products.

How can I enter tracking code on the shopping cart thank you page that will track all my sales?”

Here is my reply…

First, create a new Keyword Radar project (I’ll call it “Red Widgets” here) to track the page views.

Then use the project creation wizard to generate the Keyword Radar javascript code to be put on all your landing pages so that all the traffic is funneled into the “Red Widgets” project.

Next, we have to create a script in our “Red Widgets” project to track sales.

Go to “Create Events” tool and create a sales event.

You said all shopping cart sales go to one page after purchases, so you can just define a generic sales event if you want.

Or, if on this thank you page you can read in a form variable that identifies the product you sold, you can set up custom events for EACH product and then use server-side code on the thank you page to adjust the Keyword Radar event code.

But I’ll just assume you want to set up an “Generic Sales Event”.

After you define this event, go back to Step 2 of the Wizard, and attach this sales event to the project.

Doing so will modify the javascript code to indicate that visitors to this pages should be counted as a sale.

Take this new javascript code and put it on your thank you page. This will record your sales. Notice how this code is almost identical to the “page view” script, except that it has an event code that maps the traffic to a sale.

As sales come in, you can run a report within Keyword Radar that will identify which keyword or split-test led to the sale.

Note: You don’t have to import any external sales reports like you have to with Clickbank, because the sales event script logs the sales for you.

If anyone has questions on this article, please post them here.

No Comments currently posted.

Post a comment on this entry: