OMS and dynamic Landing Pages

skeever's picture

Hey Guys, I have a been using oms for a while and today wanted to test out a dynamic lander. Meaning it will place the keyword anywhere on the page that I have some php code.

This is the php code Im using

<? echo $_GET[’kw’] ?>

However upon initial tests, it does not dynamically insert the searched keyword on the page. Im guessing this is because of the destination url that oms creates? Any help would be great. Thanks

Scott

harbor4393's picture

Hi Scott,

In order for you to grab a keyword using "<? echo $_GET[’kw’] ?>" you need to append that information to your destination url's before you upload your campaign to OMS.

Example destination url: http://www.yoursite.com/landingpage.php?kw=your+keyword

The easiest way to do this is to use Excel and concatenate to create your destination url's. Alternatively, you could also use a program like Speed PPC to accomplish this.

If you have already exported your OMS tracking url's and uploaded the campaigns to your PPC accounts you can add some code to the tracking.php file located in the oms_track folder to set a cookie containing the keyword. (Download the file to your computer first, edit it, then re-upload)

Enter the following code after all of the other code in the tracking.php file:

<?php
$kw=$_GET['utm_keyword'];
setcookie("kw", $kw, time()+31536000,"/","www.changetoyoursite.com");
?>

Make sure you enter this code after all of the other code and change "www.changetoyoursite.com" to the web address you are setting the cookie with.

Then on your landing page use <?php echo $_COOKIE['kw']; ?> to place your keyword where you want it. Keep in mind your keyword will probably be in lowercase so you want to use CSS to format the text if you want it to be in a different case.

The first option I told you to do will work all of the time. The only time the second option will not work is if the user has set their browser to block cookies. You can also write a php code to display a default text if the cookie is not present.

Both of these options should work, but you should test them to make sure.

Jeff

skeever's picture

Hi Jeff,

Once again, your knowledge has been super insightful! I am getting ready to test all this out but have one question, let me eleborate a bit first.

Basically I want to create a landing page for each ad group with each ad group containing 15-20 keywords. Then create the ads and use the dynamic keyword insertion feature in yahoo. I get all this, what confuses me is this....

your suggestion
Example: http://www.yoursite.com/landingpage.php?kw=your+keyword

At first glance this appears to be a keyword specific desintation url, by that I mean if I put

Example: http://www.yoursite.com/landingpage.php?kw=california+mortgage+loan

It would only pass california mortgage loan onto the landing page. But if the keyword that yahoo dynamically inserted into the ad is chicago mortgage loan but the url is
Example: http://www.yoursite.com/landingpage.php?kw=california+mortgage+loan

The landing page would display california mortgage loan while the ad read chicago mortgage loan. So thefore, I assume with this method each keyword would need it's own destination url?

Can the landing page dynamically pass the keyword from an ad that was created with dynamic keyword insertion? and still track correctly in OMS?

I read that yahoo will dynamically add the keyword onto the destination url, if this is the case, then I could just use

http://mysite.com/landing-page.php

with this php code on the landing page, where I want to see the keyword

"<? echo $_GET[’kw’] ?>"

and yahoo would pass the keyword onto my landing page?

Any advice would be super appreciated! I know this jumps a bit out of the realm of OMS but I don't want OMS not tracking properly because I wanted to use dynamic landers.

Sorry to sound dense and have so many questions about it but this is my first attempt at php dynamic insertion.

PS. Thanks again for your advice on sub id's passing, I have it working flawlessly on another campaign! :)

Thanks Jeff!

Cheers,

Scott

harbor4393's picture

Hi Scott,

With Yahoo's dynamic keyword insertion it will only insert the specific keyword you were bidding or an ALT Dynamic Text if you specified one when you created your campaigns. If yahoo dynamically inserted into the ad chicago mortgage loan then the specific keyword you were bidding on is chicago mortgage loan. You can have unique keyword destination url's for all of your keywords.

For Example:

KEYWORD
Destination URL

Chicago Mortgage Loan
http://www.yoursite.com/landingpage.php?kw=chicago+mortgage+loan

California Mortgage Loan
http://www.yoursite.com/landingpage.php?kw=california+mortgage+loan

In order to use "<? echo $_GET[’kw’] ?>" you need to create specific destination url's for each keyword like the example I gave above.

If you want yahoo to dynamically append to your url with the keyword information then you need to use this code on your page to grab the keyword from your url.

<?php echo $_GET['OVKEY']; ?> -This get's the keyword you bid on

