SHARE
TWEET

Untitled

a guest Jun 19th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ___INFO___
  2.  
  3. {
  4.   "displayName": "Taxonomy Tracker",
  5.   "description": "Fires a datalayer event for each element in the given taxonomy array",
  6.   "securityGroups": [],
  7.   "id": "cvt_temp_public_id",
  8.   "type": "TAG",
  9.   "version": 1,
  10.   "brand": {
  11.     "thumbnail": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAEsASwDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxE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5V4L8S/g54k8UePL/AFnSRZfZblYz+9m2tuVFU8Y/2a97iUpCinqFANAD6KKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigClrGlWuuaPeaXepvtruJopAOuCOo9x1HuK+KvF3hW/8HeI7nR9QU7ozmKUDCzRn7rj2P6HI7V9xVynjvwFpXjzRvsd8PKuosm2u0XLwt/VT3Hf2ODQB8V17X8PPjxc6PDDpXilZbyzQBY71PmmjHo4/jHv1+tedeMPAeveCb4waraHyGbEN3GC0Uv0bsfY4NczQB93aLr2leIrBb3SL+C8tz/FE2dp9GHVT7HBrRr4Q0fXNU8P3y3uk389ncD+OFyMj0I6Eex4r2vwj+0VKnl2viuw8wdPttmoDfVo+h+qkfSgD6EorJ0HxNovieyF3o2owXkX8Xlt8yezKeVP1ArWoAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAILyytdRtJLS9torm2lG14pUDKw9wa8W8Zfs82N6ZLvwrdCymOT9juCWiJ/wBluSv45H0r3CigD4Y8QeFdc8LXn2XWtNntHzhWcZR/91hw34Gsevve+sLPU7R7S/tYbq2kGHimQOrfUGvG/GP7PWmah5l34Xuf7PuDz9lmJeFj7Hll/UewoA+d9N1O/wBHvo73Tbua0uYz8ssLlWH5dvavcfBH7QsiNHY+L4N68KNQt0wR7ug6/VfyNeN+IvC2teFL82WtWEtrKc7GYZSQeqsOGH0rHoA+9rDULTVLGG9sLmK5tZl3RyxMGVh9as18c/Df4k6h4C1UAl7jSJ2H2m0z0/209GH69D2I+vNN1G01fTbfULCdZ7W4QSRSL0ZT/npQBaooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACivLfjL8Qdb8BporaOtowvDMJftEZf7uzbjBH94/pW98LfFt5408FRarqAhF2J5IpBCpVeDxwSexFAHaUUUUAFFFFAGdrehaZ4j0yXTtWs47q1k6o46H1B6g+45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AKKKKACiiigAooooAKKKKACvH/2jv+Seaf8A9hWP/wBFS17BXj/7R3/JPNP/AOwrH/6KloA+YK+n/wBnH/knmof9hWT/ANFRV8wV9P8A7OP/ACTzUP8AsKyf+ioqAPYKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigArx/wDaO/5J5p//AGFY/wD0VLXsFeP/ALR3/JPNP/7Csf8A6KloA+YK+o/2dAB8ObvA66nLn/v3HXy5X1H+zr/yTm6/7Ccv/ouOgD1yiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAK8f/aO/wCSeaf/ANhWP/0VLXsFeP8A7R3/ACTzT/8AsKx/+ipaAPmCvqP9nX/knN1/2E5f/RcdfLlfUf7Ov/JObr/sJy/+i46APXKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigArxL9pO9RPDGi2Bb95NeNMB7IhB/9GCuv8W/F/wx4O1O40y9+2TX8AUtDBDn7yhh8xIHQivmv4heO7zx94gGoTwi3toU8q2tw27Yuckk92J6n6DtQByVfUn7OykfDi5J76lKR/3xHXy3XsPw4+Mem+BfCI0iXSbq6n895mdJFVfmxj36CgD6eorwuH9pG3ub2C3h8MS/vZFTc96BjJxn7hr3SgAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA858VfBbw54v8RXOt6he6rFc3AQOlvLGqDaoUYBQnoB3rF/4Zx8H/APQS1z/v/D/8ar2CigDx/wD4Zx8H/wDQS1z/AL/w/wDxqj/hnHwf/wBBLXP+/wDD/wDGq9gooA8kt/2d/CVtcxXCajrZeJw6hp4sZBzz+7r1uiigAooooAKKKKAP/9k=",
  12.     "displayName": "",
  13.     "id": "brand_dummy"
  14.   },
  15.   "containerContexts": [
  16.     "WEB"
  17.   ]
  18. }
  19.  
  20.  
  21. ___TEMPLATE_PARAMETERS___
  22.  
  23. [
  24.   {
  25.     "valueValidators": [
  26.       {
  27.         "type": "NON_EMPTY"
  28.       }
  29.     ],
  30.     "displayName": "Taxonomy Name",
  31.     "simpleValueType": true,
  32.     "name": "taxonomyName",
  33.     "type": "TEXT"
  34.   },
  35.   {
  36.     "macrosInSelect": true,
  37.     "selectItems": [],
  38.     "valueValidators": [
  39.       {
  40.         "type": "NON_EMPTY"
  41.       }
  42.     ],
  43.     "displayName": "Taxonomy Values Array",
  44.     "simpleValueType": true,
  45.     "name": "taxonomyValuesArray",
  46.     "type": "SELECT"
  47.   }
  48. ]
  49.  
  50.  
  51. ___WEB_PERMISSIONS___
  52.  
  53. [
  54.   {
  55.     "instance": {
  56.       "key": {
  57.         "publicId": "access_globals",
  58.         "versionId": "1"
  59.       },
  60.       "param": [
  61.         {
  62.           "key": "keys",
  63.           "value": {
  64.             "type": 2,
  65.             "listItem": [
  66.               {
  67.                 "type": 3,
  68.                 "mapKey": [
  69.                   {
  70.                     "type": 1,
  71.                     "string": "key"
  72.                   },
  73.                   {
  74.                     "type": 1,
  75.                     "string": "read"
  76.                   },
  77.                   {
  78.                     "type": 1,
  79.                     "string": "write"
  80.                   },
  81.                   {
  82.                     "type": 1,
  83.                     "string": "execute"
  84.                   }
  85.                 ],
  86.                 "mapValue": [
  87.                   {
  88.                     "type": 1,
  89.                     "string": "dataLayer"
  90.                   },
  91.                   {
  92.                     "type": 8,
  93.                     "boolean": true
  94.                   },
  95.                   {
  96.                     "type": 8,
  97.                     "boolean": true
  98.                   },
  99.                   {
  100.                     "type": 8,
  101.                     "boolean": false
  102.                   }
  103.                 ]
  104.               },
  105.               {
  106.                 "type": 3,
  107.                 "mapKey": [
  108.                   {
  109.                     "type": 1,
  110.                     "string": "key"
  111.                   },
  112.                   {
  113.                     "type": 1,
  114.                     "string": "read"
  115.                   },
  116.                   {
  117.                     "type": 1,
  118.                     "string": "write"
  119.                   },
  120.                   {
  121.                     "type": 1,
  122.                     "string": "execute"
  123.                   }
  124.                 ],
  125.                 "mapValue": [
  126.                   {
  127.                     "type": 1,
  128.                     "string": "toString.call"
  129.                   },
  130.                   {
  131.                     "type": 8,
  132.                     "boolean": false
  133.                   },
  134.                   {
  135.                     "type": 8,
  136.                     "boolean": false
  137.                   },
  138.                   {
  139.                     "type": 8,
  140.                     "boolean": true
  141.                   }
  142.                 ]
  143.               }
  144.             ]
  145.           }
  146.         }
  147.       ]
  148.     },
  149.     "clientAnnotations": {
  150.       "isEditedByUser": true
  151.     },
  152.     "isRequired": true
  153.   }
  154. ]
  155.  
  156.  
  157. ___SANDBOXED_JS_FOR_WEB_TEMPLATE___
  158.  
  159. const callInWindow = require('callInWindow');
  160. const createQueue = require('createQueue');
  161. const dataLayerPush = createQueue('dataLayer');
  162. const taxonomyValuesArray = data.taxonomyValuesArray;
  163.  
  164. // Check if taxonomyValues is an array to avoid an error
  165. const isArray = arr => callInWindow('toString.call', arr) === '[object Array]';
  166.  
  167. if (isArray(data.taxonomyValuesArray)) {
  168.   data.taxonomyValuesArray.forEach(t => dataLayerPush({
  169.     taxonomyValue: t,
  170.     taxonomyName: data.taxonomyName,
  171.     event: 'taxonomyTracker'
  172.   }));
  173. }
  174.  
  175. // Call data.gtmOnSuccess when the tag is finished.
  176. data.gtmOnSuccess();
  177.  
  178.  
  179. ___NOTES___
  180.  
  181. Created on 6/7/2019, 8:16:30 AM
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top