Hi.
I would like some advice in setting up AA events in Launch.
As an example, let's imagine the following scenario:
- I want to measure 10 clicks on the homepage.
- Each click has it's own event number in Adobe Analytics (s.event1 to s.event10)
- Each event has 3 different eVars associated to the click
- Example:
One Direct call for each one will be the easiest solution, but at the end, if you have 1000 events, you will need to create 1000 different options.
Another idea is using custome code, but not sure if thats the most optimized way of doing it.
Any suggestion?
Thanks!
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Yes. You can create the custom function to automatically pick the event number.
Try this method,
<script>
Function Random(e_id)
{
var a= "event" + e_id;
s.event = a;
s.tl();
}
</script>
<a href="test1.html" onclick="Random(1)">Test1</a>
<a href="test2.html" onclick="Random(2)">Test2</a>
Hope this method could helps you..!
Regards
Ashok
Hi,
Yes. You can create the custom function to automatically pick the event number.
Try this method,
<script>
Function Random(e_id)
{
var a= "event" + e_id;
s.event = a;
s.tl();
}
</script>
<a href="test1.html" onclick="Random(1)">Test1</a>
<a href="test2.html" onclick="Random(2)">Test2</a>
Hope this method could helps you..!
Regards
Ashok
Thanks for your reply @ashokkumarm but I am talking about using Launch, not directly adding the code in the website.
Best.
Views
Replies
Total Likes
Hi
Is there any value passed in Link click to identify link count.
Regards
Ashok
Views
Replies
Total Likes
Views
Likes
Replies