Last active
July 26, 2017 10:03
-
-
Save mindbreaker/bc2a4fd9558a7e8974d5af882bdb9e66 to your computer and use it in GitHub Desktop.
Google Tag Manager Variablen fürs Download-Tracking: Dateiname (katalog.pdf) und Dateierweiterung (pdf)
This file contains 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() { | |
return {{Click URL}}.split('.').pop(); | |
} |
This file contains 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() { | |
return {{Click URL}}.replace(/^.*[\\\/]/, ''); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mehr Infos zum Download-Tracking im Google Tag Manager