Google adwords code on particular pages
Permalink
Hi - I'm working with an SEO guy who is asking for specific google adwords scripts to go in particular pages. I was imagining that it would be a question of adding to the analytics script in sitewide settings but he wants to monitor particular pages egwww.www.mydomain.com/contact-us?... Any ideas how this can be achieved? Many thanks in advance...
Nowadays I believe AdWords/Analytics both pull the page dynamically. If not, you should put an HTML block on the page, with all the code. Since it it a script, I believe it won't even change anything in the design. But I'm guessing there's no easy way other that putting the code on each page. You COULD make a database of codeson XML or something and pull that with PHP or JavaScript, but I think it's too much work.
Check with the guy, I believe it is always the same code. I have Analytics and AdWords scripts added troughout my entire site, and I use a LOT of functionality, never found the need to make code-specific scripts for each page.
Check with the guy, I believe it is always the same code. I have Analytics and AdWords scripts added troughout my entire site, and I use a LOT of functionality, never found the need to make code-specific scripts for each page.
Google code for individual pages can probably be added by going to Edit page - Properties - Custom Attributes - then choose Add Extra Header Content from the drop-down of attributes. Paste your code there.
(I've used this for Google Webmaster tools and it works well for that)
(I've used this for Google Webmaster tools and it works well for that)
Although this would probably work, I'd advise against this approach as Google's tracking code is designed to be placed just before the </body> tag.
http://code.google.com/apis/analytics/docs/tracking/gaTrackingOverv...
But using a page attribute is a good idea, it would just have to be a custom one that added to the end of the page.
I do agree with Precificar though that there shouldn't be a need to added different snippets of code for tracking, just the one should be enough to track individual pages.
http://code.google.com/apis/analytics/docs/tracking/gaTrackingOverv...
But using a page attribute is a good idea, it would just have to be a custom one that added to the end of the page.
I do agree with Precificar though that there shouldn't be a need to added different snippets of code for tracking, just the one should be enough to track individual pages.
Using the old GA code, the placement at the end of the body is correct. Looking at the new asynchronous version, Google recommends placement in the headerhttp://www.google.com/support/analytics/bin/answer.py?answer=174090...
"Once you find the code snippet, copy and paste it into your web page, just before the closing </head> tag*. If your website uses templates to generate pages, enter it just before the closing </head> tag in the file that contains the <head> section."
But whatever works, they both seem to ;-)
"Once you find the code snippet, copy and paste it into your web page, just before the closing </head> tag*. If your website uses templates to generate pages, enter it just before the closing </head> tag in the file that contains the <head> section."
But whatever works, they both seem to ;-)
You're absolutely right, I should have taken more notice.
At least we're covered all bases! :-)
At least we're covered all bases! :-)
In Google Adwords, conversion tracking can be done in following ways
Tracking purchases by involving basic tracking code provided by Adwords and modifying it with
additional code unique to your particular e-commerce platform
View-through conversion window options tracks when a person sees your ad but does not click it (impression)
By enabling your ad rotation setting to optimize for clicks, meaning that Adwords will serve the ads it feels are likely to be clicked
By accessing search funnels inside tools and analysis, you can also know when customers clicked on your ad for the first time and how frequently they saw your ad before converting.
Tracking purchases by involving basic tracking code provided by Adwords and modifying it with
additional code unique to your particular e-commerce platform
View-through conversion window options tracks when a person sees your ad but does not click it (impression)
By enabling your ad rotation setting to optimize for clicks, meaning that Adwords will serve the ads it feels are likely to be clicked
By accessing search funnels inside tools and analysis, you can also know when customers clicked on your ad for the first time and how frequently they saw your ad before converting.
If you wanted it to sit in the same spot as the sitewide tracking code, you could add an extra area to your template.