📅  最后修改于: 2022-03-11 14:52:53.845000             🧑  作者: Mango
# config/packages/twig.yaml
twig:
# ...
globals:
ga_tracking: 'UA-xxxxx-x'
//Use with The Google tracking code is: {{ ga_tracking }}