Skip to content

Instantly share code, notes, and snippets.

@RoyBellingan
Last active December 16, 2015 19:51
Show Gist options
  • Save RoyBellingan/5488334 to your computer and use it in GitHub Desktop.
Save RoyBellingan/5488334 to your computer and use it in GitHub Desktop.
template iframe for SuperMoney DEM, sostituire le XXXXXX con il nome del sito per poter fare correttamente il tracking. Altrimenti la lead viene persa e gg..
<html>
<head>
<title>Supermoney.eu | Mutui V1</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? " https://stats.wellnessadv.com/" : " http://stats.wellnessadv.com/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", YYYY);
piwikTracker.setCustomVariable("1", "campagna", "SPMN01_A", scope = "page");
piwikTracker.setCustomVariable("2", "sito", "XXXXXXXX", scope = "page");
piwikTracker.setCustomVariable("3", "step", "landing_page", scope = "page");
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {
}
location.replace("http://supermoney.go2cloud.org/aff_c?offer_id=12&aff_id=1020&aff_sub=XXXXXXXXXXX");
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment