I have added support for custom variables to "dataLayer".

Also it support multiple variables, and tokens. :)

Comments

Elvar’s picture

And with the attach button pressed this time.

lsolesen’s picture

Status: Active » Needs review
sgerrand’s picture

Status: Needs review » Needs work

Thanks for taking the time to create this patch. Apologies for taking so long to reply.

The changes look OK. Can you please add tests for the new behaviour that has been introduced.

xen’s picture

Rerolled against 91bcfdb.

xen’s picture

Previous patch kinda went south.

New reroll.

naxoc’s picture

Issue summary: View changes
Status: Needs work » Needs review
StatusFileSize
new3.9 KB

Patch updates handling of the "dataLayer" variable to be more robust.