Install guide

  • install code: vpon will provide code, please refer to the example code below
  • install page: all pages
  • install position: between <head></head> tags

Example

Example Base Code
<script>
//start dmp
(function(v,p,o,n){
v[n]=v[n]||function(){(v[n].q=v[n].q||[]).push(arguments)};var r=p.createElement(o),s=p.getElementsByTagName(o)[0];
r.type="text/javascript";r.async=1;r.src="//m.vpadn.com/dmp/vpadn-tracking.js";
s.parentNode.insertBefore(r,s)})(window,document,"script","Vpadn");
Vpadn("create","vp00000000");
Vpadn("page_view",{title:"Example title",current:location.pathname,previous:document.referrer});

window.addEventListener?window.addEventListener("load",function(){window.addEventListener("scroll",isScroll,false)}):window.attachEvent("onscroll",isScroll);
var scrollCount=0;
function isScroll(){
++scrollCount;
if(scrollCount==2){
window.removeEventListener("scroll",isScroll);
Vpadn("element_interact",{name:"web",action:"scroll",value:location.pathname})
}};
//end dmp
</script>
Example Page
<!DOCTYPE html>
<html>
	<head>
		...
		<!-- base code content here -->
	</head>
<body>
	<!-- your html content here -->
</body>
<script>
</script>
</html>