Skip to content

Datalayer incomplete upon Success in Chrome #24

Description

@joshua-chavanne

I have no idea why the dataLayer would render differently based on browser, but in Chrome on Transaction Success the dataLayer is not fully populated. This issue does not exist in Firefox or Safari. I can reproduce this issue consistently.

This is a Success Page in Firefox:

<script>dataLayer = [{"transactionId":"100000102","transactionDate":"2014-11-13","transactionTotal":299,"transactionShipping":0,"transactionTax":0,"transactionPaymentType":"Check \/ Money order","transactionCurrency":"USD","transactionShippingMethod":"usps","transactionProducts":[{"name":"Smart System - Graphite","sku":"SY1GR","category":"Soundhawk Smart Listening System","price":299,"quantity":1}],"visitorId":"21","visitorLoginState":"Logged in","visitorType":"General","visitorLifetimeValue":11380.97,"visitorExistingCustomer":"Yes"}];</script>
This is a Success Page in Chrome:

<script>dataLayer = [{"visitorId":"21","visitorLoginState":"Logged in","visitorType":"General","visitorLifetimeValue":10782.97,"visitorExistingCustomer":"Yes"}];</script>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions