Part of the dataLayer standard is that you can rename the dataLayer global variable. Would be nice to make that a configurable variable that defaults to dataLayer.

Comments

doublejosh’s picture

Steps...

  1. Create an admin setting for the name.
  2. Use a variable_get to alter the output within datalayer_preprocess_html().
  3. Update tests.
doublejosh’s picture

Status: Active » Postponed