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.