Skip to content

Instantly share code, notes, and snippets.

@maestrojed
Created November 17, 2021 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maestrojed/f25de962bec5731db3009a46c54f1c7a to your computer and use it in GitHub Desktop.
Save maestrojed/f25de962bec5731db3009a46c54f1c7a to your computer and use it in GitHub Desktop.
Store Page View to Adobe
(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