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

question about implement)measuring event value on website page

Avatar

Level 4

Hi,

I want to implement to measure only event value without pageview on a web site page like as redirect page.

How should do I write html code?

Regards

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Dear Tomo,

Include s.abort = true; in Page Code of Base SC Code using custom script.

Example:

if(URL=A)

{

s.abort = true

}

I didn't write the javascript code, but the logic for your reference.

If you do, base SC Code will not fire for the URL you have defined.

Then create a new Page Loading Rule for the URL and add your tracking event with s.tl() call using Custom JavaScript.

Now on the page load, Base Code will not fire but the s.tl() will fire.

Hope it should work.

Thank You

Arun

View solution in original post

10 Replies

Avatar

Level 4

Hi,

Use manual link tracking which doesn't increment page views. More details here...

Manual Link Tracking Using Custom Link Code

Avatar

Level 4

To Rawsoft

Thanks for replying.

I already know to manual link tracking.

In this case, I cannot use that way because there are many link to the page.

Regards,

Avatar

Community Advisor

Sorry Tom,

Can you explain the scenario better to help?

Thank You!

Arun

Avatar

Level 4

To Arun,

I am plannning to implement new Sucess Events on new redirect page.

This redirect page only works to move user to another web site, so I do not want to measure this page like as usual page.

But this redirect page important for us, so I want to measure only Success Events.
Does this message explain enought?

Tomo

Avatar

Community Advisor

Dear Tomo,

Got it.

Have you implemented Adobe Analytics base code through DTM?

If yes, i can share you the method.

Thank You!

Arun

Avatar

Level 4

To Aran

Thanks to your message.

Did you mean updating s_code script in DTM?

I have updated s_code in basic javascript several times.

Regards

Avatar

Correct answer by
Community Advisor

Dear Tomo,

Include s.abort = true; in Page Code of Base SC Code using custom script.

Example:

if(URL=A)

{

s.abort = true

}

I didn't write the javascript code, but the logic for your reference.

If you do, base SC Code will not fire for the URL you have defined.

Then create a new Page Loading Rule for the URL and add your tracking event with s.tl() call using Custom JavaScript.

Now on the page load, Base Code will not fire but the s.tl() will fire.

Hope it should work.

Thank You

Arun

Avatar

Level 4

To Arun

Thanks to your replying.

But I cannot understand below.

>Then create a new Page Loading Rule for the URL and add your tracking event with s.tl() call using Custom JavaScript.

>Now on the page load, Base Code will not fire but the s.tl() will fire.

If this operation needs skill writing javascript like as programmer,

I will give up.

Tomo.

Avatar

Community Advisor

Dear Tomo,

You would at least need some JavaScript Knowledge.

Thank You!

Arun

Avatar

Level 4

Dear Arun

Thanks to your teaching, and advice.

Tomo