Last active
August 22, 2018 14:14
-
-
Save shierro/f289ffd24e984a170fc7dff146907fab to your computer and use it in GitHub Desktop.
gemini-send-lead-event.html
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Test - Send Post Conversion</title> | |
<script type="text/javascript"> | |
(function(w,d,t,r,u){w[u]=w[u]||[];w[u].push({'projectId':'10000','properties':{'pixelId':'10062155'}});var s=d.createElement(t);s.src=r;s.async=true;s.onload=s.onreadystatechange=function(){var y,rs=this.readyState,c=w[u];if(rs&&rs!="complete"&&rs!="loaded"){return}try{y=YAHOO.ywa.I13N.fireBeacon;w[u]=[];w[u].push=function(p){y([p])};y(c)}catch(e){}};var scr=d.getElementsByTagName(t)[0],par=scr.parentNode;par.insertBefore(s,scr)})(window,document,"script","https://s.yimg.com/wi/ytc.js","dotq"); | |
</script> | |
<script type="text/javascript"> | |
window.onload = () => { | |
window.dotq.push({ | |
'projectId': '10000', | |
'properties': { | |
'pixelId': '10062155', | |
'qstrings': { | |
'ec': 'View content', // event category | |
'ea': 'ViewProduct', // 'insert the standard value', -- this represents the user interaction with your product | |
'el': 'rarebirdslabs', // event label | |
} | |
} | |
}); | |
window.dotq.push({ | |
'projectId': '10000', | |
'properties': { | |
'pixelId': '10062155', | |
'qstrings': { | |
'ec': 'Lead', | |
'el': 'TestLead', // event label | |
'ea': 'TestLead' | |
} | |
} | |
}); | |
} | |
</script> | |
<noscript> | |
<img src="https://sp.analytics.yahoo.com/spp.pl?a=10000&.yp=10062155"/> | |
</noscript> | |
</head> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment