SOLVED

Re: Track page tag

Go to solution
Anonymous
Not applicable

Hi,

I would like to understand if Munchkin can track page tags? I want to put two standard tags on all the pages, say Tag_Product and  Tag_Solution, would like to add leads to appropriate lists based on their page visit history. Example, if a leads visits a page with Tag_Product = "Network", i would add them to network list, or they visit a page tagged with Tag_Product = "Sever" I will add them to server list.

Is there any out of box, or any other recommended solution/alternatives?

Thanks for reading and your help! I will be compiling and sharing the answers for the benefit of the forum.

Deepak

1 ACCEPTED SOLUTION
SanfordWhiteman
Level 10 - Community Moderator

I mean literally all the JS I posted goes inside

success: function(){

}

Honestly the fact that you're loading Munchkin asynchronously is making it harder for you to customize the code because you're not a JS guy. You'd be better off using the regular embed code and putting it at the bottom of your HTML.  I'm not always a fan of loading Munchkin.js async because the very thing that makes async attractive -- doesn't interfere with other assets or page rendering/navigation -- is also leaving room for Munchkin to fail to register a page view before the user navigates away from the page. Of course in most cases it's beneficial, but in specific edge cases you might lose a log entry because the page has been told not to wait for Munchkin.js before moving on.

View solution in original post

22 REPLIES 22
Casey_Grimes
Level 10

That's definitely cleaner than the way I did it! That being said, thanks for the heads-up on Munchkin::init(); I've seen the duplication happen a couple of times in the past but chalked it up to other things.

Anonymous
Not applicable

Thank you Courtney. I am trying this solution, will let you know the outcome.

Thanks

Deepak