This is cool! How do I add this to my pages?
<script language="javascript">
var ct_rawname = unescape(getUrlMM()["n"]);
var ct_fixedname = ct_rawname.split('+').join(' ');
if (ct_fixedname === "undefined" || ct_fixedname === "") {ct_fixedname = "Super ConverTrick'r!";}
function getUrlMM() {
var vars = {};
var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m, key, value) {
vars[key] = value;
});
return vars;
}
</script>
<center>
<h1>Welcome<br /><script language="javascript"> document.write(ct_fixedname); </script></h1>
</center>
** SIMPLE STEPS **
1. Before pasting this script in a HTML box, just change your H1 (or if you want to use H2) tags defaults from Page > Default Text Styles > Heading 1. eg. If you want to use dark background, set color White (like above), or if you want bright background, set color to darker shade.
2. Whatever you set there will be used to show your final outcome when you publish your page! ;)
NOTE: Do not worry, if Convertri doesn't show your text with correct size and font as you have setup. Published page will be perfect (as expected).
3. Rest of the script is very simple to modify, and the only variables/constants you need to change are marked in RED.
** WHAT SHOULD I CHANGE? **
1. Change content in <h1> tags to what should always be presented, eg. Welcome, or We Have Heavy Number of Buyers From... So Be Quick! you get the idea!
2. Change the ct_fixedname output to what should be default, eg. (based on above examples) SuperConvertrick'r or Costa Rica.
3. Use variable "n" to pass values to page.
NOTE: I did not mention earlier that you can rename "n" to anything, eg. loc, name, etc.
4. THAT IS ALL! Now Publish! And If You Enjoyed this and planning to use, SCROLL DOWN, and HIT LIKE! ❤️