Announcement

Collapse
No announcement yet.

How do I add Facebook AD Pixel HTML CODE

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I add Facebook AD Pixel HTML CODE

    [COLOR=var(--geodesic-color-text-value-default-active)]Where would I install this html code?

    I have tried all the headers but can't get it to work.

    Cheers for any help.


    Install base code


    [COLOR=var(--geodesic-color-text-value-default-active)]The pixel code is a snippet of JavaScript that's added to the header section of your website. The pixel has two parts: the base code and the event tags.[/COLOR]
    [/COLOR]
    [COLOR=var(--geodesic-color-text-link-default-active)]1
    [COLOR=var(--geodesic-color-text-value-default-active)]Copy base code[/COLOR]
    [COLOR=var(--geodesic-color-text-value-default-active)]Copy the base code below.[/COLOR]
    <!-- 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(argum ents)};
    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',
    'https://connect.facebook.net/en_US/fbevents.js');
    fbq('init', '555990694851576');
    fbq('track', 'PageView');
    </script>
    <noscript><img height="1" width="1" style="display:none"
    src="https://www.facebook.com/tr?id=555990694851576&ev=PageView&noscript=1"
    /></noscript>
    <!-- End Facebook Pixel Code -->

    [COLOR=var(--geodesic-color-interactive-background-creation-text-active)]Copy code


    [/COLOR]


    [COLOR=var(--geodesic-color-text-link-default-active)]2[/COLOR]
    [COLOR=var(--geodesic-color-text-value-default-active)]Paste base code to website[/COLOR]
    [COLOR=var(--geodesic-color-text-value-default-active)]Paste the pixel code into the bottom of the header section just above the </head> tag. Install the base code on every page of your website.[/COLOR]Learn more



    [/COLOR]

  • #2
    Re: How do I add Facebook AD Pixel HTML CODE

    Hi,

    You need to add the base code into the page HTML, right click on a blank area of the page, then select Page HTML. Look for the tab between head tags and add the code. If it still fails, open a ticket and provide the page URL so that we may look to see if there are any code conflicts.

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    02036089024 / United Kingdom
    291916438 / Australia

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


    Comment

    Working...
    X