Hi,
I'm very new to this, up to today I only worked with Clicky and Google Analytics.
The lack of videos about how to, using javascript, send custom events to Adobe Analytics, makes it hard to figure out the best way.
I have this from the client:
Category (SC_LeadGen) is sent over eVar70 as a text value. The other tests we run are sent over the same EVAR when we come so far:
Category | label | Action | Description | Event |
SC_LeadGen | OPEN_A | shown | Sent when design version A is being shown | 300 |
SC_LeadGen | Open_B | shown | Sent when design version B is being shown | 301 |
SC_LeadGen | OPEN_A | CTA_Click | Sent when a user clicks on the CTA button in design version A | 302 |
SC_LeadGen | Open_B | CTA_Click | Sent when a user clicks on the CTA button in design version B | 303 |
SC_LeadGen | OPEN_A | Submit_Success | Sent when a user has clicked the button in version A landing on the acknowledgment page for registration | 304 |
SC_LeadGen | Open_B | Submit_Success | Sent when a user has clicked the button in version B lands on the acknowledgment page for registration | 304 |
from what I can gather, and that's not much, is that:
- the Adobe Analytics global variable is "s"
- I can from there, change and set for example s.eVar70 = "Something useful"
but how can I send event ids actions? how, from a client-side javascript I can submit actions on those events?
after set s.eVar70 = "Something useful" what is the other command that actually sends the new data back to Analytics?
Thank you for your help.
Solved! Go to Solution.
There are two type of tracking calls:
Visitor interaction with an overlay can be also tracked with s.tl(), it's referenced as Custom Link tracking (it should not be necessarily a link click, it can be anything you want to capture).
The payload is all type of variables you want to send. For example, following your table:
So it may look something like:
s.eVar1="version A";
s.events="event1";
s.linkTrackVars="eVar1,events";
s.linkTrackEvents="event1";
s.tl(true,"o","SC_LeadGen|OPEN_A|CTA_Click");
The answer on your question is here: The s.tl() Function - Link Tracking
Views
Replies
Total Likes
Hi Andrey,
First of all, thank you for all your videos, they are helpful in trying to understand Adobe analytics and you just lacking one that we can actually, from javascript, send something and then we would see the event in Analytics ...here's an idea for the next video series
You pointed to Link Tracking, but I'm trying to accomplish is to send custom events (event_id 300 ~ 304) as that's already setup from the client part ... After reading the hole page you sent, I think it's not really the right way to send such information.
Can you please review my question and tell me how can I send those custom event ids back to analytics? it's not link tracking, as the events will occur based on the user actions on an overlay that we have created.
Thank you.
Views
Replies
Total Likes
There are two type of tracking calls:
Visitor interaction with an overlay can be also tracked with s.tl(), it's referenced as Custom Link tracking (it should not be necessarily a link click, it can be anything you want to capture).
The payload is all type of variables you want to send. For example, following your table:
So it may look something like:
s.eVar1="version A";
s.events="event1";
s.linkTrackVars="eVar1,events";
s.linkTrackEvents="event1";
s.tl(true,"o","SC_LeadGen|OPEN_A|CTA_Click");
Hi Andrey,
I have to tell you, I'm a bit lost in Analytics UI ... maybe you can give me a slight push
To test if the event is sent correctly, where do I get to see the real time events? in GA, there's a RealTime > Events > Less than 30min and all custom events will start shown...
In AA I've tried "Custom Links Report" and "Real-Time", but none actually gives me anything about my event
but only to realize that says [event66] ... maybe that's wrong but I'm very lost around here
Views
Likes
Replies
Views
Likes
Replies