This file contains hidden or 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
module.exports = { | |
siteMetadata: { | |
title: 'コンセプトダイアグラム公式サイト', | |
description: | |
'顧客体験(CX)を図解しコミュニケーション戦略を明確にする顧客視点のマーケティング手法', | |
}, | |
plugins: [ | |
// 省略 | |
], | |
} |
This file contains hidden or 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
import dask.dataframe as dd | |
# 分割されたCSVでも一つの巨大CSVでも同じように読み込める | |
file1 = 'DW-exported-*.csv' | |
df = dd.read_csv(file1, header=0, names=('Pages','VisitNum','HitDepth','Date','CV','Customer ID','Referrer','PV'), dtype={'Pages':'object','VisitNum':'int16','HitDepth':'int16','Date':'object','CV':'object','eVar13':'object','Referrer':'object','PV':'int16'}) | |
# カラム名や型を指定しない場合 | |
#df = dd.read_csv(file1, header=0) | |
# この結果、複数のパーティションに分割されたpandas dataframeが生成される |
This file contains hidden or 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
<link href="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css" rel="stylesheet"/> | |
<script> | |
(function() { | |
var gtm = window.google_tag_manager[{{Container ID}}]; | |
var el = document.createElement('script'); | |
el.async = true; | |
el.src = 'https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js'; | |
el.addEventListener('load', function() { | |
gtm.onHtmlSuccess({{HTML ID}}); | |
}); |
This file contains hidden or 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
function() { | |
return function(model) { | |
var hitType = model.get('hitType'), | |
eventLabel = model.get('eventLabel'); | |
try { | |
toastr.options.progressBar = true; | |
if (hitType === 'pageview') { | |
$("<audio></audio>").attr({ | |
'src': 'http://XXXXX/XXX.mp3', | |
'autoplay': 'autoplay' |
This file contains hidden or 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
function s_doPlugins(s){ | |
switch(s.channel){ | |
case 'NV': | |
s.events="event1"; | |
s.products=";;;;event1=3"; | |
s.eVar1="+3"; | |
break; | |
case 'CS': | |
s.events="event1"; | |
s.products=";;;;event1=5"; |
This file contains hidden or 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
piAId = '123456'; | |
piCId = '1234'; | |
(function(d, t) { | |
var s = d.createElement(t); s.type = 'text/javascript'; | |
s.src = ('https:' == d.location.protocol ? 'https://pi' : 'http://cdn') + '.pardot.com/pd.js'; | |
var c = d.getElementsByTagName(t)[0]; c.parentNode.insertBefore(s, c); | |
})(document, 'script'); |
This file contains hidden or 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
piAId = '123456'; | |
piCId = '1234'; | |
(function() { | |
var s = document.createElement('script'); s.type = 'text/javascript'; | |
s.src = ('https:' == document.location.protocol ? 'https://pi' : 'http://cdn') + '.pardot.com/pd.js'; | |
var c = document.getElementsByTagName('script')[0]; c.parentNode.insertBefore(s, c); | |
})(); |
This file contains hidden or 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
<script type="text/javascript"> | |
piAId = '123456'; | |
piCId = '1234'; | |
(function() { | |
function async_load(){ | |
var s = document.createElement('script'); s.type = 'text/javascript'; | |
s.src = ('https:' == document.location.protocol ? 'https://pi' : 'http://cdn') + '.pardot.com/pd.js'; | |
var c = document.getElementsByTagName('script')[0]; c.parentNode.insertBefore(s, c); | |
} | |
if(window.attachEvent) { window.attachEvent('onload', async_load); } |
NewerOlder