JavaScript Compiler Error Dynamic Facebook Error at line 3, character 1: Parse error. '}' expecte

Joined
Dec 24, 2015
Messages
73
Reaction score
12
Hi,

I am having issues figuring out Facebook dynamic ads... I have the normal remarketing pixel setup but now interested in dynamic ads. How would I add a dynamic pixel to google tag manager?

Attached is an image of my settings for Google dynamic remarketing with the place holders.

I am not sure what the next steps are? Any help would be appreciated.

This is what I came up with so far, this is placed in tag managers custom html tab:

<script>
fbq('track', '554201634789146', {
<dynx_itemid>: '<{{TicketNumber}}>'
<dynx_pagetype>: '<offerdetail>'
});
</script>



When I go to publish the new tag manager setup I get this error:

JavaScript Compiler Error Dynamic Facebook
Error at line 3, character 1: Parse error. '}' expected





-Brad
 

Attachments

  • example1.png
    example1.png
    56.4 KB · Views: 1
Back
Top