SyntaxError: Unexpected string when using search.
-
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)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘SyntaxError: Unexpected string when using search.’ is closed to new replies.