You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have multiple pixels on your page and want to send an event to only one of them, specify the pixel's id as the last parameter:
92
+
If you have multiple pixels on your page and want to send an event to only one of them use `trackSingle` and pass the pixel's ID as the first argument:
If you'd like to install the pixel disabled, and enable it later after the user has consented to its use, you can do so by setting `enabled: false` in the pixel configuration:
100
101
101
102
```html
102
-
<FacebookPixelbind:this={fb}enabled={false} />
103
+
<FacebookPixelenabled={false} />
103
104
```
104
105
105
106
Now, in your component, you can call the following in order to start the pixel and track the current page.
0 commit comments