Help! Google AdWords Issue - URGENT

9 posts by 3 authors in: Forums > CMS Builder
Last Post: April 8, 2009   (RSS)

By lterenzi - March 19, 2009 - edited: April 6, 2009

hey guys... This is from an SEO guy that a client is working with. I am not educated in Google Adwords / Analytics so hopefully what he sent me you can help with.

**********
EXCERPT FROM ORIGINAL EMAIL FROM SEO GUY
***********

I've never seen this before but for some reason the CMS is crashing when Google appends the tracking tags to the URL for AdWords. Basically the page works fine but no content appears. For example...

http://www.thewrapsource.com/?gclid=CJu9z5GdrZkCFQKbnAodJFBQJg

**********
END EXCERPT
**********

I pasted the Google code right into the page and not through CMSB.

Any thoughts or idea on what's going on?

Thanks!
Lenny
Best,
Lenny

Hey Monkey! Design
graphic design • web development • blog
--
lenny@heymonkeydesign.com
919•279•3301
--
web: www.heymonkeydesign.com
twitter: @heymonkeydesign

Re: [lterenzi] Help! Google AdWords Issue

By ross - March 19, 2009

Hi Lenny

Thanks for posting!

I think what's happening there is CMS Builder thinks you are trying to do a search when you have that code in the URL like that.

Open up your index page and in the viewer code at the top, add in this extra line:

'allowSearch' => false,

That will stop it from trying to do a search.

Let me know how this works out for you.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] Help! Google AdWords Issue

By lterenzi - March 20, 2009

Hi Ross!!

I added that in and he said it still didnt work. I very well may have not inserted the code in the right space. Here is what I did:


<?php

require_once "/mnt/local/home/wrapnow/thewrapsource.com/cmsAdmin/lib/viewer_functions.php";

list($mainRecords, $mainMetaData) = getRecords(array(
'tableName' => 'main',
'where' => whereRecordNumberInUrl(1),
'limit' => '1',
'allowSearch' => false,
));
$mainRecord = @$mainRecords[0]; // get first record

?>


Thanks!
Lenny
Best,
Lenny

Hey Monkey! Design
graphic design • web development • blog
--
lenny@heymonkeydesign.com
919•279•3301
--
web: www.heymonkeydesign.com
twitter: @heymonkeydesign

Re: [lterenzi] Help! Google AdWords Issue

By Dave - March 23, 2009

Hi Lenny,

The default generated code works for single pages and list detail pages, but doesn't anticipate content in the url. Try removing this line:

'where' => whereRecordNumberInUrl(1),

That will make it just load the first record from the database.

Let me know if that fixes it for you.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Help! Google AdWords Issue

By lterenzi - April 6, 2009

Well we had it working and now it is not... This is happening on all pages...

Here is the header code for my index.php page:

<?php

require_once "/mnt/local/home/wrapnow/thewrapsource.com/cmsAdmin/lib/viewer_functions.php";

list($mainRecords, $mainMetaData) = getRecords(array(
'tableName' => 'main',
'limit' => '1',
));
$mainRecord = @$mainRecords[0]; // get first record

?>

Here is a generated URL from Google AdWords:

http://www.thewrapsource.com/?gclid=CJu9z5GdrZkCFQKbnAodJFBQJg

You will see the error message we are getting when you click on that.
Best,
Lenny

Hey Monkey! Design
graphic design • web development • blog
--
lenny@heymonkeydesign.com
919•279•3301
--
web: www.heymonkeydesign.com
twitter: @heymonkeydesign

Re: [lterenzi] Help! Google AdWords Issue

By ross - April 6, 2009

Hi there.

I had a look at this page:

http://www.thewrapsource.com/?gclid=CJu9z5GdrZkCFQKbnAodJFBQJg

and there aren't any error messages. Is there something that isn't working properly on this page that I am not seeing? I am cirious if maybe something isn't working but isn't actually giving an error message.

Let me know :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] Help! Google AdWords Issue

By lterenzi - April 6, 2009

Hi Ross -

It looked ok in IE 7/8?

Lenny
Best,
Lenny

Hey Monkey! Design
graphic design • web development • blog
--
lenny@heymonkeydesign.com
919•279•3301
--
web: www.heymonkeydesign.com
twitter: @heymonkeydesign

Re: [lterenzi] Help! Google AdWords Issue

By ross - April 8, 2009

Hi Lenny.

It did look ok for me. I am not entirely sure with IE 8 thought. It's still pretty new and I have run into quite a few different things that it doesn't quite do quite right yet.

Is IE 7/8 the only browsers you are having trouble in?
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/