JS Extension to set up conversion funnel events doesn't work.

Gold Contributor
Gold Contributor
I am trying to set a top-up event on each stage on the funnel . This is my code below. I saved the extension to Dev and tested but can see no result. Could someone have a look and tell me what can be wrong. Not sure about tagging_page var. I can see it in the UDO but it is not in the data layer in the Tealium interface. I guess it should be a default var... //SET TOPUP_EVENT FOR CHECKOUT FUNNEL if(a === 'view'){ //Ensure it's not a link if(b['dom.pathname'] === '/fast-payment/'&& b.tagging_page === landing_ctn-check){ b.topup_event = 'Topup Start'; } else if(b.page_name_full === 'personal > My Account > Top up > fast-payment > topupinput'){ b.topup_event = 'Topup Input'; } else if(b.page_name_full === 'personal > My Account > Make Payment > fast-payment > parenttcc > fa=action_tcc_intermediate'){ b.topup_event = 'Topup Checkout'; } else if(b.page_name_full === 'personal > My Account > Make Payment > fast-payment > paymentconfirmation > fa=action_tcc_response'){ b.topup_event = 'Topup Preconfirmation'; } }
2 REPLIES 2

JS Extension to set up conversion funnel events doesn't work.

Gold Contributor
Gold Contributor
Please ignore it. It's working now.

JS Extension to set up conversion funnel events doesn't work.

Tealium Employee
Hey Alla, I'm glad it's working! Keep the questions coming!
Public