Home > Questions and Answers > Tracking Questions

How do I use CPV lab to pass the Leadimpact URL to my landing page? (3)


06-11-2011 12:14 PM #1 jjrich (Member)
How do I use CPV lab to pass the Leadimpact URL to my landing page?

Hey,

How do I use CPV lab to pass the Leadimpact URL to my landing page?


06-11-2011 12:27 PM #2 bbrock32 (Administrator)

You have the code in the end of the campaign in cpvlab , under "Pass Target to LP Variable: Add to LP in Location to display the target" .

Anyway , here's the code :

On the top of the lp [PHP]<?php echo($_GET["target"]) ?>[/PHP]

Where you want the keyword to be inserted [PHP]<?php $target = str_replace('http://', '', str_replace('https://', '', str_replace('www.', '', $_GET["target"]))); echo(ucfirst(strpos($target,'/') !== false ? substr($target,0,strpos($target,'/')) : $target)); ?>[/PHP]


06-11-2011 03:05 PM #3 chase (Member)

Also, make sure you check the box for "Pass Target to Landing Page" in the campaign setup.


Home > Questions and Answers > Tracking Questions