Facebook Pixel Nop Plugin (FREE)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 years ago
Hi Guys,

Released Facebook Pixel Nop Plugin (FREE). Please take a look and give us your feedback :)
(Download links :https://www.nopcommerce.com/p/2235/facebook-pixel-nop-plugin.aspx)
8 years ago
bibhuti.bs-23 wrote:
Hi Guys,

Released Facebook Pixel Nop Plugin (FREE). Please take a look and give us your feedback :)
(Download links :https://www.nopcommerce.com/p/2235/facebook-pixel-nop-plugin.aspx)


Great work. Highly appreciated!!! Carry on ..It will be very helpful for the community.
8 years ago
Great work.Hope this will help the community.
8 years ago
Hi,
Nice plugin, but please remove your facebook pixel code (inside the view admin plugin)!
8 years ago
RKrauze wrote:
Hi,
Nice plugin, but please remove your facebook pixel code (inside the view admin plugin)!




thanks for your suggestion
7 years ago
Hi,
Any chance of a 3.6 version for this plugin?
Or is there are way to manually add the scripts to the right pages in a No source NOP 3.6 install?

Thanks Chris
7 years ago
ChrisLudwig wrote:
Hi,
Any chance of a 3.6 version for this plugin?
Or is there are way to manually add the scripts to the right pages in a No source NOP 3.6 install?

Thanks Chris



How can i help you ??? i think there no change in 3.6 , if you need to this , please inform me,



----------------------------------  If the Post Is helpful Please Vote Up.

Thanks advance for watching my post
Best regard
Bibhuti Barai
7 years ago
HI,
Well is says 3.7 and 3.8 only. Never tried installing a plugin for a version not listed as supported. :)
Do I have to change anything before installing? I assume the 3.7 version would be more likely to work?

Chris
7 years ago
HI,
OK tried installing the 3.7 and seems to be working mostly. I juts changes the version numbers in the description test so it would show up and install.

The View Content conversion part seems to be active but the others re not.

I have never used the facebook pixel part before so have no idea how it works . HA


The email code has 2 parts to it. The first part is the main pixel code which from what I understood   need to be split in the first and last section of the plugins text windows and saved.

Did that and facebook seems to see the code correctly.

But the 2nd half of the email code has all this other code.

I pasted after the code in the "last" section of the plugin and saved.

But they do not show as active in the conversion tracking options in the ads manager.

This is the code.

// ViewContent
// Track key page views (ex: product page, landing page or article)
fbq('track', 'ViewContent');

// Search
// Track searches on your website (ex. product searches)
fbq('track', 'Search');

// AddToCart
// Track when items are added to a shopping cart (ex. click/landing page on Add to Cart button)
fbq('track', 'AddToCart');

// AddToWishlist
// Track when items are added to a wishlist (ex. click/landing page on Add to Wishlist button)
fbq('track', 'AddToWishlist');

// InitiateCheckout
// Track when people enter the checkout flow (ex. click/landing page on checkout button)
fbq('track', 'InitiateCheckout');

// AddPaymentInfo
// Track when payment information is added in the checkout flow (ex. click/landing page on billing info)
fbq('track', 'AddPaymentInfo');

// Purchase
// Track purchases or checkout flow completions (ex. landing on "Thank You" or confirmation page)
fbq('track', 'Purchase', {value: '1.00', currency: 'USD'});

// Lead
// Track when a user expresses interest in your offering (ex. form submission, sign up for trial, landing on pricing page)
fbq('track', 'Lead');

// CompleteRegistration
// Track when a registration form is completed (ex. complete subscription, sign up for a service)
fbq('track', 'CompleteRegistration');

// Other
//
fbq('track', 'Other');


Do I have to put this some place else?


Thanks Chris
7 years ago
hi, follow this steps


In Views\Product\ProductTemplate.Grouped.cshtml and Views\Product\ProductTemplate.Simple.cshtml=>

<!-- Facebook Pixel Code -->
<script>
        !function (f, b, e, v, n, t, s) {
            if (f.fbq) return; n = f.fbq = function () {
                n.callMethod ?
                n.callMethod.apply(n, arguments) : n.queue.push(arguments)
            }; if (!f._fbq) f._fbq = n;
            n.push = n; n.loaded = !0; n.version = '2.0'; n.queue = []; t = b.createElement(e); t.async = !0;
            t.src = v; s = b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t, s)
        }(window,
        document, 'script', '//connect.facebook.net/en_US/fbevents.js');

        fbq('init', '0000000000000000');
