Home > > Coreg

Trouble getting GameTheory Paths to Populate info (16)


09-19-2011 07:15 PM #1 atherbys (Member)
Trouble getting GameTheory Paths to Populate info

I appreciated the great webinar Optimex!

I have setup my path with GameTheory and seem to be having issues getting the subsequent offers GM presents to the customer to prepop their data.

On my 'select your prize' page, my setup where I collect the customer's info looks like this:

<td class="style3">First Name*:</td>
<td>
<input class="mreq" id="first_name" name="first_name" size="30" tabindex="1" maxlength="40" style="border: 2px solid rgb(130, 130, 130); padding: 0px;" type="text">


<td class="style3">Last Name*:</td>
<td>
<input class="mreq" id="last_name" name="last_name" size="30" tabindex="2" maxlength="40" style="border: 2px solid rgb(130, 130, 130);" type="text">


<td class="style3">Email*:</td>
<td>
<input class="mreq" id="email" name="email" size="30" tabindex="3" maxlength="40" style="border: 2px solid rgb(130, 130, 130);" type="text">

<td class="style3">Mobile Phone*:</td>
<td>
<input class="mreq" id="mobile_number" name="mobile_number" tabindex="4" maxlength="10" size="30" style="border: 2px solid rgb(130, 130, 130);" type="text">



then on the next 'processing' page where I actually have the Gametheory link iframed, I have this at the top of the page:

<?php
$first_name = $_POST["first_name"];
$last_name = $_POST["last_name"];
$mobile_number = $_POST["phone"];
$email= $_POST["email"];
?>


and the in the iframed portion I included:

<iframe src="http://gtoffers.com/coreg/entry.php?p=mygametheoryIDx1&limit=6&&framed=1&mob ile_number=<?php echo $mobile_number; ?>&fname=<?php echo $first_name; ?>&lname=<?php echo $last_name; ?>&email=<?php echo $email; ?>&sid=BestBuy-Survey-TV&redirect=MyRedirectOfferLink" onload="location.href='#'" frameborder="0" height="900" scrolling="no" width="100%">
</iframe>


I'm sure I'm doing something wrong...would appreciate the advice of any PHP coders thanks!

Gary


09-19-2011 08:34 PM #2 m0thm4n (Member)

Hi Gary, if that iframe code is copied and pasted from your actual code, you may be having trouble because of the space in mobile.


09-19-2011 08:40 PM #3 atherbys (Member)

Thanks! One thing I forgot to mention, is that I'm running this through CPVlab. So to advance from the index --> select prize --> processing --> results pages, I have to use the base2.php links to go from page to page....any way to post or echo those variables through that cpv labs link?


09-19-2011 08:52 PM #4 m0thm4n (Member)

I'm not very familiar with those packages Gary (i'm very new to this all), but you should be able to pass the variables in the url string (querystring) in the same way you are passing the variables to GT in the iFrame


09-20-2011 12:54 AM #5 polarbacon (Moderator)

it looks like to me you have your variables screwed up......

in the form you have mobile_phone then you try to get it via $_POST["phone"]; ....which it should be $_POST["mobile_phone"];

and you can pass whatever you want on the base2.php link from cpvlab....just ad a query string on the end.....


09-20-2011 03:11 AM #6 atherbys (Member)

Thanks Polar, could I have you show me a quick example of what my query string should look like on the end of base2.php? How would I capture that data on the next page? With Get or Post?

Thanks

Gary


09-20-2011 03:45 AM #7 xrproto (Member)

&mob ile_number= should be &phone=


09-22-2011 02:58 AM #8 keen (Member)

Yep like what xrproto and polar mentioned, those two little bugs need to be fixed.


10-03-2011 01:41 PM #9 nick (Member)

Mmmm.... I'm having the same issue of the variables not being populated into the GT cell confirmation page.

At the start of my confirmation page I have:

session_start();
$fname=@$_GET['leadFirstName'];
$lname=@$_GET['leadLastName'];
$email=@$_GET['leadEmail'];
$p1=@$_GET['leadCellPhone1'];
$p2=@$_GET['leadCellPhone2'];
$p3=@$_GET['leadCellPhone3'];
$phone=$p1.$p2.$p3;

Which definitely works, because I've tested it by adding

print "cellphone number is $phone";

to the page, and it does print whatever cell number you entered on the data collection page.

Then I have my GT url as:

http://gtoffers.com/coreg/entry.php?p=$gtkey&limit=6&email=$email&framed=1&f name=$fname&lname=$lname&phone=$phone

but it doesn't pre-pop the cellphone number on the confirmation page.

Anything obvious that I'm doing wrong here?


10-03-2011 02:01 PM #10 bbrock32 (Administrator)

Just so you guys know , GT is not pre popping all the phone numbers anymore due to carrier's restrictions.

So prob there is nothing wrong with your code.


10-03-2011 02:12 PM #11 nick (Member)

Cheers for that. You've saved me many hours of head-scratching!

Seeing as this is the case for GT, do you still bother collecting the cell number on your own info gathering page?

I suppose it kinda warms them up, and then they perhaps just think they've mis-keyed something when they get to the GT frame...


10-03-2011 02:15 PM #12 bbrock32 (Administrator)

Yeah , I still collect it.

GT said they still needed it to do some kind of validation.

Anyway , I should def split test removing it and see if that improves anything.


10-04-2011 06:53 PM #13 danny27 (AMC Alumnus)

Quote Originally Posted by bbrock32 View Post
Just so you guys know , GT is not pre popping all the phone numbers anymore due to carrier's restrictions.

So prob there is nothing wrong with your code.
It worked for me until yesterday - at first I thought it was my code but makes sense now.


10-04-2011 07:25 PM #14 bunchie (Member)

Isn't this going to seriously lower the RPU on their paths?


10-05-2011 12:02 AM #15 animalsinwar (Member)

Wanted to chime in here -- not being able to totally prepop phone doesn't affect the RPU of our paths versus our competitors; everyone has to play by the same carrier rules when it comes to prepopping. For instance, we can prepop a portion of the number on ATT and Verizon, but on Sprint nothing can prepop. It depends on who the user uses as their mobile provider. This has been in effect for almost a year, so it's nothing new.

The reason why we ask you to collect the number ahead of time is so we know which carrier the user has and we can display the proper terms on our offer. Each carrier has a different set of terms and conditions that we're required to show. Without their phone number, the user will see that prompt that says "Please enter a valid cell phone number" so that we can get this info.

Feel free to reach out to me directly on AIM at justinviveli if you have any more questions!

-Justin
GameTheory


10-05-2011 08:30 AM #16 danny27 (AMC Alumnus)

It totally lowered my RPU it hurts...

Edit: nevermind just read Justin's post.


Home > > Coreg