• Resolved icepicknz

    (@icepicknz)


    Hi,

    I have integrated Facebook for woocommerce, but notice that while server events are likely going through, the browser one is only going for initiate checkout onwards.

    When a user views a product or adds to cart the events from browser are not coming through. I can get these to work if I use other pixel plugins, but I would prefer not to duplicate and have facebooks plugin dedupe based on the event id.

    In the source code I see the following:

    				fbq( 'track', 'PageView', {
    "source": "woocommerce",
    "version": "9.1.1",
    "pluginVersion": "3.2.5"
    } );
    document.addEventListener( 'DOMContentLoaded', function() {
    // Insert placeholder for events injected when a product is added to the cart through AJAX.
    document.body.insertAdjacentHTML( 'beforeend', '<div class=\"wc-facebook-pixel-event-placeholder\"></div>' );
    }, false );

    What do I need to add to ensure ContentView and AddtoCart work and send browser data through to meta pixel? Or do I just ignore it and not worry as server transactions will cover this in the backend?

    many thanks in advance
    Barry

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • anastas10s

    (@anastas10s)

    Hi @icepicknz

    Thank you for reaching out — we’re happy to help!

    What do I need to add to ensure ContentView and AddtoCart work and send browser data through to meta pixel? Or do I just ignore it and not worry as server transactions will cover this in the backend?

    In order to tell if the Facebook Pixel has been properly installed on your site, best to go ahead with utilizing the?Pixel Helper?– a small Chrome extension provided by Facebook.

    Further details can be found in the documentation (direct link here, for your convenience).

    I hope this is helpful! Please let us know if you have any further questions about this matter, or if we misinterpret your concern in any way. We will be happy to help you further.

    Thread Starter icepicknz

    (@icepicknz)

    thanks, I am already using pixel helper and as mention, the pixel is not showing addtocart or view content events.

    • This reply was modified 4 months ago by icepicknz.
    Thread Starter icepicknz

    (@icepicknz)

    I guess what I am asking, should I disable the Facebook plugin that has some pixel events and all server events and replace it with customer browser pixel events I know work from another plugin; but then I lose server based events or event ID’s dont match and can’t be deduplicated

    anastas10s

    (@anastas10s)

    Hi @icepicknz

    server events

    Just to be sure, are you referring to the Facebook conversion API (documentation linked here), or otherwise?

    from another plugin

    Activating multiple plugins might result in functionality conflict(s), therefore it is not recommended.

    When a user views a product or adds to cart the events from browser are not coming through

    Could you please provide us with a screenshot of these metrics, so that we can see what you are describing?

    If you don’t already have a screenshot service installed, https://snipboard.io is a good option – for uploading it there, and sharing the link here afterward.
    There is also a walkthrough guide here: https://en.support.wordpress.com/make-a-screenshot/

    We look forward to your response. In the meantime, please let us know if you have any further questions or concerns.

    Thread Starter icepicknz

    (@icepicknz)

    When I go to a product such as https://shop.scanimals.net/index.php/product/laughing-axolotl/?attribute_pa_color=pink-pastel I am only seeing PageView, if I check the html source thats what I see, there is no PageContent (viewing a product).

    Same goes for if I click “Add to Cart” there is nothing in the testing debug showing add to cart coming through?

    Thread Starter icepicknz

    (@icepicknz)

    hmmm my screenshot didnt seem to upload

    Thread Starter icepicknz

    (@icepicknz)

    I managed to get it working by using Google Tag Manager to send these two events ViewContent and AddToCart as they were missing firing from the woo commerce Facebook plugin

    • This reply was modified 4 months ago by icepicknz.
    anastas10s

    (@anastas10s)

    Hey there @icepicknz,

    I managed to get it working

    That’s great to hear! Thanks for letting us know, and for adding your input! Some of our customers might indeed find this guide helpful!

    Feel free to include this in a feature request, also, for a future version of the plugin, via this screen.

    We appreciate you being an active part of the community ??

    I’ll go ahead with marking this thread as resolved now. Feel free to open a new topic, should you require assistance with anything else in the future – we’re happy to help.

    Have a wonderful day!

    • This reply was modified 4 months ago by anastas10s. Reason: typo
    • This reply was modified 4 months ago by anastas10s.
Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.