Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Chris Beardsley
Added: Aug 3, 2018 7:33 AM
Modified: Aug 3, 2018 8:20 AM
Views: 11
Tags: no tags
  1. var dataModel = window.google_tag_manager['GTM-XXXXX'].dataLayer.get({
  2.   split: function() { return []; }
  3. });
  4. console.table(dataModel);