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"> | |
window.nrlskOnEvent = function(padiact) | |
{ | |
if (padiact.type=='subscribe') | |
{ | |
var google_conversion_id = XXXXXXXXXX; //replace with your value | |
var google_conversion_label = "XXXXXXXXXXXXXX"; //replace with your value | |
var image = new Image(1,1); | |
image.src = "http://www.googleadservices.com/pagead/ conversion/"+google_conversion_id+"/?label="+google_conversion_label+"&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
<!-- PadiAct Code --> | |
<script type="text/javascript"> | |
(function() { | |
var pa = document.createElement('script'), ae = document.getElementsByTagName('script')[0] | |
, protocol = (('https:' == document.location.protocol) ? 'https://' : 'http://');pa.async = true; | |
pa.src = protocol + 'd2xgf76oeu9pbh.cloudfront.net/XXXXXXXXXXXXXXXXXXXXXXXXX.js'; pa.type = 'text/javascript'; ae.parentNode.insertBefore(pa, ae); | |
})(); | |
</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
.padiOverlay { | |
position: fixed; | |
left: 0px; | |
top: 0px; | |
padding: 0px; | |
margin: 0px; | |
visibility: visible; | |
overflow-x: hidden; | |
overflow-y: auto; |
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
<div class="padiOverlay" style="display: block;"> | |
<div class="padiPop4Wrap" style="display: block;"> | |
<div class="padiPop4Overlay" > | |
<div class="padiPopupContent" > <a href="#" class="padiClose" title="Close" style="display:block;" >×</a> | |
<div class="padiContent" style="display:block"> | |
<h1 class="padiTitle"> | |
<!-- any TEXT can go from here --> |
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"> | |
window.nrlskOnEvent = function(padiact) | |
{ | |
if (padiact.type=='subscribe') | |
{ | |
// here should go the code that you want PadiAct to trigger when somebody subscribes | |
// the email address of the subscriber is available and url encoded: e.g. user%40gmail.com | |
// example: | |
console.log (padiact.email+' subscribed through PadiAct'); | |
// available vars: |
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"> | |
window.nrlskOnEvent = function(padiact) | |
{ | |
if (padiact.type=='subscribe') | |
{ | |
window.location = "http://yourwebsite.com/newpage.html"; | |
//change http://yourwebsite.com/newpage.html to the page you want to redirect when people subscribe | |
} | |
} | |
</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 createCookie(e,t,n){if(n){var r=new Date;r.setTime(r.getTime()+n*24*60*60*1e3);var i="; expires="+r.toGMTString()}else var i="";document.cookie=e+"="+t+i+";domain=.axa-asigurari.ro; path=/"}function readCookie(e){var t=e+"=";var n=document.cookie.split(";");for(var r=0;r<n.length;r++){var i=n[r];while(i.charAt(0)==" ")i=i.substring(1,i.length);if(i.indexOf(t)==0)return i.substring(t.length,i.length)}return null}function googleCookieReferrer(){var e=readCookie("__utmz");if(e.indexOf("utmcsr")==-1)return null;if(e!=null){if(e.indexOf("%7C")!=-1){e=e.split("%7C");e=e[0].split("%3D")}else{e=e.split("|");e=e[0].split("=")}if(e[1]!=""){return e[1]}else{return""}}else return""}var referer=googleCookieReferrer();if(referer!=null&&referer!=""){if(readCookie("__rfrr")){var feed=readCookie("__rfrr");var feed_temp=feed;var check="";feed=feed.split("|");if(feed[feed.length-1]==null){check=feed}else{check=feed[feed.length-1]}if(check!=referer)createCookie("__rfrr",feed_temp+"|"+referer,1e3)}else createCookie("__rf |
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> | |
if ({{pageName}} == 'article') | |
{ | |
//set the dimension id that is set inside Google Analytics for each dimension | |
ga('set', 'dimension1', {{postCategory}}); | |
ga('set', 'dimension3', {{postTitle}}); | |
ga('set', 'dimension4', {{postType}}); | |
} | |
if ({{pageName}} == 'archive') | |
{ |
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> | |
(function(q,u,i,c,k){window['GoogleAnalyticsObject']=q; | |
window[q]=window[q]||function(){(window[q].q=window[q].q||[]).push(arguments)}, | |
window[q].l=1*new Date();c=i.createElement(u),k=i.getElementsByTagName(u)[0]; | |
c.async=true;c.src='//www.google-analytics.com/analytics.js'; | |
k.parentNode.insertBefore(c,k)})('ga','script',document); | |
ga('create', 'UA-XXXXXXXX-XX', 'yourwebsite.com'); //make sure to customize your tracking ID and your domainname | |
dataLayer.push({"event":"trackingLoaded"}); //don't forget to add this line |
NewerOlder