fbq('track', 'PageView');
        fbq('track', 'ViewContent');
</script>
<noscript>
    <img height="1" width="1" style="display:none"
         src="https://www.facebook.com/tr?id=0000000000000000&ev=PageView&noscript=1" />
</noscript>
<!-- End Facebook Pixel Code -->


Views\ShoppingCart\Wishlist.cshtml=>

<script>
    !function (f, b, e, v, n, t, s) {
        if (f.fbq) return; n = f.fbq = function () {
            n.callMethod ?
            n.callMethod.apply(n, arguments) : n.queue.push(arguments)
        }; if (!f._fbq) f._fbq = n;
        n.push = n; n.loaded = !0; n.version = '2.0'; n.queue = []; t = b.createElement(e); t.async = !0;
        t.src = v; s = b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t, s)
    }(window,
    document, 'script', '//connect.facebook.net/en_US/fbevents.js');

    fbq('init', '0000000000000000');
    fbq('track', 'PageView');
    fbq('track', 'AddToWishlist');
</script>
<noscript>
    <img height="1" width="1" style="display:none"
         src="https://www.facebook.com/tr?id=0000000000000000&ev=PageView&noscript=1" />
</noscript>


Views\Catalog\Search.cshtml=>

<script>
    !function (f, b, e, v, n, t, s) {
        if (f.fbq) return; n = f.fbq = function () {
            n.callMethod ?
            n.callMethod.apply(n, arguments) : n.queue.push(arguments)
        }; if (!f._fbq) f._fbq = n;
        n.push = n; n.loaded = !0; n.version = '2.0'; n.queue = []; t = b.createElement(e); t.async = !0;
        t.src = v; s = b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t, s)
    }(window,
    document, 'script', '//connect.facebook.net/en_US/fbevents.js');

    fbq('init', '0000000000000000');
    fbq('track', 'PageView');
    fbq('track', 'Search');
</script>
<noscript>
    <img height="1" width="1" style="display:none"
         src="https://www.facebook.com/tr?id=0000000000000000&ev=PageView&noscript=1" />
</noscript>


in Views\Checkout\Completed.cshtml=>

<script>
    !function (f, b, e, v, n, t, s) {
        if (f.fbq) return; n = f.fbq = function () {
            n.callMethod ?
            n.callMethod.apply(n, arguments) : n.queue.push(arguments)
        }; if (!f._fbq) f._fbq = n;
        n.push = n; n.loaded = !0; n.version = '2.0'; n.queue = []; t = b.createElement(e); t.async = !0;
        t.src = v; s = b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t, s)
    }(window,
    document, 'script', '//connect.facebook.net/en_US/fbevents.js');

    fbq('init', '0000000000000000');
    fbq('track', 'PageView');
    fbq('track', 'Purchase', { value: '1.00', currency: 'USD' });
</script>
<noscript>
    <img height="1" width="1" style="display:none"
         src="https://www.facebook.com/tr?id=0000000000000000&ev=PageView&noscript=1" />
</noscript>


Views\Customer\RegisterResult.cshtml=>
<script>
    !function (f, b, e, v, n, t, s) {
        if (f.fbq) return; n = f.fbq = function () {
            n.callMethod ?
            n.callMethod.apply(n, arguments) : n.queue.push(arguments)
        }; if (!f._fbq) f._fbq = n;
        n.push = n; n.loaded = !0; n.version = '2.0'; n.queue = []; t = b.createElement(e); t.async = !0;
        t.src = v; s = b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t, s)
    }(window,
    document, 'script', '//connect.facebook.net/en_US/fbevents.js');

    fbq('init', '0000000000000000');
    fbq('track', 'PageView');
    fbq('track', 'CompleteRegistration');
</script>
<noscript>
    <img height="1" width="1" style="display:none"
         src="https://www.facebook.com/tr?id=0000000000000000&ev=PageView&noscript=1" />
</noscript>


Views\ShoppingCart\Cart.cshtml=>

<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','//connect.facebook.net/en_US/fbevents.js');

fbq('init', '0000000000000000');
fbq('track', 'PageView');
fbq('track', 'AddToCart');
</script>
<noscript>
    <img height="1" width="1" style="display:none"
         src="https://www.facebook.com/tr?id=0000000000000000&ev=PageView&noscript=1" />
</noscrip
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.