PDA

View Full Version : alternate styles based on referrer?


shortbus1662
05-09-2007, 02:45 AM
would it be possible to serve up alternate styles to specific referrers?

For instance if the visitor comes from site A, then I want them to see style 1.
If they come from site B, then I want them to see style 2.
If they come from anywhere else, I want them to see style 3.

If they are logged in, their default style is whichever style they initially saw. Once they have registered though, their style choice would override the style by referrer.

Is this possible?

Nudda
05-09-2007, 02:48 AM
The only way i can think of would be for the referring site's link to have ?style=# at the end of the url.

shortbus1662
05-09-2007, 02:59 AM
can you include style id in links to individual posts?

nevermind I answered that myself!