- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
06-03-2013 01:56 PM - last edited on 10-07-2015 05:24 PM by akshata_yerdoor
I'm not sure what I am doing wrong, but I am unable to get my events to fire like I expect (or at least I don't see them firing in Omnibug.)
I have my event set up as follows:
pageId=kr05: purchase (This one fires)
Where vars 1, 2 and 3 are mapped to variables in out data layer. I would expect to see events 90-92 fire in omniture with the values of the mapped data, but instead I only see the purchase event fire, but not the others. I know that vars 1-3 have data, as I have it hardcoded for testing.
Am I mapping things incorrectly?
06-03-2013 02:03 PM
06-03-2013 02:35 PM
06-03-2013 05:08 PM - last edited on 10-07-2015 05:29 PM by akshata_yerdoor
it depends on how you want it to work. It can get pretty complex. Please keep in mind though that 'events' in the product string must be a numeric value, which means you cannot use it to define currency. If you want to have currency defined it must be mapped to an 'evar'.
For a simple use case, let's say you just want to map the site region to evar30. You would select your site region variable in the toolbox:
And map it manually to evar30, you would type this in as the destination:
If you wanted to assign event20 with a value of 500, you would map the source variable, let's call it 'incrementor (js)'. It would look like this:
incrementor (js) -> PRODUCTS_event20
The generic product string looks like this:
So our setup will return a product string like this:
products : Shorts;5225415241111;1;11.99;events20=500;evar30=uk
If you assigned multiple events and evars, you'd end up with a string like this:
products : Shorts;5225415241111;1;11.99;events20=500|events55=900;evar55=product|evar30=uk
The main drawback of this method is that if you are in a shopping cart or order confirmation page, every product would receive the same events and evars in their product string. If you need help with something more complicated, please contact your account manager for additional assistance.
06-03-2013 06:14 PM
Copyright All Rights Reserved © 2008-2023