Created
November 17, 2021 19:43
-
-
Save maestrojed/f25de962bec5731db3009a46c54f1c7a to your computer and use it in GitHub Desktop.
Store Page View to Adobe
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 ($, Drupal) { | |
$(document).ready(function() { | |
console.log("Optum Store Adobe Analtyics _satellite track being prepared"); | |
_satellite.track('page_viewed', { | |
'event_name': 'page viewed', | |
'page': { | |
'page_name': 'some page', | |
'website': 'global', | |
'site_section1': 'linkwell health', | |
'site_section2': 'article', | |
'site_section3': '', | |
'page_type': 'article', | |
} | |
}); | |
console.log("Optum Store Adobe Analtyics _satellite track sent"); | |
}); | |
})(jQuery, Drupal); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment