Are You Spying on Your Competitors' Ad Campaigns?

Our tools monitor millions of native, push, pop, and TikTok advertising campaigns.

Get Started

What is browser history manipulation?

When you click on the browser back button, you are supposed to go to the previous page that you were browsing...correct?

Well, not always. Many marketers use a known HTML5 feature to change your back button history by pushing additional URL(s). You can do this simply by inserting a small javascript code (as shown below) into your page that gets executed when the user arrives at your page.

                            function clickHandler(e) {
  /* Snip... */

  // Add an item to the history log
  history.pushState(data, event.target.textContent, url);

  return event.preventDefault();
}
                        

Marketers use this technique to add another URL which may contain an additional hook, lead-gen magnet, or a complementary product to entice the user to take an action in an effort to boost the conversion rate. However, as you can see in the code above, one can push any number of new URLs thereby making it impossible for the user to go back to the original page from where he/she arrived from leading to a very poor user experience.

This was bound to get noticed by the browser developers and the loophole was going to get addressed. Chrome has already taken an action according to this announcement posted a couple of months ago. There have been many reports of this already being implemented on the newer version of chrome browser.

When is it happening?

It has already been implemented in all new Chrome releases.

Which platforms/OS are going to be impacted?

Almost all the major platforms are going to see this change. According to the announcement, following platforms are included:

  • Windows
  • Mac
  • Linux
  • Chrome OS
  • Android
  • Android WebView (aka Android Apps)

Are there going to be any exceptions?

Yes. There is one exception. If the page has a user gesture such as a click, scroll etc. this event will not be fired and the user will indeed go to the URL that was injected using pushstate method. This will, of course, not be applicable to the discussion here since we are talking about adding URL(s) which were never visited by the user in the first place.

Top converting landing page sample images
Top Converting Landing Pages For Free

Receive top converting landing pages in your inbox every week from us.

Related Articles
How an E-commerce Store in Peru Made Thousands in Profit by Selling Kids' Drawing Tablets

Case Study

How an E-commerce Store in Peru Made Thousands in Profit by Selling Kids' Drawing Tablets

TikTok has emerged as a powerful advertising platform for e-commerce businesses looking to drive sales and grow their customer base. This case study from Peru demonstrates the immense potential TikTok holds for e-commerce businesses.

Kulwant Nagi

Kulwant Nagi

7 minJul 14, 2024

Maximizing Sales: The Ultimate Guide to TikTok Ads Shopify 2024

Featured

Maximizing Sales: The Ultimate Guide to TikTok Ads Shopify 2024

Jairene Cruz

Jairene Cruz

7 minApr 25, 2024

9 Native Advertising Mistakes That Are Killing Your Campaigns

Must Read

9 Native Advertising Mistakes That Are Killing Your Campaigns

In the realm of digital marketing, native advertising has emerged as a potent tool for connecting with target audiences. The stakes are high in this game of digital persuasion. Understanding common pitfalls is key to navigating the landscape successfully.

Marcus Chen

Marcus Chen

7 minFeb 22, 2024