Use Enhanced Ecommerce

Highlighted
Shopify Expert
24 0 5

 

 

I am trying to setup Enhanced Ecommerce for google analytics.  What does checking the Use Enhanced Ecommerce box do?

This doc https://help.shopify.com/manual/reports-and-analytics/google-analytics/google-analytics-setup#turn-o... does not explain what gets tracked.

Typically tracking gets done as show on this link:  https://stackoverflow.com/questions/45112910/google-tag-manager-datalayer-unrecognized-by-tag-manage...

I imagine with the check box checked, Shopify would automatically create the dataLayer.page object:

dataLayer = [{
    'page': {
        'type': 'confirmation',
        'environment': 'production'
    }
}];

 

We'd like to track:

1. Purchase

2. Checkout

3. Add/Remove from Cart

4. Product Detail Impressions

5.  Product Impressions (and  position)

6.  Product Clicks

7. Promotion Impressions

8. Promotion Clicks.

 

 by adding events: like

dataLayer.push({
    'ecommerce': {
        'purchase': {
            'actionField': {
                'id': '0',
                'affiliation': '0',
                'revenue': '0'
            },
            'products': [{
                'name': '0',
                'id': '{{tourID}}',
                'price': '0',
                'category': 'None',
                'variant': 'None',
                'quantity': parseInt(document.getElementById("ctl00_ContentPlaceHolder1_hfGTMSEATS").value)
            }]
        }
    },
    'event': 'reservationPushed'
});
0 Likes
Highlighted
Shopify Expert
24 0 5

Essentially, which features are implemented automatically without programming?  

If a product is added to the home page via sections, I doubt that it would get a product impression event.   Or maybe it would?

0 Likes
Highlighted
Shopify Expert
24 0 5

Does anyone check this?

1 Like
Highlighted
New Member
1 0 0

After two years I'm guessing that is a no 

0 Likes
Highlighted
New Member
3 0 0

Did you ever get any feedback or guidance? Seems like partners or experts should be reviewing and responding. If no answer I bet we can find something on Stackoverflow.com 

0 Likes