Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions how.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@
$('.generalGuidelinesMainImageLink').attr("href", imageLinkURL);

//Google Analytics Event Tracking - General Guidelines - Opened
ga('send', {
hitType: 'event',
eventCategory: 'General Guidelines',
eventAction: 'Opened',
eventLabel: title
if(ga) ga('send', {
hitType: 'event',
eventCategory: 'General Guidelines',
eventAction: 'Opened',
eventLabel: title
});

//IMAGE LINK
Expand Down Expand Up @@ -158,13 +158,13 @@
$("#generalGuidelinesModalStep3DoneButton").show();

//Google Analytics Event Tracking - General Guidelines - Completed
ga('send', {
if(ga) ga('send', {
hitType: 'event',
eventCategory: 'General Guidelines',
eventAction: 'Completed',
eventLabel: title
});

} else if (yourSelectionCorrect == "no") {
$(".alert-danger").html(answer);
$(".alert-danger").show();
Expand Down Expand Up @@ -291,7 +291,7 @@
$('.modalImageLink').html(viewLinkText);

//Google Analytics Event Tracking - Specific Guidelines - Opened
ga('send', {
if(ga) ga('send', {
hitType: 'event',
eventCategory: 'Specific Guidelines',
eventAction: 'Opened',
Expand Down Expand Up @@ -726,7 +726,7 @@
$('#step3').show();

//Google Analytics Event Tracking - Specific Guidelines - Completed
ga('send', {
if(ga) ga('send', {
hitType: 'event',
eventCategory: 'Specific Guidelines',
eventAction: 'Completed',
Expand Down
2 changes: 1 addition & 1 deletion when.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
$('.modalImageLink').attr('href',imageLinkURL);

//Google Analytics Event Tracking - When To Describe - Opened
ga('send', {
if(ga) ga('send', {
hitType: 'event',
eventCategory: 'When',
eventAction: 'Opened',
Expand Down