Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.SocialShareBig a.social-share__icon').click(function() {
- var type = $(this).attr('class').split('js-')[1];
- dataLayer.push({
- 'event':'autoEvent',
- 'eventCategory':'socialShare',
- 'eventAction': type,
- 'eventLabel': {{Page URL}}
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement