Title: Conversion API tracking gone mad
Last modified: October 30, 2022

---

# Conversion API tracking gone mad

 *  Resolved [DenisGastreich](https://wordpress.org/support/users/denisgastreich/)
 * (@denisgastreich)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conversion-api-tracking-gone-mad/)
 * Hi there,
 * I installed and configured Pixelyoursite and have run a series of tests. The 
   results are completely strange and inconsistent. I tested tracking on a webinar
   registration thank you page and a sales thank you page. I used chrome , safari,
   iPad safari and two different iPhone models with safari for the tests.
    Can you
   tell me, why the results are so different. Particularly can you tell me why lead
   and sales events are not tracked as they should but pageviews or even custom 
   events? Thanks in advance. Here are the test results: [https://www.dropbox.com/s/i3qelatkdfe51n6/15538e3c-2461-4420-a3e9-7d9b4b61e7db.JPG?dl=0](https://www.dropbox.com/s/i3qelatkdfe51n6/15538e3c-2461-4420-a3e9-7d9b4b61e7db.JPG?dl=0)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Author [PixelYourSite](https://wordpress.org/support/users/pixelyoursite/)
 * (@pixelyoursite)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conversion-api-tracking-gone-mad/#post-16146877)
 * [@denisgastreich](https://wordpress.org/support/users/denisgastreich/)
 * In essence the CAPI testing tool has all sort of bugs, and it’s completely unreliable.
 * What I suggest you to do instead is to check the actual Events Manager reports,
   but keep in mind that they can have a delay.
 *  Thread Starter [DenisGastreich](https://wordpress.org/support/users/denisgastreich/)
 * (@denisgastreich)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conversion-api-tracking-gone-mad/#post-16147080)
 * Thank you for your Quick response.
 * I checked out the Events Manager reports from the data pf yesterdays testing.
 * But it also states that purchase events where hardly all only received via Browser,
   but not Server.
    See here in the screenshot: [https://www.dropbox.com/s/lfbnr5ccluxo4da/Bildschirm%C2%ADfoto%202022-10-30%20um%2018.52.02.png?dl=0](https://www.dropbox.com/s/lfbnr5ccluxo4da/Bildschirm%C2%ADfoto%202022-10-30%20um%2018.52.02.png?dl=0)
 * What can I Do to get more purchase events via server?
    Thanks in advance!
 *  Plugin Author [PixelYourSite](https://wordpress.org/support/users/pixelyoursite/)
 * (@pixelyoursite)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conversion-api-tracking-gone-mad/#post-16147084)
 * [@denisgastreich](https://wordpress.org/support/users/denisgastreich/)
 * All events sent by the plugin are sent both browser and server.
 *  Thread Starter [DenisGastreich](https://wordpress.org/support/users/denisgastreich/)
 * (@denisgastreich)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conversion-api-tracking-gone-mad/#post-16147092)
 * Yes, thanks, I saw that on one of your videos on YouTube.
 * The problem is, that those server events don’t reach metas event manager.
 * Is their any other way to measure/test outgoing events from the webpage or incoming
   events in meta?
 * Like a middleware?
 *  Plugin Author [PixelYourSite](https://wordpress.org/support/users/pixelyoursite/)
 * (@pixelyoursite)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conversion-api-tracking-gone-mad/#post-16147106)
 * [@denisgastreich](https://wordpress.org/support/users/denisgastreich/)
 * You can open the plugin’s logs page (left side menu), enable logs, and check 
   it after some transaction are placed on your site. Download the file and search
   for Purchase. You should be able to see what was sent and if the event had any
   errors.
 *  Thread Starter [DenisGastreich](https://wordpress.org/support/users/denisgastreich/)
 * (@denisgastreich)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conversion-api-tracking-gone-mad/#post-16147142)
 * Thank you that worked fine!
 * I recorded logs while visiting the thank you page, that triggers the purchase
   event.
 * in that log file I find to purchase with exactly the same timestamp.
 * on has the pixel ID nearby, the other one hast the access token nearby.
 * Im not a coding specialist but that result leads me to the conclusion, that pixel
   yoursite does indeed send both: Purchase browser and server event.
 * Is there any possibility to measure what comes in to Facebook? I mean other than
   the Events testing tool?
 *  Thread Starter [DenisGastreich](https://wordpress.org/support/users/denisgastreich/)
 * (@denisgastreich)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conversion-api-tracking-gone-mad/#post-16147150)
 * I have a new finding:
    In my tests yesterday I Found out that when I visited 
   the webinar thank you page with iPhone that the testing tool measures two custom
   events via browser.
 * When I have a look at the logs feature your just explained to me than I find 
   out that pixelyoursite sends 1 Lead Events and one Pageview Event via the pixel
   but non via the Conversion API.
 * How can that be?
    (I can provide you with that log file, if you want)
    -  This reply was modified 3 years, 7 months ago by [DenisGastreich](https://wordpress.org/support/users/denisgastreich/).
 *  Plugin Author [PixelYourSite](https://wordpress.org/support/users/pixelyoursite/)
 * (@pixelyoursite)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conversion-api-tracking-gone-mad/#post-16147157)
 * 1. The logs are a good representation of what Meta gets, they are the ones generating
   the logs.
 * 2. It’s impossible for the testing tool to report any iPhone browser activity.
   They only report browser events sent in the same browser session as the testing
   tool itself. And they don’t report any iPhone CAPI activity.
 * Not sure why you see no Lead event in the logs. How is the Lead event configured
   exactely?
 *  Thread Starter [DenisGastreich](https://wordpress.org/support/users/denisgastreich/)
 * (@denisgastreich)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conversion-api-tracking-gone-mad/#post-16147159)
 * See here: [https://www.dropbox.com/s/05g0axtub3qj0k7/Bildschirm%C2%ADfoto%202022-10-30%20um%2019.45.32.png?dl=0](https://www.dropbox.com/s/05g0axtub3qj0k7/Bildschirm%C2%ADfoto%202022-10-30%20um%2019.45.32.png?dl=0)
 *  Plugin Author [PixelYourSite](https://wordpress.org/support/users/pixelyoursite/)
 * (@pixelyoursite)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conversion-api-tracking-gone-mad/#post-16147161)
 * I see no problem there.
 * Not sure when you started with this setup, but I would say to give it a few days
   and check the Events Manager reports once more data is sent to Meta.
 *  Thread Starter [DenisGastreich](https://wordpress.org/support/users/denisgastreich/)
 * (@denisgastreich)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conversion-api-tracking-gone-mad/#post-16147171)
 * Theseare the 2 Events that are triggered, when I visit the webinar ladningpage
   via iPhone.
 * am I right that this is a lead event via browser an a page view event via browser
   an none via server?
 *     ```
       2022-10-30T18:51:55+00:00 debug catchAjaxEvent send fb server from ajax
       2022-10-30T18:51:55+00:00 debug Send FB server event 
       Args: PYS_PRO_GLOBAL\FacebookAds\Object\ServerSide\EventRequest Object
       (
           [container:protected] => Array
               (
       ```
   
 * (
    [pixel_id] => XXXXXXXXXXXXXXXX [events] => Array ( [0] => PYS_PRO_GLOBAL\FacebookAds\
   Object\ServerSide\Event Object ( [container:protected] => Array ( [event_name]
   => Lead [event_time] => 1667155915 [event_source_url] => [https://academy.music-tutorials.com/controletti/push-tutorials/schnupper-danke/](https://academy.music-tutorials.com/controletti/push-tutorials/schnupper-danke/)[
   opt_out] => [event_id] => PJFIQwRn7wEjQu566VkjYluIjffS4C3AmJpK [user_data] =>
   PYS_PRO_GLOBAL\FacebookAds\Object\ServerSide\UserData Object ( [container:protected]
   => Array ( [client_ip_address] => 89.245.22.234 [client_user_agent] => Mozilla/
   5.0 (iPhone; CPU iPhone OS 16_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like
   Gecko) Version/16.1 Mobile/15E148 Safari/604.1 [fbc] => [fbp] => fb.1.1667154532737.2526612993[
   subscription_id] => [fb_login_id] => [lead_id] => [f5first] => [f5last] => [fi]
   => [dobd] => [dobm] => [doby] => )
 *     ```
       2022-10-30T18:51:56+00:00 debug catchAjaxEvent send fb server from ajax
       2022-10-30T18:51:56+00:00 debug Send FB server event 
       Args: PYS_PRO_GLOBAL\FacebookAds\Object\ServerSide\EventRequest Object
       (
           [container:protected] => Array
               (
                   [pixel_id] => xxxxxxXXXXXXXXXXX
                   [events] => Array
                       (
                           [0] => PYS_PRO_GLOBAL\FacebookAds\Object\ServerSide\Event Object
                               (
                                   [container:protected] => Array
                                       (
                                           [event_name] => PageView
                                           [event_time] => 1667155916
                                           [event_source_url] => https://academy.music-tutorials.com/controletti/push-tutorials/schnupper-danke/
                                           [opt_out] => 
                                           [event_id] => Fgf3vuqBnb8EfHqxCFqj8atPqM8ipGIohiwo
                                           [user_data] => PYS_PRO_GLOBAL\FacebookAds\Object\ServerSide\UserData Object
                                               (
                                                   [container:protected] => Array
                                                       (
                                                           [client_ip_address] => 89.245.22.234
                                                           [client_user_agent] => Mozilla/5.0 (iPhone; CPU iPhone OS 16_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Mobile/15E148 Safari/604.1
                                                           [fbc] => 
                                                           [fbp] => fb.1.1667154532737.2526612993
                                                           [subscription_id] => 
                                                           [fb_login_id] => 
                                                           [lead_id] => 
                                                           [f5first] => 
                                                           [f5last] => 
                                                           [fi] => 
                                                           [dobd] => 
                                                           [dobm] => 
                                                           [doby] => 
                                                       )
       ```
   
 *  Plugin Author [PixelYourSite](https://wordpress.org/support/users/pixelyoursite/)
 * (@pixelyoursite)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conversion-api-tracking-gone-mad/#post-16147176)
 * Those longs only show server events, so that’s a Lead event sent server side.
 *  Thread Starter [DenisGastreich](https://wordpress.org/support/users/denisgastreich/)
 * (@denisgastreich)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/conversion-api-tracking-gone-mad/#post-16147189)
 * okay, i see thank you.
 * So if I get you right, than waiting a few days and then check out the events 
   manager reports is the only way to get more valid data that shows what is really
   going on?
    -  This reply was modified 3 years, 7 months ago by [DenisGastreich](https://wordpress.org/support/users/denisgastreich/).

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Conversion API tracking gone mad’ is closed to new replies.

 * ![](https://ps.w.org/pixelyoursite/assets/icon-256x256.jpg?rev=3178123)
 * [PixelYourSite - Your smart PIXEL (TAG) & API Manager](https://wordpress.org/plugins/pixelyoursite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pixelyoursite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pixelyoursite/)
 * [Active Topics](https://wordpress.org/support/plugin/pixelyoursite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pixelyoursite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pixelyoursite/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [DenisGastreich](https://wordpress.org/support/users/denisgastreich/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/conversion-api-tracking-gone-mad/#post-16147189)
 * Status: resolved