• Resolved startsat60

    (@startsat60)


    We are using the CTX Feed Facebook Pixel settings with our Woocommerce implementation. So the pixel javascript calls are being injected via the plugin, not through my own code.

    I have noticed that there is an issue when firing the event tracking on the Product page (as well as other pages which use the Product Title) when products have a single quote in them. This causes the method call to fail, and the conversion data is not sent.

    Steps to repro:

    I browsed to the product page and opened dev tools to view source. I found the script block which executes the FB code for pixel. Notice the content_name value in an fbq() call.

    fbq('init', '523389661344269');
    fbq('track', 'PageView');
    fbq('track', 'ViewContent', {
      content_name: ''On-The-Run' Collection',
      content_id: 37590,
      content_type: 'product',
      value: 19.99,
      currency: 'AUD'
    });

    Is this an issue within the plugin? If so, can you escape single quotes in Product titles?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @startsat60

    Thank you for contacting us.

    We will fix this issue in the next release. We will let you know.

    Hello @startsat60,

    We appreciated your catching. We released a new version (4.4.31) with the Facebook Pixel issue fix.

    Please update the plugin. Let us know then.

    Plugin Author Ohidul Islam

    (@wahid0003)

    Hello @startsat60

    Since we did not hear back from you, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Facebook Conversions with Pixel’ is closed to new replies.