mercredi 27 mai 2020

Yield Google Tag Manager snippet in in EmberJS

I have several Ember projects under the same repo and would like to be able to reuse the GTM snippet across all of their .html files.

<!DOCTYPE html>
<html lang="en">
  <head>

    

    <link rel="stylesheet" href="assets/employer-vendor.css">
    <link rel="stylesheet" href="assets/employer.css">
  </head>
  <body>
  </body>
</html>

Should I use ember-cli-meta-tags or ember-cli-inline-content or similar?

Is the best approach to reusing the GTM snippet?




Aucun commentaire:

Enregistrer un commentaire