Created
July 18, 2013 19:50
-
-
Save validkeys/6032452 to your computer and use it in GitHub Desktop.
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
| <html> | |
| <head> | |
| <title>Big Data</title> | |
| </head> | |
| <body> | |
| <!-- This is a proxy redirect idea: --> | |
| <!-- 1. Prepend all links in the XML Pressly feeds with http://whateverurl.com?destination= --> | |
| <!-- 2. This page would live at whateverurl.com --> | |
| <!-- 3. We load the tracking pixel below and set a timeout before redirecting the user to ?destination=[DOUBLICK_DESTINATION_URL] --> | |
| <!-- Let your tracking pixel load --> | |
| <img width="1" height="1" src="http://pixel.tapad.com/tap/pxl.png?ta_property_id=797&ta_action_id=IBM_Tablet_Conversions" /> | |
| <!-- Wait 1 second before redirecting the user to destination url --> | |
| <script type="text/javascript"> | |
| destinationUrl = "http://www.google.com"; | |
| // replace the above google.com url with the | |
| // value of the ?destination= parameter | |
| setTimeout(function(){ | |
| document.location.href = destinationUrl; | |
| },1000); | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment