title: I got an "Error at line 2, character 4: Parse error. primary expression expected"
body: <p>I don't know why I got an error on this custom javascript variable in Google Tag Manager?</p>
  
  <p>I'm trying to populate the purchase-event for the facebook pixel with values. SO this is my way of getting the information from the datalayer into the purchase-event. I'm not sure if i'm doing this right but i can't test it in preview mode beacuse of the error message!</p>
  
  <pre><code>var facebookArray = [];
  
  {{DLV - Products}}.forEach(function(product) {
  
    facebookArray.push({
  
      sku: product.sku,
  
      quantity: product.quantity,
  
      item_price: product.price,
  
    });
  });
  </code></pre>
  
  <p>The Datalayer varible {{DLV - Products}} is coming from transactionProducts in the datalayer (Yes we don't use enhanced ecommerce).</p>
  
  <p>This is what the facebbok purchase event looks like (custom HTML-tag):</p>
  
  <pre><code>&lt;script&gt;
  
  
  fbq('track', 'Purchase',{
  
   products: '[{{custom JS - transaction products}}]',
  
  
  value: '{{DLV - Ecommerce - TransactionTotal}}',   
  
  
  currency: 'SEK'
  
  
  });
  
  &lt;/script&gt;
  </code></pre>