page variable is showing value of previous (landing) page | Community
Skip to main content
Level 2
December 7, 2019
Solved

page variable is showing value of previous (landing) page

  • December 7, 2019
  • 1 reply
  • 2664 views

Hi Experts,

I am new to launch and analytics and facing an issue so posting here

As a user I open my website, I made some search and it takes me to search result page

I click on the header logo and go back to homepage

on homepage , in analytics image request I can see page variable having value of Search Result Page

If I re-click on header logo of homepage, I get the correct "page" variable value now.

I have  set a rule for Clear Variable after Send  Beacon but it doesn;t seam working. Can anybody provide some inputs here ?

Thank you.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by KDSingh14

Hi,

Hope your site is not a Single page application. As such issue happens alot on SPA. If not then I will suggest you to please make sure you are using latest version of app measurement.

Also, please check if such isssue is happening on S.t() or S.tl() calls. As Pagename can be same on s.tl() call. That is because page doesnot load and on s.tl() pagename value are not reported.

Regards

Karandeep Singh

1 reply

KDSingh14
KDSingh14Accepted solution
Level 3
December 9, 2019

Hi,

Hope your site is not a Single page application. As such issue happens alot on SPA. If not then I will suggest you to please make sure you are using latest version of app measurement.

Also, please check if such isssue is happening on S.t() or S.tl() calls. As Pagename can be same on s.tl() call. That is because page doesnot load and on s.tl() pagename value are not reported.

Regards

Karandeep Singh