Facebook Pixel Conflict with JSON-LD Schema

Joined
Sep 18, 2018
Messages
18
Likes
5
Degree
0
Hi guys,

I have recently been working on writing JSON-LD Schema for one of my sites (currently using it on one of my non affiliate sites),

I have more or less finished the schema and ran it through the structured data testing tool and all is fine, however, when I upload it to a post or page I am getting a console error:

Code:
[Facebook Pixel] - Unable to parse JSON-LD tag. Malformed JSON found: '{
"@context": "http://schema.org",
"@type": "HowTo",

Followed by the rest of the schema

I have tried it on 2 other of my sites and get the same error, has anyone ever had this issue before?

Cheers!
 
So you've confirmed your own Schema output is fine, and it's telling you the Facebook Pixel has Schema that is malformed? Am I understanding this right?

Have you tried extracting the pixel's schema and running it through a tester to see if it's a problem on their end?
 
Back