This plugin has been developed by
SJ social Media for use in wordpress.
We have integrated some Facebook Pixel commands to make it visible and identify shopping carts and IDs of internal pages and posts.
Our next step is to add a variation for the automotive market with wordpress
The Facebook pixel
A piece of code for your website that lets you measure, optimize and build audiences for your ad campaigns.
Measure conversions with the Facebook Pixel
Understand how your cross-device ads help influence conversions.
Optimize delivery to people likely to take action
Ensure your ads are shown to the people most likely to take action.
Create custom audiences from website visitors
Dynamic ads help you automatically show website visitors the products they viewed on your website—or related ones.
Learn about your website traffic
Get rich insights about how people use your website from your Facebook pixel dashboard.
1.7.3
- Unified Facebook Pixel and Open Graph functionalities for comprehensive WordPress integration.
- Ensured active status verification for the Official Facebook Pixel plugin.
- Generalized Facebook Pixel script insertion across all posts and pages.
- Maintained Open Graph meta tags for enhanced social media content presentation.
- Updated function and variable names for better clarity and coherence with the plugin's purpose.
- Optimized hook usage for improved efficiency.
- Enhanced WooCommerce compatibility with conditional function execution.
- Ensured compatibility with the latest version of WordPress.
1.7.2
- tested plugin with WordPress 7.2
Verificación del Plugin de Facebook Pixel: La función AFP_check_facebook_pixel_active utiliza is_plugin_active para verificar si el plugin de Facebook Pixel está activo. Necesitarás reemplazar 'facebook-pixel-plugin/facebook-pixel-plugin.php' con la ruta correcta del archivo principal del plugin de Facebook Pixel.
Mostrar un Aviso en el Panel de Administración: Si el plugin de Facebook Pixel no está activo, se añade un aviso en el panel de administración mediante admin_notices.
Internacionalización: La función _e se utiliza para permitir la traducción del texto del aviso. Asegúrate de que el text domain 'addons-for-pixel' coincida con el que utilizas en tu plugin.
1.7.0
- tested plugin with WordPress 7.2
Facebook Pixel Script Insertion Generalization: A generic function AFP_insert_fb_pixel_script is created to insert the Facebook Pixel script. This reduces code duplication.
Page Type Check: The AFP_FPViewContent, AFP_FPViewPost and AFP_FPProducts functions now check the page type (page, post, WooCommerce product) before running the script.
Using wp_footer for Scripts: Change the hook to wp_footer to ensure that the script is loaded at the end of the body of the page.
WooCommerce Compatibility: It checks if WooCommerce is active before running the script on products.
Data Escaping: WordPress escaping functions are used to ensure data security.
Open Graph Meta Tags: Open Graph meta tags are added to the head to improve integration with Facebook.
1.1
- tested plugin with WordPress 5.5
1.0