Ga4 class
Google Analytics 4. Respeita Consent Mode → init imediato.
- Inheritance
Properties
- consentMode → bool
-
Respeita o Google Consent Mode (init imediato). Padrão: não.
no setteroverride
- gtagLoaderId → String?
-
ID usado no loader externo do gtag (só provedores Google retornam algo).
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Identificador curto e único (ex.:
ga4,meta).no setteroverride - measurementId → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
headHtml(
) → String -
Snippet JS de inicialização (sem a tag
<script>).override -
noscriptHtml(
) → String -
HTML de fallback para
<noscript>(vazio = nenhum).inherited -
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