• Hello,
    I’m using the latest available version of PixelYourSite.

    With “Use external_id” and “Use transient WP for storage external_id” enabled, the frontend AJAX request:

    wp-admin/admin-ajax.php?action=pys_get_pbid

    returned 0, and the pbid cookie was never created.

    In the current plugin code, get_pbid_ajax() checks $this->externalId, but a global search shows that set_pbid() is defined and apparently never called.

    Adding:

    $this->set_pbid();

    at the beginning of get_pbid_ajax() fixes the issue. The AJAX endpoint then returns:

    {"success":true,"data":{"pbid":"...","transient":"..."}}

    and the pbid cookie is created correctly.

    Could you confirm whether this is a regression in the latest version and provide an official fix?
    • This topic was modified 6 days, 17 hours ago by michele.d.
Viewing 1 replies (of 1 total)
  • @micheled-1, we haven’t made any changes to the external_id values in the latest version of the plugin. I attempted to test it on my end, but I couldn’t reproduce the issue you’re describing.

    Could you please clear all caches and test again, either in an incognito window or using a different browser?

    Also, could you please share the website you’re referring to?

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.