How can I use Google adsense ads in a single page application?

The ad code is inserted and works fine on the home page. But as soon as the hash changes,user goes to the second page (Without reload). The ads stop showing. What could be the way around it. I think its loaded once the DOM is loaded and hash change without reload might be causing the issue.

55 thoughts on “How can I use Google adsense ads in a single page application?”

  1. Pretty section of content. I just stumbled upon your blog and in accession capital to assert that
    I acquire in fact enjoyed account your blog posts. Anyway I’ll be subscribing to your feeds and even I
    achievement you access consistently fast.

    Reply
  2. I am not certain the place you’re getting your info, but
    great topic. I needs to spend a while studying much more or working out more.
    Thank you for fantastic information I was looking for this information for my mission.

    Reply
  3. Wonderful blog! I found it while searching on Yahoo News.
    Do you have any tips on how to get listed in Yahoo
    News? I’ve been trying for a while but I never seem to get there!
    Many thanks

    Reply
  4. Howdy! This post could not be written any better!
    Going through this article reminds me of my previous roommate!
    He constantly kept preaching about this. I most certainly will forward this post to
    him. Pretty sure he will have a very good read. Thanks for sharing!

    Reply

Leave a Comment