Uncaught SyntaxError: Unexpected identifier 'fbq'

Created on 27 September 2023, about 1 year ago
Updated 28 January 2024, 10 months ago

Problem/Motivation

When more than one Facebook Pixel IDs are added in the admin the front-end throws a javascript error: Uncaught SyntaxError: Unexpected identifier 'fbq'

Steps to reproduce

Add multiple Facebook Pixel IDs at /admin/config/system/simple-facebook-pixel

Proposed resolution

Fix Javascript

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom code-brighton

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024