Adsense Plugin
PermalinkI'm wondering if someone smarter than me has already think of creating an Adsense plugin which would allow us to automatically insert Adsense in all our pages without having to edit anything else than the plugin when we must change whether our Pub ID or else...
I mean some kind of plugin which is available for Wordpress. Just change the info from the backoffice or dashboard and everything automatically changes in each page...
Might be a great addition to the Concrete5 marketplace and huge time saver for those who have to change their Adsense stuff - like I have to do right now.
Won't be a fun task to do although I don't have a huge lot of pages yet but if I had 100's of pages to change, it would become a hard task, waste of time and, since I thought of moving all my sites or integrate all of them in my current Concrete5 site, I'm still reluctant to do so because of this :(
If anyone has an idea, I'll glady read it and take any advice into consideration :)
Thanks for reading,
Dom.
I think I downloaded this plugin in the past but I don't remember if it included Google search or not - there's another Google search plugin but this one doesn't seem to allow the addition of our Pub ID ;)
Does yours include search?
Thanks.
the footer_required stuff is specifically built for this, attaching screenshot of where you would add it, under tracking code.
That is what I'm looking for - I transfered a site to someone else and because I used php statements for Adsense, they didn't have any problem to install their own info on the site.
Now, if I had to transfer my site built with Concrete5 and while it's an excellent tool, I'd have to manually delete ALL Adsense modules before being able to transfer the site (as per Adsense TOS you can't transfer with ads) and then the new owner woud have to re-create all modules with their own info.
I will be back once this software matures a bit more.
Looks good so far !
1.) Create an adsense block. when you sell/transfer a site, you delete the block, everything is gone.
2.) Load all your adsense modules using Loader::element('adsense');
If you transfer a site, you delete the contents of siteroot/elements/adsense, it fails gracefully because it doesn't actually have anything to include markup wise.
Creating an adsense block would just be an exercise in patience, it wouldn't be hard to do.
I'm not a developer, I'm just a user... If using Concrete5 means becoming programmer/developer, then it's definitely not for me.
With WordPress, Joomla, Nuke and the rest, there are plugins which do the job, easy to install, just put your Adsense ID and you're done.
As for creating Adsense blocks through modules, it's tedious, particularly when you have to change their data in 100 pages.
http://www.concrete5.org/marketplace/addons/google-adsense/...
You can also see it in action at:
http://c5extras.com/add-ons/google-adsense/...
I have created such a block for c5 5.2.1. Unfortunately it does not work with the current version.
I planned to rewrite the block for 5.4.1.1. If everything works fine, I'll update my post next week.
Here's the post:
http://www.concrete5.org/community/forums/block_requests/google_ads...