You can install our site as a web app on your iOS device by utilizing the Add to Home Screen feature in Safari. Please see this thread for more details on this.
Note: This feature may not be available in some browsers.
Great work!
How many submitted links now?
Have you considered keeping track of the number of times a given referral is copied and doing some kind of weighted randomization? Nothing is truly random on a computer; however, you can weight the ones people haven't copied yet heavier so they are more likely to be displayed. Gives a statistical advantage to new links over ones people have copied numerous times.
It sounds like limited web experience... but this would require some JS front-end to let you know when a user copies the provided random link. Likely some callback methods as well. And some way to keep track of the links, number of times they are copied, etc... this would be the data needed to do a random weighted selection.
That's a great idea--let us know how many you get!Hey,
thank's for the website.
I used a shortened link (Referral | Tesla) is that okay ? It's to track how many clicks I get. If not ok I will repost it using my original link.
Hey,
thank's for the website.
I used a shortened link (Referral | Tesla) is that okay ? It's to track how many clicks I get. If not ok I will repost it using my original link.
I made the referral system to only accept the ts.la domain as I was getting lots of spam links that I had to manually delete. Any way to let these Google short links work and prevent spam at the same time? Thanks
You basically have to follow the link and see if it resolves to a ts.la link. It's possible to do this in code; however, not super trivial.
<?php
$link="http://goo.gl/w2Zkcu";
if (strpos(strip_tags(file_get_contents($link)),"Tesla Referral Program")!==false) echo "good referral link";
else echo "bad referral link";
?>
Here you go. Works with both goo.gl and ts.la links:
Code:<?php $link="http://goo.gl/w2Zkcu"; if (strpos(strip_tags(file_get_contents($link)),"Tesla Referral Program")!==false) echo "good referral link"; else echo "bad referral link"; ?>
Does the referral randomizer still work? Just got my order confirmed and want to post mine on it.
K-MTG, the site is stating: "To qualify, you must order your Model S or X by October 18."
Can you update the date to reflect the current program date: January 15, 2017