Our tools monitor millions of native, push, pop, and TikTok advertising campaigns.
Get StartedWhen 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.
It has already been implemented in all new Chrome releases.
Almost all the major platforms are going to see this change. According to the announcement, following platforms are included:
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.
Featured
Digital marketing is a crucial part of business strategy in 2024, changing the way brands connect with their audiences.
Dan Smith
7 minJan 23, 2025
None
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
7 minJan 21, 2025
None
Influencer marketing in fashion represents a shift from traditional advertising to authentic, relationship-based promotion.
Dan Smith
7 minJan 19, 2025