GTM data layer eventCallback function

后端 未结 4 578
猫巷女王i
猫巷女王i 2021-01-07 01:59

So i have Ecommerce code setup in GTM data layer, but after that is sent to Analytics i want the page to be redirected so i know i should be using eventCallback but it is no

4条回答
  •  旧时难觅i
    2021-01-07 02:07

    Dreadlord,

    try using this: (no href after window.location)

    'eventCallback': function() {
        window.location.href = 'https://www.paypal.com/something';
    }
    

    This should fix it. Hope this helps, Petr

提交回复
热议问题