You need to turn this feature on in Yahoo before it will work.

Jeff

skeever's picture

Jeff,

Thanks for your help, it is most appreciated, after messing with this for most of the day I think I have it figured out. Landing page is passing the keyword so all seems to be good. I'll know more once I have the campaign launched and running for a bit. Thanks again bud, You have helped me out tremendously in my switch to OMS!

Cheers,

-Scott

Twitter Me This....
www.twitter.com/skeever

skeever's picture

Thanks for replying so quickly! :)

Alright so if I create a specific destination url for each kw, then I guess I couldn't use one dynamic url for each adgroup? Basically I would like to create 1 landing page for each adgroup. Each adgroup would have 20 or so kw's and 4-6 ads that were created using dynamic keyword insertion and still show the keyword searched on the dynamic landing page via the php code.

I understand that I can do this but then throw OMS into the mix and I get confused as OMS will create its own destination url which might throw the information that yahoo appends off, therefore now allowing the php code on the landing page to reflect the searched keyword.

Basically I want to use one landing page

http://mysite.com/lander.php

which has the php code "<?php echo $_GET['OVKEY']; ?>" placed where I want the searched keyword to appear all the while still having OMS tracking correctly.

I read that I could use something like this

http://mysite.com/lander.php?kw={keyword}

on any ppc platform...

I turned on tracking urls in yahoo, so yahoo will now append the info, so if I wasn't using OMS I believe that the landing page would reflect the keyword using just the url to the lander?

Is there a way to test all this without going through yahoo? Just to test the that the php aspect is working?

Thanks so much for you helpful knowledge of php and OMS, I really appreciate it.

Cheers,

-Scott

Twitter Me This....
www.twitter.com/skeever

harbor4393's picture

Scott,

If you only want to use one landing page and dynamically insert the keyword then you should create unique destination url's for each of your keywords.

For example if you only want to use the landing page "http://mysite.com/lander.php" then do the following:

Keyword Destination URL
michigan mortgage loan http://mysite.com/lander.php?kw=michigan+mortgage+loan
california mortgage loan http://mysite.com/lander.php?kw=california+mortgage+loan
ohio mortgage loan http://mysite.com/lander.php?kw=ohio+mortgage+loan

Create these unique destination url's before you upload your campaign to OMS. OMS stores the unique destination url's so when you export the campaign OMS will attach the unique destination url's to the OMS tracking url. If you do not have unique destination url's then OMS uses the default destination url you entered when you exported your campaign.

On your landing page use the following code to grab the keyword from the url:

<?php echo $_GET['kw']; ?>

Jeff

skeever's picture

Thanks to you Jeff, That clears it all up for me, you have been super helpful and I really do appreciate it! I hope to pay it forward someday. Thanks again buddy! :)

Cheers,

-Scott

Twitter Me This....
www.twitter.com/skeever

smile66603's picture

Hey Jeff,

Since you seem to be the resident OMS expert :), I was hoping you might be able to help me with something.

If I have a keyword in an ad group on Yahoo, and I upload that ad group to OMS, I'm assuming there's something in the tracking code about what ad group and campaign the keyword is in?

If I decide to move that keyword to a new ad group, do I need to remove that tracking code before uploading the new ad group to OMS so it can add updated tracking information, or will OMS automatically make the update to the existing tracking code?

Thanks
James

harbor4393's picture

Hi James,

I would remove the OMS tracking url of the keyword. If you want that keyword to go to a specific landing page that is different than the rest of the keywords in the adgroup, enter a specific destination url for that keyword before you upload the adgroup to OMS. You can then export the adgroup with new OMS tracking url's.

Jeff

smile66603's picture

There are probably some cases where having the ad group name as part of the tracking code could be a bad thing.

After I let my keywords run for a while, I usually move the keywords with a low CTR to their own ad group. Some keywords might be doing good in an ad goup on Yahoo, but not on Google. That means, to keep everything straight in OMS, wouldn't I have to move the keywords in Yahoo and Google? If I moved them to a new ad group in Yahoo, but not in Google, that could cause some problems in OMS.

Another possibility is that it won't cause any problems, because the tracking URL tells what ad group and what search engine, so the reports should be accurate in OMS, but I'd have to give it some thought and see if it could cause any problems. If you updated an ad group in OMS from Yahoo and then later tried to export that ad group from OMS to Google, it could cause some problems, because the ad groups are organized and split up differently.

It would be interesting to hear from Jeremy, since he's probably had to deal with similar situations.

Thanks
James

Syndicate content