This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This code added just below "##UTLOADEXTENSIONS##" at the top of the template | |
(function(){ | |
var w = window, | |
t = w.TEALIUM_GLOBAL = w.TEALIUM_GLOBAL || "##UTTEALIUMGLOBAL##".replace("##" + "UTTEALIUMGLOBAL##","") || "tealium", | |
q = function(){w[t].q.push(arguments)}; | |
// Confirm the page is using new page code that defines tealium.track | |
if (w[t] && w[t].track && w[t].config) { | |
// No default page view event. Requires a tealium.track call |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Author: Ty Gavin | |
* Date: 12/19/2019 | |
* | |
* Summary | |
* The goal of this script is to extract a large .tar.bz file that contains text files (50GB+) | |
* | |
* Example: Use native bunzip2 and then pipe/stream output from this to this node program | |
* # bunzip2 -c < file.tar.bz | node extract_from_tar_bz_file.js | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// IMPORTANT: | |
// Please update the ##ACCOUNT## and ##PROFILE## values below to match your Tealium account and profile names | |
// Most of the code below is the "Hello World" script provided by Amazon in the Alexa Developer Console | |
// This sample demonstrates handling intents from an Alexa skill using the Alexa Skills Kit SDK (v2). | |
// Please visit https://alexa.design/cookbook for additional examples on implementing slots, dialog management, | |
// session persistence, api calls, and more. | |
const Alexa = require('ask-sdk-core'); | |
const https = require('https'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// IMPORTANT: | |
// Please update the ##ACCOUNT## and ##PROFILE## values below to match your Tealium account and profile names | |
// This sample demonstrates handling intents from an Alexa skill using the Alexa Skills Kit SDK (v2). | |
// Please visit https://alexa.design/cookbook for additional examples on implementing slots, dialog management, | |
// session persistence, api calls, and more. | |
const Alexa = require('ask-sdk-core'); | |
const https = require('https'); | |
const crypto = require('crypto'); | |
const hash = crypto.createHash('sha256'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Summary: Wrapper adds support for tealium.track function and queuing events before utag.js is loaded. | |
* In addition, all tags will fire for every event (uses utag.view behind the scenes). You can control | |
* what tags fire with load rules. For the vendors with specific behavior for utag.link, see below. | |
* | |
* NOTE: | |
* - Page code below is inserted in html source while JavaScript is added to utag.js Preloader Extension | |
* | |
* - If the data layer includes a custom attribute that matches the name of what is defined in | |
* window.utag_cfg_ovrd.link_attribute, then utag.link is called, otherwise, utag.view is called. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* Summary: Copies Tealium visitor id cookie value to localStorage to create a more | |
* durable anonymous visitor id. | |
* | |
* Requirements: | |
* - This localStorage value will not be updated until the 1 year point | |
* - This JS Code below is copy/pasted to a JavaScript Extension in Tealium iQ | |
* with an "All Tags" scope | |
* |