Link to home
Start Free TrialLog in
Avatar of Melody Scott
Melody ScottFlag for United States of America

asked on

Need help with FB pixel

Hi, this is the code I have for my facebook pixel. Everything is working except the content_ids. I think I must be making a basic javascript error.

  <!-- BEGIN standard event code -->
  fbq('track', 'Purchase', {value: '<MIM>total</MIM>', currency: 'USD', content_type: 'product', content_ids: ['<MIM>sku</MIM>']});
  fbq('track', 'Order Number', {value: '<MIM>order_id</MIM>'});
  <!-- END standard event code -->

I've attached the whole pixel with our account xxxed out.
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Melody Scott

ASKER

Sorry, items don't seem to attach until the question is published,  I think the issue was not with my code, but with a dynamic element I was trying to pull. Thanks.