score:2

Accepted answer

just like normal jsx, you use curly braces to embed a javascript expression in an attribute.

<script async src={`http://www.googletagmanager.com/gtag/js?id=${process.env.gtm_container_id}`}/>

Related Query

More Query from same tag