Tagged: Facebook Pixel
-
AuthorPosts
-
February 21, 2019 at 5:15 am #1069779
Hi there,
I have the Facebook Pixel installed site wide throughout my enfold theme.
But now I need to install the specific event code for leads on a few pages.
How do I do this?
The code looks like this:
<script>
fbq(‘track’, ‘Lead’);
</script>I’m after the simplest solution here please. I’d rather not mess around with core files for the theme as that is way over my head.
Thanks!
DanFebruary 21, 2019 at 5:24 pm #1070026Hey Dan,
You can follow the instructions here: https://kriesi.at/documentation/enfold/add-custom-js-or-php-script/#add-a-script-to-head-section
Hope it helps.Best regards,
NikkoMarch 26, 2020 at 12:17 am #1197887I am wondering the same thing I have the Facebook Pixel Base code added but need to add this event code to a specific page.
<script>
fbq(‘track’, ‘CompleteRegistration’, {
value: 1,
currency: ‘1’,
});
</script>And they also provide this second bit of code. Not sure where it goes?
<!– End Facebook Pixel Code –>
</head>
<body>
<script>insert_event_code_here;<script>-
This reply was modified 5 years, 7 months ago by
eugenebare.
March 26, 2020 at 7:35 am #1197966Hi eugenebare,
Which page specifically do you need to add it to? We need to know the ID of the page in question.
Best regards,
RikardMarch 26, 2020 at 5:29 pm #1198127My objective is to use Pixel to track how many people complete my gravity form to get a generator estimate.
It starts on this page https://tpcgenerators.com/gen-portal/
and after its completed, it redirects to this page: tpcgenerators.com/we-will-be-in-touch-soon/How is it best to place the event pixel?
I already placed the pixel base code in the child them of enfold I am using.March 27, 2020 at 6:51 am #1198238 -
This reply was modified 5 years, 7 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
