Expand my Community achievements bar.

Join us January 15th for an AMA with Champion Achaia Walton, who will be talking about her article on Event-Based Reporting and Measuring Content Groups!
SOLVED

How to capture a value in a website as revenue ?

Avatar

Level 3

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?

1 Accepted Solution

Avatar

Correct answer by
Employee

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.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

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.