MetaPixel class
Meta Pixel (Facebook/Instagram). Sem consent mode → init após o aceite.
- Inheritance
-
- Object
- TrackingProvider
- MetaPixel
Properties
- consentMode → bool
-
Respeita o Google Consent Mode (init imediato). Padrão: não.
no setterinherited
- gtagLoaderId → String?
-
ID usado no loader externo do gtag (só provedores Google retornam algo).
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Identificador curto e único (ex.:
ga4,meta).no setteroverride - pixelId → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
standardEvents
→ List<
String> -
final
Methods
-
headHtml(
) → String -
Snippet JS de inicialização (sem a tag
<script>).override -
noscriptHtml(
) → String -
HTML de fallback para
<noscript>(vazio = nenhum).override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
trackFn(
) → String -
Função JS
function(ev,p){...}chamada a cada evento rastreado.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited