Forum Moderators: DixonJones
Is it possible to have a javascript code that goes something
like this (this is a pseudocode, just to give you an idea):
if (referer == "www.google.com" && kwd = "blue widget")
document.write("...something...");
Basically what I would like to do is to dynamically assign
the order number in my html shopping cart code (that would
be the ....something... part) based on where my users come
from.
If so, could you please give me a better idea on how exactly
to do it?
Thanks a bunch
It should work - getting access to the referrer and then extracting the keywords from things like google isn't all that tricky.
If you are a technical person who can do code then its an hour or so worth of work, if not then I'm sure there are a multitude of similar, free, examples out there already.
- Tony
[edited by: Dreamquick at 2:32 pm (utc) on Dec. 9, 2002]