Welcome, Guest. Please login or register.
July 19, 2025, 11:35:32 PM

Login with username, password and session length

Search:     Advanced search
we're back, baby
*
Home Help Search Login Register
f13.net  |  f13.net General Forums  |  General Discussion  |  Topic: HTML/Website question for any gurus here 0 Members and 1 Guest are viewing this topic.
Pages: [1] Go Down Print
Author Topic: HTML/Website question for any gurus here  (Read 2049 times)
Bunk
Contributor
Posts: 5828

Operating Thetan One


on: September 28, 2007, 10:56:09 AM

So I have something I'd like to do with my work related website, and I don't know if it's possible. Hoping someone here might have a suggestion.

I have a site set up for work that promotes all of our products: www.darrenmantle.com
On that site in various locations are links to our Corporate Website (www.topproducer.com) that provide additional details on some of the products.

It's set up so that if a client clicks on one of those links, when they get redirected to the Corporate site it drops a cookie on thier system. This cookie masks our general sales number and online store links on the Corporate site, and instead shows the client my contact info. Here's one of those links, for example:

http://www.topproducer.com/Products/Top-Producer-7i/Top-Producer-7i.aspx?utm_source=TES&utm_medium=Branded-Email&utm_term=Darren Mantle&utm_content=Grapghic-7i&utm_campaign=TES-Branded-Email&sid=dmantle#readmore

The problem is, that visitors seldom actually click those links, since they usually find what they need on my page. Currently, most of the traffic I get to my site is through links in emails I send to customers.

Here's my question: Can anyone think of a way that I can create a link in an email that will take the client to www.darrenmantle.com, but will drop in the cookie associated with this link:
http://www.topproducer.com/Products/Top-Producer-7i/Top-Producer-7i.aspx?utm_source=TES&utm_medium=Branded-Email&utm_term=Darren Mantle&utm_content=Grapghic-7i&utm_campaign=TES-Branded-Email&sid=dmantle#readmore without actually taking the client to the topproducer.com site?

"Welcome to the internet, pussy." - VDL
"I have retard strength." - Schild
HaemishM
Staff Emeritus
Posts: 42666

the Confederate flag underneath the stone in my class ring


WWW
Reply #1 on: September 28, 2007, 12:36:15 PM

You could put a script on your page that checks the client for the cookie you are looking for and if they don't have that cookie, it drops it on them. Or if you want to jerry-rig it, create a page on your site that drops the cookie but isn't the home page that drops the cookie on them when they go to the page.

Sky
Terracotta Army
Posts: 32117

I love my TV an' hug my TV an' call it 'George'.


Reply #2 on: September 28, 2007, 01:35:47 PM

Or if you want to jerry-rig it, create a page on your site that drops the cookie but isn't the home page that drops the cookie on them when they go to the page.
I usually block any cookies not originating from that site, so that might be a problem.
naum
Terracotta Army
Posts: 4263


WWW
Reply #3 on: September 28, 2007, 01:37:19 PM

Image cookies.

But the "image URL" is not really an image — well it can serve up an invisible .gif/.png, but it will be a PHP/Ruby/Perl/$OtherWebScriptingOrProgrammingLanguage invocation that squirts a cookie out…


"Should the batman kill Joker because it would save more lives?" is a fundamentally different question from "should the batman have a bunch of machineguns that go BATBATBATBATBAT because its totally cool?". ~Goumindong
naum
Terracotta Army
Posts: 4263


WWW
Reply #4 on: September 28, 2007, 01:38:40 PM

Or if you want to jerry-rig it, create a page on your site that drops the cookie but isn't the home page that drops the cookie on them when they go to the page.
I usually block any cookies not originating from that site, so that might be a problem.

/ditto

But most web visitors are not that savvy, or even possess a desire to toggle on what you and I believe to be a preferable online setting…

"Should the batman kill Joker because it would save more lives?" is a fundamentally different question from "should the batman have a bunch of machineguns that go BATBATBATBATBAT because its totally cool?". ~Goumindong
Ookii
Staff Emeritus
Posts: 2676

is actually Trippy


WWW
Reply #5 on: September 28, 2007, 01:44:00 PM

Privacy defaults to medium in IE which automatically blocks cookies for third party websites.

naum
Terracotta Army
Posts: 4263


WWW
Reply #6 on: September 28, 2007, 02:18:18 PM

Privacy defaults to medium in IE which automatically blocks cookies for third party websites.

Eh, my testing has revealed that IE7 privacy settings are highly arbitrary and even going in and fiddling with non-related settings can set/unset other settings…

"Should the batman kill Joker because it would save more lives?" is a fundamentally different question from "should the batman have a bunch of machineguns that go BATBATBATBATBAT because its totally cool?". ~Goumindong
Trippy
Administrator
Posts: 23657


Reply #7 on: September 28, 2007, 06:09:50 PM

Why aren't they checking the sid URL parameter in addition to checking the cookie?
Bunk
Contributor
Posts: 5828

Operating Thetan One


Reply #8 on: September 29, 2007, 03:01:02 PM

Well, if default settings in IE prevent third party cookies (which really, they should) then I probably won't bother. Thanks for the ideas though.

"Welcome to the internet, pussy." - VDL
"I have retard strength." - Schild
Pages: [1] Go Up Print 
f13.net  |  f13.net General Forums  |  General Discussion  |  Topic: HTML/Website question for any gurus here  
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC