conversion-tracking

How to initialize Facebook Pixel with data that will be populated after the initialization?

陌路散爱 提交于 2020-02-01 21:50:15
问题 I have a one-pager campaign site which should collect PageView and LEAD event data for Facebook targeting with "advanced matching". For PageView , I need to initialize the Pixel on page load. For advanced matching, I need to provide user data for initialization script — however, I only have user data available after user has submitted the data, which is when the LEAD event should be sent. Is it possible to provide the initialization script with a "pointer" to a javascript variable that is

How to initialize Facebook Pixel with data that will be populated after the initialization?

会有一股神秘感。 提交于 2020-02-01 21:49:12
问题 I have a one-pager campaign site which should collect PageView and LEAD event data for Facebook targeting with "advanced matching". For PageView , I need to initialize the Pixel on page load. For advanced matching, I need to provide user data for initialization script — however, I only have user data available after user has submitted the data, which is when the LEAD event should be sent. Is it possible to provide the initialization script with a "pointer" to a javascript variable that is

How to initialize Facebook Pixel with data that will be populated after the initialization?

眉间皱痕 提交于 2019-12-05 03:58:21
I have a one-pager campaign site which should collect PageView and LEAD event data for Facebook targeting with "advanced matching". For PageView , I need to initialize the Pixel on page load. For advanced matching, I need to provide user data for initialization script — however, I only have user data available after user has submitted the data, which is when the LEAD event should be sent. Is it possible to provide the initialization script with a "pointer" to a javascript variable that is used when sending the LEAD event? Help page hints at this, but all the examples have e.g. email parameter

_googWcmGet callback not working via GTM with dynamic phone number

别来无恙 提交于 2019-11-30 04:18:22
I'm trying to get Adwords Call Conversion tracking working on my site, using GTM. Everything is set up on the Adwords side (call extensions + call from website conversion) but the replace function still isn't working. <script type="text/javascript"> // the code from adwords, loads the _googWcmGet function (function(a,e,c,f,g,b,d){var h={ak:"XXXXXXX",cl:"XXXXXXXX"};a[c]=a[c]||function(){(a[c].q=a[c].q||[]).push(arguments)};a[f]||(a[f]=h.ak);b=e.createElement(g);b.async=1;b.src="//www.gstatic.com/wcm/loader.js";d=e.getElementsByTagName(g)[0];d.parentNode.insertBefore(b,d);a._googWcmGet=function

_googWcmGet callback not working via GTM with dynamic phone number

佐手、 提交于 2019-11-29 01:49:37
问题 I'm trying to get Adwords Call Conversion tracking working on my site, using GTM. Everything is set up on the Adwords side (call extensions + call from website conversion) but the replace function still isn't working. <script type="text/javascript"> // the code from adwords, loads the _googWcmGet function (function(a,e,c,f,g,b,d){var h={ak:"XXXXXXX",cl:"XXXXXXXX"};a[c]=a[c]||function(){(a[c].q=a[c].q||[]).push(arguments)};a[f]||(a[f]=h.ak);b=e.createElement(g);b.async=1;b.src="//www.gstatic