How to capture a value in a website as revenue ? | Community
Skip to main content
Ashok_Adiyolil
Level 2
Jun 18, 2020 7:30 AM UTC
Solved

How to capture a value in a website as revenue ?

I need to capture value from a webpage which will be a amount.It need to be captured as revenue .The value is ancillary services of a flight booking page.As the value is not included inside the datalayer ,it need to be captured through javascript.Can anyone suggest me a solution for this problem?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
shesinghAccepted solution
Employee
Jun 18, 2020 9:24 AM UTC

You may capture Revenue(amount) via Products Variable String.

s.products=[Category1];[Product1];[Quantity];[Total Price];[Incrementor];[Merchandising]

You would need to populate price in products syntax with Purchase Success Event(s.events = "purchase";) to capture it in Revenue metric successfully.

If you do not want to capture the amount with purchase event, then you may also use custom implementation by populating the specific values into currency events.

s.events = "event1=9.99";

https://helpx.adobe.com/in/analytics/kb/comparing-event-types.html

Hope this helps.

Let me know in case of any further queries.

2 replies

shesinghAccepted solution
Employee
Jun 18, 2020 9:24 AM UTC

You may capture Revenue(amount) via Products Variable String.

s.products=[Category1];[Product1];[Quantity];[Total Price];[Incrementor];[Merchandising]

You would need to populate price in products syntax with Purchase Success Event(s.events = "purchase";) to capture it in Revenue metric successfully.

If you do not want to capture the amount with purchase event, then you may also use custom implementation by populating the specific values into currency events.

s.events = "event1=9.99";

https://helpx.adobe.com/in/analytics/kb/comparing-event-types.html

Hope this helps.

Let me know in case of any further queries.

Translate
New Participant
Jun 23, 2020 3:49 AM UTC

.

Translate