Want to ensure your tracking events fire correctly for Google Analytics and Meta (Facebook) ads? This guide walks you through how to embed your Google Tag Manager (GTM) and Meta Pixel tracking code into your Lawbrokr Landing Page.
By placing these snippets correctly, you’ll ensure that your ad campaigns properly track user behavior, conversions, and traffic sources.
Step-by-Step Instructions
1. Navigate to Your Lawbrokr Landing Page Settings
- Log in to your Lawbrokr Dashboard.
- Go to “Landing Page” in the main menu.
- Click Edit Landing Page.
- Select Settings from the top menu.
2. Add Your Google Tag Manager (GTM) Script
From your Google Tag Manager account, copy the JavaScript snippet that looks similar to this:
<!-- Google Tag Manager Example --><script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-XXXXXXX');</script>
📌 Paste this into the Header Script section of your Lawbrokr Settings.
3. Add Your Meta (Facebook) Pixel Code
From your Meta Ads Manager, find your Pixel ID and copy the full script provided by Meta. It usually looks like this:
<!-- Meta 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', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', 'YOUR_PIXEL_ID'); fbq('track', 'PageView');</script><noscript> <img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=YOUR_PIXEL_ID&ev=PageView&noscript=1"/></noscript>
📌 Paste this into the Header Script section as well, underneath your GTM script.
Example Layout Inside Lawbrokr
When you open your Settings area, your screen will look like this:

- The Header Script is where both the Google Tag Manager and Meta Pixel scripts go.
- The Conversion Script area should only be used if you’re firing conversion events (such as a thank-you page view or lead form submission).
4. Save and Test
- Click Save at the bottom of the Settings page.
- Visit your live Storefront or Landing Page.
- Use tools like:
- Tag Assistant (Google)
- Meta Pixel Helper (Chrome Extension)
These will help you confirm that the tags are being triggered properly.
Need Help?
Still need a hand? Reach out to support@lawbrokr.com and we’ll make sure your tracking setup is firing properly.