2.9K members online now
2.9K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
Guide Me

Virtual pageview referred by a virtual pageview

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭
I have  question. Is it possible to fire a tag based on a virtual pageview that occurred during the previous step?  Something like this:
Previous site virtual pageview url was /step-1 so fire a tag with a virtual pageview url /step2 ?
1 Expert replyverified_user

Re: Virtual pageview referred by a virtual pageview

Top Contributor
# 2
Top Contributor
Hi Jakub,

yep it is pretty much possible to do it yet you would need to persist the current / last used step value using either a cookie or sessionsStorage.

Kind regards,
Web analyst @