Tag Archive | "joomla"

Joomla AdSense Integration

Tags: , , , , , , , , ,


AdSense ads, in fact, a few lines of JavaScript code that can be embedded anywhere on the website. If you have static pages then this is pretty easy. You simply paste the AdSense code where you want your ads to appear. Of course, you have to paste each ad individually unless you have some template for the website. Things are not so simple when you use a content management system like Joomla.

Joomla uses a template that defines the web page layout and module positions. Positions of the modules are the places where you can add page elements such as menus, tag clouds, search boxes, social bookmarking widgets or ads. To include AdSense ads in Joomla can be installed AdSense module dedicated or general purpose module code insertion. Each solution has some advantages and disadvantages.

Dedicated AdSense module is very simple to use. Simply enter your publisher ID, select the ad type and size, set the channel number, colors, publish module in the desired position and your ad is online. The disadvantage of this approach is that we have no control over the generated code. Google expressly prohibits any change in the ad code. In general, precision modules AdSense regenerate the code defined by Google and should not be a problem. However, if for some reason, this code change that you have a problem. You should periodically (once in a month or so) check the source code of your website. Not only for the ads, just to be sure that all SEO page elements are present. When adding new modules and plug-ins for Joomla website may inadvertently cause some changes in the layout, header or somewhere not visible.

The second approach to include AdSense ads is to use a general form as CustomCode. Such insertions of arbitrary code modules in any position of the module. This is very convenient when you want to have total control over the injected code. The disadvantage of this method is that you must be very careful when changing colors or ad format. It's easy to change the code in the wrong place. Of course, you can use this method if you are an advanced user and Joomla you know exactly what you're doing. With this approach, they also have the ability to add custom PHP script to display advertising only non-registered users or to randomly change the ad colors.

Both approaches to place AdSense ads in Joomla website are very simple with the appropriate module. And for each module can select the pages where the ads will appear. This has a very strong control over the appearance of ads on your site.

Our Sponsors

Our Sponsors

Archives

Invesp landing page optimization

Web Analytics