How to capture a value in a website as revenue ? | Community
Skip to main content
Ashok_Adiyolil
June 18, 2020
Solved

How to capture a value in a website as revenue ?

  • June 18, 2020
  • 1 reply
  • 1674 views

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.
Best answer by shesingh

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.

1 reply

shesinghAdobe EmployeeAccepted solution
Adobe Employee
June 18, 2020

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.

June 23, 2020

.