1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Facebook' started by thekingofwholesale, Nov 10, 2016.

  1. thekingofwholesale

    thekingofwholesale BANNED BANNED

    Joined:
    Dec 24, 2015
    Messages:
    74
    Likes Received:
    10
    Gender:
    Male
    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
     

    Attached Files: