SET THE "TRIGGER"
1. Paste the following snippet into the code that loads after signup is successful (e.g. the "Successfully logged in" popup)
ga('send', 'event', { eventCategory: 'video', eventAction: 'play', eventLabel: 'watchnow', eventValue: 1})
So that it sends info to GA after a button is clicked:
<input id=”contact-submit” class=”button” type=”submit” value=”Submit” onClick="ga('send', 'event', { eventCategory: 'video', eventAction: 'play', eventLabel: 'watchnow', eventValue: 1});">
or it sends info to GA when a pixel is loaded:
<img src="http://www.mydomain.com/1x1_blank.jpg" onLoad="ga('send', 'event', 'Banner', 'Impression','Banner1');"/>
<img src="popup.gif" onload="ga('send','event','popups','popup-homepage');">
SET THE "LISTENER"
1. GA > Admin > Property > View > Goals > "Add New Goal"
2. Goal setup (Custom) > Goal Description (Signups) > Goal slot ID (select an unused slot) > Type (Event)
3. Goal details
Category=video
Action=play
Label=watchnow
Value=1
4. Use the Event value as Goal Value for conversion: YES
5. SAVE
VIEW GOAL PERFORMANCE
1. GA > Acquisition > Campaigns > All Campaigns
2. Primary Dimension: Campaign
3. Conversions (select the goal description made earlier e.g. "Goal 2: Signups")
OR
Reports > BEHAVIOR > Events
Sources
https://developers.google.com/analytics/devguides/collection/analyticsjs/events
https://developers.google.com/analytics/devguides/collection/analyticsjs/sending-hits
https://support.google.com/analytics/answer/1033068?hl=en
https://www.optimizesmart.com/event-tracking-guide-google-analytics-simplified-version/
https://www.koozai.com/blog/analytics/the-complete-google-analytics-event-tracking-guide-plus-10-amazing-examples/
If using Google Tag Manager:
https://www.optimizesmart.com/event-tracking-in-google-tag-manager-v2-complete-guide/#TrackingExternalLinks
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Normal dist - big changes from mean are uncommon Fat-tail dist - exists in financial markets, where big changes (from mean) have hi probabil...
-
Eye of the Sahara https://www.google.com/maps/place/Richat+Structure/@21.0430669,-12.1300028,286500m/data=!3m1!1e3!4m6!3m5!1s0xe811f4e324b68...
-
This article shows you TWO (2) ways to save money: How to get discounts when you pay your MBPJ summons; and How to save more money when...
-
Why? Cheap, consumes little power, generates little heat/noise. Protected from external attacks because accessible only thru local wifi (by ...
-
1. On the price chart, select a timeframe that is smaller than 1 day, such as 1 hour or 15 minutes. The price chart should now show 2 new ve...
-
1. Use Hitfilm free version 2. Drag all media sources (images, vid clips) to timeline. Select all images&vidclips on timeline: Right-cli...
-
GUARDS (can have multiple) Define a favorable range (but don't act yet, need to wait for trigger) Examples: RSI > 20 fisher_RSI >0...
-
1. To convert your Python Kivy app (.py) to an Android (.apk) file , you need Linux on your Windows 10 PC Windows10 > Control Panel ...
-
You own a Proton Saga BLM and one day when you turn the ignition key, the car doesn't start as usual. Instead, the engine coughs and t...
-
1. Go to https://stakeview.app/ . As you go down the rows, APY will fall gradually. U are looking for (a) highest "stake" amount ...
No comments:
Post a Comment