-
-
Save noahub/4ee83542548f3e33d6ef3eb0054f2e14 to your computer and use it in GitHub Desktop.
Carry over URL parameters to text and image links on Unbounce
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() { | |
$('.lp-pom-image a, .lp-pom-text a').not('a[href^=#]').each( function() { | |
this.href = this.href + window.location.search; | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment