- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › Change header content based on incoming user's referral source
If someone is referred to my page from a charity’s social media page, I want them to see that charity’s logo and color in my page’s header.
How would I do something like this??
What have you tried so far…we’re not a “code it for you” forum…we’re more of a “fix my non-working code” bunch.
Much like the folks at Stack Overflow – http://stackoverflow.com/questions/32013345/change-header-content-based-on-incoming-users-referral-source
Yeah that’s my question on Stack. Looking for some ideas, not code…
I’d think php would be the most appropriate tool. Only problem is that referers aren’t very reliable and can be spoofed.
As I recall the original question on SO (which is now deleted) you wanted some kind of scraping that would automagically detect the referrers logo, copy it and display it on the new page….because you didn’t want to maintain the images yourself.
Frankly, that sounds like a security (and possibly privacy) nightmare.