v1.0.3: How to fix Subscribe events does not have a value and currency parameter?

Created by Jane D, Modified on Mon, 01 Mar 2021 at 02:07 PM by Jane D

QUESTION:


I bought your free module to install on our site, when checking the function, we found that your Subscribe events does not have a value and currency parameter. This could affect the calculation of the return on ad spend.


Do you have any solution for this? 


ANSWER:


The module (Bss_FacebookPixel) uses event Subscribe below:


However, this event is different from the standard event Subscribe of Facebook: https://vi-vn.facebook.com/business/help/402791146561655?id=1205376682832142.


 To fix this error, please download the files fix I attached below and overrides the current files on your site:


+ app/code/Bss/RwFacebookPixel/Observer/Subcribe.php

+ app/code/Bss/RwFacebookPixel/etc/frontend/events.xml

+ app/code/Bss/RwFacebookPixel/etc/module.xml

+ app/code/Bss/RwFacebookPixel/registration.php

+ app/design/frontend/xxx/xxxx/Bss_FacebookPixel/web/js/code.js



If you need further assistance, please do not hesitate to contact us. We'd be happy to support!


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article