google tag manager - Multiple Pages/Views with Same URL, only fire tag on one of them -


i have page uses multiview in asp.net hide , show page elements, rather going different pages. same url maintained through of these pages. if want tag fire on, say, third view in process, how can specify google tag manager rule without having url change base on? know there other options besides url, haven't seen work in case...

the solution went add sort of variable indicating page i'm on. example, if page called thirdpage, add data layer:

datalayer = [{ 'pagetitle': 'thirdpage' }]; 

and check in tag triggers in google tag manager.


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -