PDA

View Full Version : Tracking Sales


Bud
26-07-07, 17:31
Now that my shop is ticking over, how do I know what items are selling?

I can obviously tell I am having sales from my shop as the goto.php file sets the clickref:

$sClickRef = "clickref=myshop"; # awin clickref

However, this only lets me identify the cost of the item and the retailer. Is it possible to get any more details in the clickref thus enabling me to identify the 'hot items'?

Thanks
Bud

Confuscius
26-07-07, 17:54
You can do this BUT you use the following code at your own risk - I have asked about various clickRef and other matters but have had no response from Digiwin.

Try this! Edit goto.php as follows:

...
$sProductAwUrl = $aProduct[$oShop->getProductId()]->sAwDeepLink;
// NEW CODE
$sProductClickRefName = $aProduct[$oShop->getProductId()]->sName;
$sClickRef .= ' '.$sProductClickRefName;
// NEW CODE
# use products deep link
...

This appends the product name to the end of Clickref and passes it through to AW - it works well but would be happier if DigiWin would confirm that it causes no problems as product names can be long and contain spurious garbage!

Basically you can build your ClickRef anyway you want so long as you know how to reference the appropriate fields from the API.

An example - I had a sale confirmed today for £35.98, used the product name back in the search box on the source site and found that the product was a £17.99 item so the punter bought 2 of them! This tells you what they clicked through but that may not be what they purchased!

It is nice to know what you are selling some of the time.

Hope this helps.

Paul

Bud
26-07-07, 18:18
Paul - Once again you've been a great help to us lesser mortals!

Thanks for showing us the way with that. I can see I would have been stumped for an awful lot longer otherwise.

Very much appreciated
Bud

(Worked a treat by the way. Now I can see exactly what just sold!)


Digiwin - please help Paul (and everyone else) out here by answering his questions. Without his help this Forum could well have died a premature death! Don't look a gift horse ......

amarath
26-07-07, 23:25
HI Guys,

Apologies for not picking up on this.

I am going to get Adrian to look into this for you all and confirm the implications (if any) at our end.

Adrian will update this thread tommorrow.

Cheers

Amo

Confuscius
27-07-07, 11:06
Bud - thanks for the kind words.

Amo - thanks for the update!

The original thread was here : http://www.shopwindowforum.com/showthread.php?t=270

It would be nice to enhance the tracking in some way as it is nice and easy to just amend one file! My original questions relate to my concern that in setting up tracking this way then I was worried that it could actually interfere with tracking sales!

Not much use setting up tracking if it messed up tracking, if you get what I mean, hence the request for confirmation.

Paul

Adrian
27-07-07, 11:08
Hey Guys,

I have just been speaking with our developers about this and can confirm that this change would not have any implications on the system. The value is however limited to 50 characters and therefore may cause the product name to 'break' in some instances.

Cheers,

Adrian :p

Confuscius
27-07-07, 11:43
Thanks for the confirmation that all is well.

Please ask the developers if there is any scope to increase the field size at some point in the future and, if so, please add this to the development ideas list!

I would also welcome any comments that they might have on the other two fields shown on AW reports.

Paul