Home > The Newbie Zone > Questions and Answers

Script for pulling user's root domain for lander (2)


04-19-2015 12:50 AM #1 mopower (Member)
Script for pulling user's root domain for lander

Does anyone know the script I can use to pull the root domain of the url the user is on?

I need this for PPV. So for example, a user is on amazon.com, then when my lander pops up, I need it to say, "congrats amazon.com user." If the user is on an extended url, i.e. amazon.com/blah.blah, I'd still only like 'amazon.com' to show on my lander.

Anyone have that kind of script lying around?


04-19-2015 01:16 AM #2 qureyoon (AMC Alumnus)

http://stmforum.com/forum/showthread.php?9153-Target-Trimming-to-Root-Domain
http://stmforum.com/forum/showthread.php?7956-Remove-www-and-and-from-Targets


Home > The Newbie Zone > Questions and Answers