Added page_location property with page_path for tracking UTM parameters without reload.
Used window.location.origin for getting origin but it's optional, if you feel window can create problem in some time you can remove origin name, only to.fullPath will be enough for doing the job.
Added
page_location
property withpage_path
for tracking UTM parameters without reload. Usedwindow.location.origin
for getting origin but it's optional, if you feel window can create problem in some time you can remove origin name, onlyto.fullPath
will be enough for doing the job.