Developer forum

Forum » Development » OMC general question for specific application

OMC general question for specific application

Steen Nørgaard Perdersen
Reply

Hi all,

 

I havent worked with OMC before but have a specific use case. I haven't been able to find any good examples to match.

I'd like just a thought from you if it is doable with omc and if yes, a pointer on where to start.

I have:

- DynamicWeb custom paragraph module that shows a "non-ecommerce product" with a specific id, say "01207777".

- I'd like to register this on the visitorprofile as a value to use elsewhere and see in templates - like Global.OMC.Visitor.myProdNo = "01207777"

- I'd like to be able to re-find this value on an other custom paragraph module for use as : "last seen product"

Is OMC right for this?

 

//Steen

 

 

 


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Steen

I would use a cookie for this. OMC is overkill and 'just' calculates som profile points and stores them on the database and connects them to a visitor using the visitorid cookie.

So in this case, simply store the info on a cookie.

Nicolai

 
Steen Nørgaard Perdersen
Reply

Thanks for the reply.

I have indeed done just that, or actually - used the visitorID on the VisitorCookie to store the information in a costumDB. Works fine, and we could if needed analyse that data.

However, we intend to use OMC for other purposes on the site, and would like to avoid double accounting.

So to rephrase the  question: Can I add special data to a Visitors profile in OMC?

 

//Steen

 

You must be logged in to post in the forum