Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

Is there a way to pass only an event to track in the analytics beacon instead of firing all other page variables.

Avatar

Level 3

Hi,

We've a registration form where we need to capture the number of form field completions in an event. In this scenario, every time user interacts with the field, the analytics beacon fires as we use Form Blur approach and it fires all page level attributes by default (i.e. page name/URL, etc..)

Is there a way to pass only an event to fire in the analytics beacon to avoid duplication of page view traffic. Basically not to fire a page view beacon, I tried with s.tl(), however, it fired other page variables as well.

It would be so grateful if someone suggest a solution for this if there any method.

Thank you,

Anitha

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Dear Anitha,

Both s.t() and s.tl() call will capture the Page Name but only s.t() will give Page View credit to the Page Name i.e. Though Page Name is available in the Server Call of s.tl(), it wont increase the Page View for the Page Name.

Whatever you set inside s.linkTrackVars and s.linkTrackEvents associated with events will only be captured in s.tl() call.

Thank You!

Arun

View solution in original post

5 Replies

Avatar

Level 6

Hi Anitha,

s.tl() fire only a particlar event but in your case its firing the page variable, so can you share the URL to explore?

Regards,

Kumararaja K

Avatar

Level 5

Hi Anitha,

Try using the below method, give the required link tracking variable in Prop1. This will capture the given event and avoid duplication of pageviews.

s.linkTrackVars="prop1,events"

s.linkTrackEvents="event1"

s.events =''event1;

s.tl();

Also instead of firing beacon on each field, you can capture all details in form submit button, this will reduce the server call.

Thanks,

Balaji

Avatar

Level 3

Thank you Balaji for your inputs. Actually I tried this before, however, I found that till page name/page urls are fired/tracked as well in each beacon fire. Server call is not an issue. Actually, we want to track the number of form field completions for which we tagged an event and this will track each time the user completes each field and move to next field.

Whether page name/page url will fire by default (even though we set s.tl();)?

Avatar

Correct answer by
Community Advisor

Dear Anitha,

Both s.t() and s.tl() call will capture the Page Name but only s.t() will give Page View credit to the Page Name i.e. Though Page Name is available in the Server Call of s.tl(), it wont increase the Page View for the Page Name.

Whatever you set inside s.linkTrackVars and s.linkTrackEvents associated with events will only be captured in s.tl() call.

Thank You!

Arun

Avatar

Employee

In case you want to capture the pagename for s.tl() as well , you can use processing rule and set the pagename from custom variable where you have pagename values store so that Pages report show the pagename in case of s.tl() as well.