Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to capture a value in a website as revenue ?


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?

2 Replies



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( = "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. = "event1=9.99";

Hope this helps.

Let me know in case of any further queries.