Firing Facebook Tag with utag.view

Gold Contributor
Gold Contributor
Hello, we need to fire a Facebook Tag on a conversion page that doesn't trigger a page reload. The conversion page is tracked with Adobe Analytics using a call to utag.view and it works fine. Problem is that Facebook Tag doesn't seem to work with utag.view. It looks like this pixel sets a flag (u.initialized) that is not cleared by utag.view and this prevents the tag to be fired more than once per page load. if (!u.initialized) { u.loader({ "type" : "script", "src" : u.data.base_url, "cb" : u.loader_cb, "loc" : "script", "id" : "utag_##UTID##" }); // Custom Audiences _fbq.push(['addPixelId', u.data.cust_pixel]); _fbq.push(['track', 'PixelInitialized', {}]); } else { u.loader_cb(); } Is there a way to force this pixel to send data with utag.view? Best, Giacomo
6 REPLIES 6

Firing Facebook Tag with utag.view

Tealium Employee
Hi Giacomo, What type of conversion page is it? Is there an Order ID set on the page? Thanks, Adam

Firing Facebook Tag with utag.view

Tealium Employee

Hey Giacomo, There is more information on using utag.view to send data in this article (https://community.tealiumiq.com/t5/uTag/utag-link-and-utag-view/ta-p/11888). Take a look and let us know if you have additional questions. Thanks, Seth

Firing Facebook Tag with utag.view

Tealium Expert
Tealium Expert

Hi @Seth - the link you mentioned is not working, but I'd like to read it.  Could it be updated to the new URL structure of the forum? Thanks.

Tealium Expert

Firing Facebook Tag with utag.view

Tealium Employee
@mitchellt I updated the link. Let us know if you need anything else!

Firing Facebook Tag with utag.view

Bronze Contributor
Bronze Contributor
Hey I'd also like to understand more about this behavior. I also use Facebook pixels and have to create extensions to reload their code, or else they only fire for the first utag.view() and on all subsequent calls the tag code doesn't get rerun. That link sends me to a page that says I don't have sufficient permissions to read, can that be fixed. Thanks!

Firing Facebook Tag with utag.view

Employee Emeritus

Hello @twhittingham. My apologies for that link above not working. Please try this link instead and let me know if you have any further questions:

 

Remember to give me a kudo if you like my post! Accepting my post as a solution is even better! Also remember that search is your friend.
Public