How to capture a value in a website as revenue ?

Avatar

Avatar

Knowledgeseeker98

Avatar

Knowledgeseeker98

Knowledgeseeker98

18-06-2020

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

shesingh

Employee

Avatar

shesingh

Employee

shesingh
Employee

18-06-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.