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
_gaq.push(['_setAllowLinker', true]); | |
_gaq.push(['_setAllowAnchor', true]); | |
_gaq.push(function(){ | |
if (location.hash && location.hash.match(/(#|&)(utm_source|__utma)=.+/)) { | |
if ('replaceState' in history) | |
history.replaceState('',document.title, location.pathname + location.search); | |
else location.hash = ''; | |
} | |
}); | |
_gaq.push(['_trackPageview']); |
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
// パラメータ名「cid」の部分は適宜変更 | |
s.campaign = getHashQueryParam('cid'); | |
// クエリにも同時対応する場合は以下のように書ける | |
s.campaign = s.getQueryParam('cid') || s.getHashQueryParam('cid'); |
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
// s.t();の後に下記を追加する | |
if (location.hash && location.hash.match(/#cid=.+/)) { | |
if ('replaceState' in history) | |
history.replaceState('', document.title, location.pathname + location.search); | |
else window.location.hash = ''; | |
} |
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'> | |
var _merchantSettings=_merchantSettings || []; | |
_merchantSettings.push(['AT', '11l8bx']); | |
(function() { | |
var autolink = document.createElement('script'); | |
autolink.type = 'text/javascript'; | |
autolink.async = true; | |
autolink.src = ('https:' == document.location.protocol) ? 'https://autolinkmaker.itunes.apple.com/js/itunes_autolinkmaker.js' : 'http://autolinkmaker.itunes.apple.com/js/itunes_autolinkmaker.js'; | |
var s = document.getElementsByTagName('script')[0]; |
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 rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.css"> | |
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
$('#example').dataTable({ | |
"bServerSide": false, | |
"bProcessing": true, | |
"sAjaxDataProp": "feed.entry", | |
"sAjaxSource": "https://spreadsheets.google.com/feeds/list/[keyをここへ]/od6/public/values?alt=json", | |
"aoColumns": [{ |
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); } |
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
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
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"; |
OlderNewer