srinivaskiranp
7 years agoGuide
web tracking
how can we add or modify LITHIUM.CommunityJsonObject.WebTracking, means can i add new variables in LITHIUM.CommunityJsonObject.WebTracking.
how can we add or modify LITHIUM.CommunityJsonObject.WebTracking, means can i add new variables in LITHIUM.CommunityJsonObject.WebTracking.
Yes, you can add the additional params also. Like this
LITHIUM.CommunityJsonObject.WebTracking="Value"
Thanks for the information, but i am looking full implementation example for Web tracking using FreeMarker and Web tracking using
LITHIUM.CommunityJsonObject. So that i can understand how can we implement.
i need information other than below links
https://community.lithium.com/t5/Developer-Knowledge-Base/Web-tracking-using-FreeMarker/ta-p/190948
LITHIUM.CommunityJsonObject.WebTracking="Value"
now if the value is a object like below then is the double quotes required.
example var obj = {key1: value1};
You can also pass the key-value pair like this
LITHIUM.CommunityJsonObject.WebTracking={key1: "value1"}
is it not possible to pass LITHIUM.CommunityJsonObject.WebTracking= var
var obj[] = {key1: value1};
can you provide me a example for web tracking using Free-marker not by LITHIUM.CommunityJsonObject.WebTracking.
You can do it using the freemarker also. For tracking, you can add your custom code to the Page Hitbox Content text area in Studio > Community Style > Wrapper. The code in the hitbox area is placed into every page right before the close of the body tag, before all in-line core JavaScript. You already have the link to the documentation.
which i was aware, i need more detailed information or help in this web tracking ?