If you would like to use third-party tools like Google Analytics or the Facebook Pixel on every page on your site:Click the Customize My Site link in the Website menuScroll down to the Edit Advanced Options and click on the down arrowPaste your code into the Website Analytics fieldClick Save.If you view your website and that code appears at the upper left of your website, the code is not installed correctly. Google AnalyticsTo add Google Analytics to your website you can do the following:Select Admin at the bottomSelect Tracking Info > Tracking CodeCopy the Global Site Tag. All of it and paste that into the web analytics section of your GetOiling websiteOnce you have added this to your website it should take about 24-48 hours to connect. Once it's connected you should be able to test it by visiting your website and keeping your analytics open on a separate window.Facebook Server-Side AnalyticsIf you live in a country that does not allow the Facebook pixel, you may use the following steps to enable visitor tracking.First, visit this Facebook page to get your FB pixel ID and access token.Once you have that, add the following code into the Website Analytics field that's discussed in the section above. Change the parts that are in bold, underlined, and red below to the pixel ID and access token you obtained in the steps above. Then save the changes to the Website Analytics field.
If you are also sending Facebook events via JavaScript in the browser, then this line of your Facebook code should be extended with the bold, red, underlined part as well, and this code should appear after the code shown above. This sends an event ID to Facebook so it can de-duplicate the events.fbq('track', 'PageView', {}, {eventID:AnalyticsTrackingFbEventId});