Ajax structure in JQM: impossible to monitize site w/ads?
Hi all,
I'm trying to incorporate ad networks into my JQM site have not been able to find anything resembling an elegant solution. Most ad networks (such as Google Adsense, GreyStripe, and Admob) simply require that you copy/paste a few lines of JavaScript where you want an ad to show. This works on the first JQM page but fails on subsequent pages due to the way JQM loads pages via Ajax.
I've been browsing the forums and found others with the
same
issues. As more people start evaluating JQM, I think this is going to be a show-stopper for people wanting to use the platform.
Does anyone have a suggestion for how approach this problem? It just seems like such a common thing that this will need to be addressed somehow. Is there a plugin in the works or something like that?
Thanks!
Pete
PS: Admob does have a workaround: the manual_mode parameter combined with their fetchAd call allows you to pass a DIV in and get the ad rendered. I can't find anything for Adsense and other networks.