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
Surprising Trends in Digital Marketing: A Critical Review

Featured

Surprising Trends in Digital Marketing: A Critical Review

Digital marketing is a crucial part of business strategy in 2024, changing the way brands connect with their audiences.

Dan Smith

Dan Smith

7 minJan 23, 2025

Understanding Consumer Responses: A Guide to Effective Promotional Posts

None

Understanding Consumer Responses: A Guide to Effective Promotional Posts

Understanding consumer responses to promotional posts isn't just about tracking likes and shares - it's about diving deep into the psychology that drives engagement and purchasing decisions.

Dan Smith

Dan Smith

7 minJan 21, 2025

10 Surprising Ways Influencer Marketing is Changing the Fashion Industry

None

10 Surprising Ways Influencer Marketing is Changing the Fashion Industry

Influencer marketing in fashion represents a shift from traditional advertising to authentic, relationship-based promotion.

Dan Smith

Dan Smith

7 minJan 19, 2025