Skip to content

Commit 2b30eb4

Browse files
authored
Merge pull request #31 from magefan/10889-gtm-unknown-variable
10889-gtm-unknown-variable
2 parents 9414ede + 9f96d46 commit 2b30eb4

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

Model/WebContainer.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,32 @@ private function generateVariable(
317317
],
318318
]
319319
],
320+
[
321+
'accountId' => $accountId,
322+
'containerId' => $containerId,
323+
'variableId' => '256',
324+
'name' => 'Magefan DLV - Customer Email Hash',
325+
'type' => 'v',
326+
'parameter' => [
327+
[
328+
'type' => 'INTEGER',
329+
'key' => 'dataLayerVersion',
330+
'value' => '2'
331+
],
332+
[
333+
'type' => 'BOOLEAN',
334+
'key' => 'setDefaultValue',
335+
'value' => 'false'
336+
],
337+
[
338+
'type' => 'TEMPLATE',
339+
'key' => 'name',
340+
'value' => 'customer_identifier'
341+
]
342+
],
343+
'fingerprint' => $timestamp,
344+
'formatValue' => (object)[]
345+
],
320346
[
321347
'accountId' => $accountId,
322348
'containerId' => $containerId,

0 commit comments

Comments
 (0)