• Resolved danihuge

    (@danihuge)


    Hi,

    I got “SyntaxError:” Unexpected string when using search.

    The generated code page is:
    fbq(“trackCustom”,”Search”,{search_string:”sample”, content_type:”product”, content_ids:”[“‘1′,’2’,’3′”]”});

    I fixed the code and now the final code is the next one and it is working ok.
    I removed double quotes in content_ids array.

    fbq(“trackCustom”,”Search”,{search_string:”sample”, content_type:”product”, content_ids:”[‘1′,’2’,’3′”]});

    Hope it helps to you if you have a bug.

    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Thanks for using our plugin and reaching out to us. This indeed seems to be happening on just the search result page. In the next release of our plugin will push out a fix for this.

    Thanks for lettings us know!

    Hi,

    Assuming the issue at hand has been resolved or our support is no longer required I am going to close this topic for housekeeping reasons now.

    Please do not hesitate to reach out to our support-team again whenever you need our help.

    Thread Starter danihuge

    (@danihuge)

    Thanks! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘SyntaxError: Unexpected string when using search.’ is closed to new replies.