How to trigger a tag upon multiple pageviews in a session using GTM?

How to trigger a tag upon multiple pageviews in a session using GTM?

Let's start

It’s very easy to setup goal upon multiple pageviews in Google Analytics as compared to Google Tag Manager. GTM does not maintain state, as soon as you navigate away from a page GTM has forgotten about it.

To trigger a tag after multiple pageviews you will need to store a count of pageviews. It could be either in a cookie / local storage. Finally use the stored value as trigger condition of the tag.

Are you looking for a top-notch Data Analytics team to enhance your business’s data-driven decision making? Reach out here or learn why hiring a customer analytics consultant is important for your business? If you want to know more about us, click here.

Share now

We are a customer-analytics consultancy that transforms messy data into actionable insights that will help you grow your company and make better data-backed decisions.

We're trusted by the best
Need something done?